Deploy Native Token Home
Deploy the NativeTokenHome contract on the Avalanche L1 blockchain.
You may already have
TELEPORTER_REGISTRY_L1
and SOURCE_BLOCKCHAIN_ID_HEX
set from previous sections. If you do, you can skip to step 5.Save the Teleporter Registry Address
Most other environment variables we will need are already set in the devcontainer or from the previous section.
Deploy NativeTokenHome
on myblockchain
Using the forge create
command, we will deploy the NativeTokenHome.sol contract, passing in the following constructor arguments:
- Interchain Messaging Registry (for our Avalanche L1)
- Interchain Messaging Manager (our funded address)
- Wrapped Token Address (deployed in the last step)