logoAcademy

Deploy Wrapped Native Token Contracts

Deploy the wrapped native token contract to the Avalanche L1 blockchain.

Deploy Wrapped Native Token ExampleWNATV

forge create --rpc-url myblockchain --private-key $PK contracts/interchain-token-transfer/ExampleWNATV.sol:WNATV
[⠊] Compiling...
[⠰] Compiling 7 files with Solc 0.8.18
[⠔] Solc 0.8.18 finished in 371.02ms
Compiler run successful!
Deployer: 0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC
Deployed to: 0x52C84043CD9c865236f11d9Fc9F56aa003c1f922
Transaction hash: 0x481398f0648cd2298a6e14fcbc474f71feaff9c85eb367100b31bb7a2213232b

Save the Wrapped Native Token Address

export WRAPPED_ERC20_L1=0x52C84043CD9c865236f11d9Fc9F56aa003c1f922

On this page