Register and Collateralize
Register the remote bridge and add collateral to enable bridging.
Before you can bridge USDC to your L1, you need to:
- Register the NativeTokenRemote with the ERC20TokenHome
- Add collateral to back any pre-existing native token supply
Step 1: Register Remote with Home
Registration creates a secure, bidirectional connection between the contracts. The home contract must know about the remote before accepting bridge requests.
Switch to Your L1
Ensure your wallet is connected to your L1 (where NativeTokenRemote is deployed).
Register the Remote
Make sure you have:
- Successfully deployed NativeTokenRemote
- Native tokens on your L1 for gas fees
Checking requirements...
Step 2: Add Collateral
Collateral is required to back any native tokens that might already exist on your L1. The bridge needs to be fully collateralized before minting is enabled.
Why Collateral?
When NativeTokenRemote mints native tokens, it's creating real gas tokens. The protocol requires:
- Collateral Amount = Initial Reserve Imbalance you set during deployment
- Full Collateralization = Collateral deposited on the source chain (Fuji)
- Minting Enabled = Only after full collateralization
If you set initialReserveImbalance to 0 during deployment, you may not need to add collateral. The tool will show the required amount.
Switch to Fuji C-Chain
Switch your wallet to Fuji C-Chain (where ERC20TokenHome is deployed).
Add Collateral
The tool will show how much USDC collateral is required. You need to deposit this amount to fully collateralize the bridge.
Make sure you have:
- Connected to Fuji C-Chain
- Enough USDC to cover the collateral requirement
- Test AVAX for gas fees
Checking requirements...
Bridge State After Collateralization
After completing both steps:
- NativeTokenRemote is registered with ERC20TokenHome
- Bridge is fully collateralized
- USDC can now be bridged to your L1 as native tokens
- Native tokens can be bridged back to Fuji as USDC
Next Steps
Your bridge is fully configured! Let's test it by bridging some USDC.
Is this guide helpful?