Suncex Docs
  • Summary
  • DOCUMENTATION
    • Learn about the Fuse Platform
      • Fuse Overview: vision, strategy and platform components
      • The Fuse Network Blockchain
        • Discovering the Network
        • Fuse Network Consensus
        • Delegation through Staking with Validators
        • Ethereum (EVM) Compatibility and Smart Contracts
        • Boosting Fuse's Scalability
      • Fuse Token (FUSE)
        • FUSE Tokenomics
        • Exchanges, Wallets, On-Ramps and DeFi Tools Supporting FUSE
        • FUSE on Other Chains
      • Interoperability
      • Fuse Governance and Development
        • Fuse Assembly
        • Fuse Improvement Proposals (FIPs)
      • Wallets supporting Fuse Network
    • Fuse for Business
    • Things you can do on Fuse
      • Interacting with the Fuse Network Blockchain
      • Fuse Ecosystem
      • Community
      • Grants and Bounties
    • Fuse Mobile Infrastructure Use Cases
  • Developers
    • Network Details
      • Fuse Network Mainnet
      • Fuse Network Testnet Spark
      • Token Faucets
      • Network Upgrades
        • Upgrade Guide
        • Upgrade Guide (explorer nodes)
        • Block 13,800,000 Fork
        • FIP's
    • Fuse Consensus
      • Contracts Overview
      • Stake, Delegate and Withdraw
      • Vote
      • End-of-Cycle Flow
      • Contract Addresses
    • How to run network nodes
    • Resources & Tools
      • TheGraph
      • WalletConnect on Fuse
    • Important smart contracts
      • Fuse Token
      • Fuse Dollar
      • Major Deployed Contracts
      • Bridges
        • Ethereum ↔ Fuse GoodDollar Token
        • Ethereum ↔ Fuse ERC20 Tokens
        • BSC ↔ Fuse BNB
        • BSC ↔ Fuse Native
        • BSC ↔ Fuse ERC20
        • Ethereum ↔ Fuse Native
    • How to become a validator
      • Getting started as a validator
      • Getting started as on the Spark testnet
  • Links
    • Discord
    • Facebook
    • GitHub
    • LinkedIn
    • Medium
    • Telegram
    • Twitter
    • YouTube
    • Join our mailing list
Powered by GitBook
On this page
  • Architecture Overview
  • Contracts
  • Source Code
  • How to use
  1. Developers
  2. Important smart contracts
  3. Bridges

BSC ↔ Fuse ERC20

Fuse <-> BSC ERC20 bridge is used to relay the ERC20 tokens between Fuse and Binance Smart Chain networks.

PreviousBSC ↔ Fuse NativeNextEthereum ↔ Fuse Native

Last updated 2 years ago

Architecture Overview

This bridge is two layer bridge. In the base level the Arbitrary Message Bridge (AMB) is responsible for relaying messages between the networks. On top of the AMB, the pluggable mediators implement a contract logic of token relaying of various assets. More info .

The BSC bridge is a restricted bridge, meaning that only the Fuse team can add new tokens to the bridge. This is done because the new tokens needs to get associated manually with the tokens on the Fuse network.

Contracts

Home side of the bridge on the Fuse network:

Foreign side of the bridge on the BSC network:

Home side of the AMB bridge on the Fuse network:

Foreign side of the AMB bridge on the BSC network:

Source Code

How to use

Currently only WETH is supported for that bridge, more tokens are coming soon.

To send token from the BSC network:

  1. Approve the ERC20 tokens to be spent by the Foreign ERC20 bridge.

  2. Call relayTokens function on the bridge contract

The relayTokens method will lock the ERC20 tokens on the foreign bridge. Then an equal amount of the Fuse ERC20 token will be sent from the home bridge contract.

To send tokens from Fuse network

  1. Approve the ERC20 tokens to be spent by the Home ERC20 bridge.

  2. Call relayTokens function on the bridge contract

the relayTokens method will lock the bridged tokens on the home bridge. Then, an equal amount of the paired ERC20 token will be sent from the foreign bridge contract.

https://docs.tokenbridge.net/amb-bridge/about-amb-bridge
0x93B477BA32092F5Db932003639DD5d875B2EfC94
0xc461e59276a2B03B9ebb1289C2c9Cd020677c3A9
0x1ee6E3E3d2DE779858728E157B3B9C488bA7b706
0x3A5A320a2f98a3Fe39c9040e7e3E9caA7F0D5bd6
GitHub - fuseio/tokenbridge-contracts: Smart contracts for TokenBridgeGitHub
Logo