Bridging Assets
Compose Bridge
As part of the Compose Network stack, bridging contracts are deployed and can be used to transfer ERC20 contracts between rollups, as long as they conform to the correct standards.
SuperchainERC20 Standard
To enable seamless asset bridging across OP Stack chains, your token contract must implement the SuperchainERC20 standard.
Required Implementation
Your contract must implement:
crosschainMint(address _account, uint256 _amount)- Mints tokens to an accountcrosschainBurn(address _account, uint256 _amount)- Burns tokens from an account- Allow the SuperchainTokenBridge (address
0x4200000000000000000000000000000000000028) to call these functions
Deployment Requirements
- Deploy your SuperchainERC20 contract at the same address on every OP Stack chain where you want your token available
- Use the Create2Deployer preinstall or OptimismSuperchainERC20Factory to guarantee same addresses across chains
- If you don't deploy to a specific chain, users cannot bridge tokens to that chain
Benefits
- Liquidity Guarantee: The SuperchainTokenBridge can mint/burn directly, ensuring liquidity availability
- Fungibility: Same address across chains removes the need for cross-chain validation
- No Additional Setup: No permissioning or role configuration required beyond the standard implementation
Events
Your implementation must emit:
CrosschainMint(address indexed _to, uint256 _amount, address indexed _sender)CrosschainBurn(address indexed _from, uint256 _amount, address indexed _sender)
This standard enables true cross-chain fungibility while maintaining security and liquidity guarantees across the OP Stack ecosystem.