Comment on page
Moving Assets and Data
Moving assets between Mantle and Ethereum
The process of moving assets or data between two blockchains is generally referred to as 'bridging'. Since Mantle network is a separate Layer 2 (L2) blockchain system, apps and wallets moving assets or any another arbitrary form of data between Ethereum and Mantle can use our official bridge to achieve that.
The Mantle Bridge enables all functionality necessary for the most common use case, i.e., moving tokens between Mantle network and Ethereum. It also allows you to easily create L2 representations of existing tokens on Ethereum.
If you need to send arbitrary data between Ethereum & Mantle network, you can do so by having a contract on Ethereum trigger a contract function on Mantle and vice versa. The Mantle Bridge has a simple API for triggering a cross-chain function call.
The standard Mantle bridge is essentially a set of smart contracts. The two main contracts that implement the ERC-20 asset bridging mechanism are
L2StandardBridgeon Mantle network, and
L1StandardBridgeon Ethereum. Deposit or withdrawal transactions sent to the bridge by a wallet on L2 or L1 trigger specific methods in the standard bridge contracts.
For instance, when a wallet sends a deposit request for 10 $MNT on L1, these tokens get locked on L1 in the bridge contract, and the matching amount of 10 $MNT is minted on L2 and transferred to the wallet.
In case a wallet makes a withdrawal of 10 $MNT on L2, these tokens are burned and the matching amount of 10 $MNT tokens locked on L1 get released and transferred to the wallet.
You can connect your wallet to the Mantle Bridge UI to make simple deposits and withdrawals directly. However, if you're looking to use the bridge API instead, refer to the Mantle Bridge API page for more information and tutorials on how to call the appropriate SDK methods to bridge the various kinds of tokens that are currently supported.