Skip to content

Commit 335b84f

Browse files
Misc DeFi updates for gas, cross-chain swap and missing contracts (#1176)
* Fix typo Add EAS testnet contract addresses * Added some missing testnet entrie Fix nits * Fix link errors * First pass * Fix index * Qualify as EVM * Typo * Added cross-chain swaps and extra FAQ questions * Tidyup * Tidy * Nit * Add multi-sig security options now available * Update docs/ecosystem/defi-liquidity/faq.md * Address feedback * Address feedback * Address feedback * Address feedback
1 parent 9d80621 commit 335b84f

File tree

5 files changed

+101
-9
lines changed

5 files changed

+101
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
id: cross-chain-swaps
3+
title: Cross-chain swaps on Flow EVM
4+
description: An overview of cross-chain options on Flow EVM
5+
keywords:
6+
- cross-chain token swap
7+
- cross-chain bridge
8+
- intent based bridge
9+
- liquidity based bridge
10+
- bridges
11+
- Flow blockchain
12+
- Flow EVM
13+
- EVM
14+
- Relay.link
15+
- DeBridge
16+
- Stargate
17+
- LayerZero
18+
- Celer
19+
sidebar_position: 2
20+
sidebar_label: Cross-chain swaps on Flow EVM
21+
---
22+
23+
import Details from '@theme/Details';
24+
25+
The following bridges offer cross-chain swaps (token bridging including swap) to or from Flow EVM.
26+
27+
## Liquidity Pool Based Cross-chain Swaps
28+
29+
### Stargate
30+
31+
[Stargate](https://stargate.finance) employs unified liquidity pools shared across multiple chains to enable native asset transfers and cross-chain swaps
32+
without wrapped tokens. It is built on LayerZero's cross-chain messaging protocol.
33+
34+
### Celer
35+
36+
[Celer](https://cbridge.celer.network) is a hybrid liquidity network bridge that combines multiple bridging models and is based on the Celer
37+
Inter-Chain Messaging Framework.
38+
39+
## Intent Based Cross-chain Swaps
40+
41+
Intent based bridges do not depend on pre-funded liquidity pools which can improve user experience, transaction speed and capital efficiency.
42+
43+
### Relay
44+
45+
[Relay.link](https://relay.link/bridge/base) allows users to specify desired cross-chain swap outcomes for orders.
46+
47+
### DeBridge
48+
49+
[DeBridge](https://app.debridge.finance/) achieves efficient cross-chain swaps with minimal slippage in a decentralized environment
50+
through a peer-to-peer transaction mechanism.
51+
52+

docs/ecosystem/defi-liquidity/defi-contracts.md

+17-5
Original file line numberDiff line numberDiff line change
@@ -81,24 +81,31 @@ Below is a list of commonly used DeFi contracts on Flow:
8181

8282
#### Flow Cadence Testnet
8383

84-
| Contract Name | Flow Cadence Mainnet Address |
85-
|-----------------------------------| ---------------------------- |
86-
| [BandOracle.cdc (Band)][19] | `0x2c71de7af78d1adf` |
84+
| Contract Name | Flow Cadence Testnet Address |
85+
|-------------------------------------------|------------------------------|
86+
| [PublicPriceOracle.cdc (IncrementFi)][31] | `0x8232ce4a3aff4e94` |
87+
| [BandOracle.cdc (Band)][32] | `0x2c71de7af78d1adf` |
8788

8889
#### Flow Cadence Mainnet
8990

9091
| Contract Name | Flow Cadence Mainnet Address |
9192
|-------------------------------------------| ---------------------------- |
9293
| [PublicPriceOracle.cdc (IncrementFi)][19] | `0xec67451f8a58216a` |
93-
| [BandOracle.cdc (Band) Protocol][19] | `0x6801a6222ebf784a` |
94+
| [BandOracle.cdc (Band) Protocol][33] | `0x6801a6222ebf784a` |
9495

9596
## Ethereum Attestation Service
9697

9798
More information can be found on the Credora docs site for [EAS on Flow](https://credora.gitbook.io/eas-for-flow).
9899

99-
Mainnet EAS Explorer: [https://flow.easscan.credora.io] (https://flow.easscan.credora.io)
100100
Testnet EAS Explorer: [https://flow-testnet.easscan.credora.io] (https://flow-testnet.easscan.credora.io)
101101

102+
| Contract Name | Flow EVM Testnet Address |
103+
|---------------------------------------------------------|----------------------------------------------|
104+
| [SchemaRegistry.sol (Ethereum Attestation Service)][29] | `0x97900F59828Da4187607Cb8F84f49e3944199d18` |
105+
| [EAS.sol (Ethereum Attestation Service)][30] | `0xBCF2dA8f82fb032A2474c92Ec5b70C95A83fc0cc` |
106+
107+
Mainnet EAS Explorer: [https://flow.easscan.credora.io] (https://flow.easscan.credora.io)
108+
102109
| Contract Name | Flow EVM Mainnet Address |
103110
| ------------------------------------------------------- | -------------------------------------------- |
104111
| [SchemaRegistry.sol (Ethereum Attestation Service)][20] | `0xB0cF748a05AEA8D59e15834446CFC95bcFF510F0` |
@@ -133,3 +140,8 @@ Testnet EAS Explorer: [https://flow-testnet.easscan.credora.io] (https://flow-te
133140
[26]: https://contractbrowser.com/A.b78ef7afa52ff906.SwapConfig
134141
[27]: https://contractbrowser.com/A.a6850776a94e6551.SwapRouter
135142
[28]: https://evm.flowscan.io/address/0xacC0a0cF13571d30B4b8637996F5D6D774d4fd62?tab=contract
143+
[29]: https://evm-testnet.flowscan.io/address/0x97900F59828Da4187607Cb8F84f49e3944199d18?tab=contract
144+
[30]: https://evm-testnet.flowscan.io/address/0xBCF2dA8f82fb032A2474c92Ec5b70C95A83fc0cc?tab=contract
145+
[31]: https://contractbrowser.com/A.8232ce4a3aff4e94.PublicPriceOracle
146+
[32]: https://contractbrowser.com/A.2c71de7af78d1adf.BandOracle
147+
[33]: https://contractbrowser.com/A.6801a6222ebf784a.BandOracle

docs/ecosystem/defi-liquidity/faq.md

+18-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ keywords:
1313
- DEX
1414
- yield farming
1515
- liquidity
16-
sidebar_position: 2
16+
sidebar_position: 3
1717
sidebar_label: Stablecoins & Bridges FAQ
1818
---
1919

@@ -23,6 +23,19 @@ import Details from '@theme/Details';
2323

2424
Below are common questions regarding stablecoins, liquidity, and bridging on Flow. Click on each question to expand and view the answer.
2525

26+
## Bridging and Gas
27+
28+
<Details summary="Does Flow use ETH for gas?">
29+
No, Flow uses $FLOW as the gas token. [WETH](./defi-contracts#stablecoins--wrapped-assets) is supported on Flow EVM when [bridging](../bridges.md) from another chain. $WFLOW is used as an ERC20 in DeFi apps and not used for gas.
30+
</Details>
31+
32+
<Details summary="How do I pay for gas when bridging into Flow?">
33+
When using Flow EVM for the first time, your EOA will automatically be credited 0.05 FLOW to cover gas costs when bridging into Flow.
34+
If further top-ups are required you can use [Gas.zip](https://www.gas.zip/). See [Fees](../../evm/fees) for information on gas pricing.
35+
36+
Flow Wallet users do not pay for gas since the wallet subsidizes all transaction fees.
37+
</Details>
38+
2639
## Stablecoins on Flow
2740

2841
<Details summary="What stablecoins are available on Flow?">
@@ -32,6 +45,7 @@ USDT (Tether USD) - Issued by Tether
3245

3346
USDF (USD Flow) - Backed by PYUSD (PayPal USD) issued by PayPal
3447

48+
3549
</Details>
3650

3751
<Details summary="What are the smart contract addresses for the stablecoins and bridges on Flow?">
@@ -49,7 +63,7 @@ Stablecoins can be traded on major Flow-based decentralized exchanges (DEXs) lik
4963
<Details summary="How can I earn yield on stablecoins on Flow?">
5064
You can earn yield through:
5165

52-
- Lending Platforms - Supply stablecoins on [IncrementFi][3] & [MoreMarkets][4] to earn interest.
66+
- Lending Platforms - Supply stablecoins on [IncrementFi][3], [Sturdy Finance][19] & [MoreMarkets][4] to earn interest.
5367
- Liquidity Pools - Provide liquidity on [IncrementFi][5] or [KittyPunch][6] to earn trading fees and farm LP tokens.
5468
- Yield Aggregators (Coming soon) - Use [KittyPunch][7] to automate stablecoin yield strategies.
5569
</Details>
@@ -210,3 +224,5 @@ If you have questions you can join [Flow Discord][15] to get free technical supp
210224
[15]: https://discord.gg/flow
211225
[16]: https://evm.flowscan.io
212226
[17]: https://discord.com/invite/9sFqx9U
227+
[19]: https://v2.sturdy.finance/overview
228+
[20]: https://www.flowverse.co/?categories=defi

docs/ecosystem/defi-liquidity/index.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,19 @@ Flow is designed for **next-generation DeFi**, enabling developers to build high
3333

3434
**Start integrating DeFi on Flow today.**
3535

36-
**[DeFi Contacts](./defi-contracts.md)**
36+
**[DeFi Contracts](./defi-contracts.md)**
37+
**[Cross-chain swaps](./cross-chain-swaps.md)**
3738
**[Read the FAQ](./faq.md)**
3839

40+
Explore the [FlowVerse DeFi ecosystem](https://www.flowverse.co/?categories=defi) page for more information.
41+
42+
43+
## Securing DeFi on Flow EVM
44+
45+
Flow EVM supports secure multi-sig from Safe.Global (formerly Gnosis Safe) or Fireblocks. Both offer robust solutions for
46+
developers seeking to enhance the security and management of tokenized assets with a focus on institutional-grade practices and scalability.
47+
48+
* [Safe.Global](https://safe.flow.com/)
49+
* [Fireblocks](https://www.fireblocks.com/)
50+
3951
---

docs/evm/cross-chain-bridges.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Cross-chain Bridges ↙
55
sidebar_position: 8
66
---
77

8-
# Cross-hain Bridges
8+
# Cross-chain Bridges
99

1010
Go to [Bridges](../ecosystem/bridges.md)
1111

0 commit comments

Comments
 (0)