Cross Chain Bridge
How to swap any ERC20 to another network
function bridgeTokens(address token, uint256 amount/*, string memory destinationChain, string memory destinationAddress*/) external { token - address of token to be bridged to another network
amount - amount of token to be bridged (requires enough liquidity on other end of bridge)
destinationChain - desired chain to bridge assets to (not implemented yet)
destinationAddress - address of LionBridge contract on a blockchain (hard coded to arbitrum and avalanche at the moment)
Last updated