Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc DeFi updates for gas, cross-chain swap and missing contracts #1176

Merged
merged 17 commits into from
Mar 14, 2025
Merged
52 changes: 52 additions & 0 deletions docs/ecosystem/defi-liquidity/cross-chain-swaps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
id: cross-chain-swaps
title: Cross-chain swaps on Flow EVM
description: An overview of cross-chain options on Flow EVM
keywords:
- cross-chain token swap
- cross-chain bridge
- intent based bridge
- liquidity based bridge
- bridges
- Flow blockchain
- Flow EVM
- EVM
- Relay.link
- DeBridge
- Stargate
- LayerZero
- Celer
sidebar_position: 2
sidebar_label: Cross-chain swaps on Flow EVM
---

import Details from '@theme/Details';

The following bridges offer cross-chain swaps (token bridging including swap) to or from Flow EVM.

## Liquidity Pool Based Cross-chain Swaps

### Stargate

[Stargate](https://stargate.finance) employs unified liquidity pools shared across multiple chains to enable native asset transfers and cross-chain swaps
without wrapped tokens. It is built on LayerZero's cross-chain messaging protocol.

### Celer

[Celer](https://cbridge.celer.network) is a hybrid liquidity network bridge that combines multiple bridging models and is based on the Celer
Inter-Chain Messaging Framework.

## Intent Based Cross-chain Swaps

Intent based bridges do not depend on pre-funded liquidity pools which can improve user experience, transaction speed and capital efficiency.

### Relay

[Relay.link](https://relay.link/bridge/base) allows users to specify desired cross-chain swap outcomes for orders.

### DeBridge

[DeBridge](https://app.debridge.finance/) achieves efficient cross-chain swaps with minimal slippage in a decentralized environment
through a peer-to-peer transaction mechanism.


22 changes: 17 additions & 5 deletions docs/ecosystem/defi-liquidity/defi-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,31 @@ Below is a list of commonly used DeFi contracts on Flow:

#### Flow Cadence Testnet

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

#### Flow Cadence Mainnet

| Contract Name | Flow Cadence Mainnet Address |
|-------------------------------------------| ---------------------------- |
| [PublicPriceOracle.cdc (IncrementFi)][19] | `0xec67451f8a58216a` |
| [BandOracle.cdc (Band) Protocol][19] | `0x6801a6222ebf784a` |
| [BandOracle.cdc (Band) Protocol][33] | `0x6801a6222ebf784a` |

## Ethereum Attestation Service

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

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

| Contract Name | Flow EVM Testnet Address |
|---------------------------------------------------------|----------------------------------------------|
| [SchemaRegistry.sol (Ethereum Attestation Service)][29] | `0x97900F59828Da4187607Cb8F84f49e3944199d18` |
| [EAS.sol (Ethereum Attestation Service)][30] | `0xBCF2dA8f82fb032A2474c92Ec5b70C95A83fc0cc` |

Mainnet EAS Explorer: [https://flow.easscan.credora.io] (https://flow.easscan.credora.io)

| Contract Name | Flow EVM Mainnet Address |
| ------------------------------------------------------- | -------------------------------------------- |
| [SchemaRegistry.sol (Ethereum Attestation Service)][20] | `0xB0cF748a05AEA8D59e15834446CFC95bcFF510F0` |
Expand Down Expand Up @@ -133,3 +140,8 @@ Testnet EAS Explorer: [https://flow-testnet.easscan.credora.io] (https://flow-te
[26]: https://contractbrowser.com/A.b78ef7afa52ff906.SwapConfig
[27]: https://contractbrowser.com/A.a6850776a94e6551.SwapRouter
[28]: https://evm.flowscan.io/address/0xacC0a0cF13571d30B4b8637996F5D6D774d4fd62?tab=contract
[29]: https://evm-testnet.flowscan.io/address/0x97900F59828Da4187607Cb8F84f49e3944199d18?tab=contract
[30]: https://evm-testnet.flowscan.io/address/0xBCF2dA8f82fb032A2474c92Ec5b70C95A83fc0cc?tab=contract
[31]: https://contractbrowser.com/A.8232ce4a3aff4e94.PublicPriceOracle
[32]: https://contractbrowser.com/A.2c71de7af78d1adf.BandOracle
[33]: https://contractbrowser.com/A.6801a6222ebf784a.BandOracle
20 changes: 18 additions & 2 deletions docs/ecosystem/defi-liquidity/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keywords:
- DEX
- yield farming
- liquidity
sidebar_position: 2
sidebar_position: 3
sidebar_label: Stablecoins & Bridges FAQ
---

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

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

## Bridging and Gas

<Details summary="Does Flow use ETH for gas?">
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.
</Details>

<Details summary="How do I pay for gas when bridging into Flow?">
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.
If further top-ups are required you can use [Gas.zip](https://www.gas.zip/). See [Fees](../../evm/fees) for information on gas pricing.

Flow Wallet users do not pay for gas since the wallet subsidizes all transaction fees.
</Details>

## Stablecoins on Flow

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

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


</Details>

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

- Lending Platforms - Supply stablecoins on [IncrementFi][3] & [MoreMarkets][4] to earn interest.
- Lending Platforms - Supply stablecoins on [IncrementFi][3], [Sturdy Finance][19] & [MoreMarkets][4] to earn interest.
- Liquidity Pools - Provide liquidity on [IncrementFi][5] or [KittyPunch][6] to earn trading fees and farm LP tokens.
- Yield Aggregators (Coming soon) - Use [KittyPunch][7] to automate stablecoin yield strategies.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add a link to flowverse with a DeFi filter for them to explore more: https://www.flowverse.co/?categories=defi

</Details>
Expand Down Expand Up @@ -210,3 +224,5 @@ If you have questions you can join [Flow Discord][15] to get free technical supp
[15]: https://discord.gg/flow
[16]: https://evm.flowscan.io
[17]: https://discord.com/invite/9sFqx9U
[19]: https://v2.sturdy.finance/overview
[20]: https://www.flowverse.co/?categories=defi
14 changes: 13 additions & 1 deletion docs/ecosystem/defi-liquidity/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,19 @@ Flow is designed for **next-generation DeFi**, enabling developers to build high

**Start integrating DeFi on Flow today.**

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

Explore the [FlowVerse DeFi ecosystem](https://www.flowverse.co/?categories=defi) page for more information.


## Securing DeFi on Flow EVM

Flow EVM supports secure multi-sig from Safe.Global (formerly Gnosis Safe) or Fireblocks. Both offer robust solutions for
developers seeking to enhance the security and management of tokenized assets with a focus on institutional-grade practices and scalability.

* [Safe.Global](https://safe.flow.com/)
* [Fireblocks](https://www.fireblocks.com/)

---
2 changes: 1 addition & 1 deletion docs/evm/cross-chain-bridges.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Cross-chain Bridges ↙
sidebar_position: 8
---

# Cross-hain Bridges
# Cross-chain Bridges

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

Expand Down