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

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 https://docs.tokenbridge.net/amb-bridge/about-amb-bridge.
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: 0x93B477BA32092F5Db932003639DD5d875B2EfC94
Foreign side of the bridge on the BSC network: 0xc461e59276a2B03B9ebb1289C2c9Cd020677c3A9
Home side of the AMB bridge on the Fuse network: 0x1ee6E3E3d2DE779858728E157B3B9C488bA7b706
Foreign side of the AMB bridge on the BSC network: 0x3A5A320a2f98a3Fe39c9040e7e3E9caA7F0D5bd6

Source Code

GitHub - fuseio/tokenbridge-contracts: Smart contracts for TokenBridge
GitHub

How to use

Currently only WETH is supported for that bridge, more tokens are coming soon.
To send token from the BSC network:
  1. 1.
    Approve the ERC20 tokens to be spent by the Foreign ERC20 bridge.
  2. 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. 1.
    Approve the ERC20 tokens to be spent by the Home ERC20 bridge.
  2. 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.
Copy link
On this page
Architecture Overview
Contracts
Source Code
How to use