How To Move Tokens From Ethereum To Avalanche
All you will need is:
— Enough $ETH
Because $ETH is not an ERC-20, we have to wrap it first into $WETH. So go to “Wrap token” tab and follow these instructions in the image. After confirming with Metamask, you’ll be confirmed that you successfully wrapped your $ETH.
Let’s move the $WETH into Avalanche. Refresh page, and go back to “Transfer” tab, and follow instructions on the image below. Afterwards, confirm Metamask and you will see some confirmation pages as shown below.
Congrats, we’ve moved stuff from Ethereum to Avalanche. Here’s my transaction from the operations above https://cchain.explorer.avax.network/tx/0x3cf9562ce2b88a49e9a7258ab8826bc6abf639942e8f54e7e3099fc4da39b84e/token-transfers….
Up to now, we kept staying in Metamask, which is magical. Now, in the next step, let’s move this $WETH around on Avalanche.
I have 4 $AVAX there, but they are already on the c-chain. If you only have $AVAX on the x-chain or p-chain, move to c-chain first by clicking “Cross Chain”. Now, I go to “Send” and I follow the instructions in the image below.
We’ve now sent ourselves some $AVAX to play with on Metamask. However, while Metamask works seamlessly between Avalanche and Ethereum (same address space), we need to now switch Metamask to point to Avalanche mainnet by following the following steps.
Then, go to this link below and paste the values from there in the Metamask box as shown in the image below.
We’ve loaded ourselves with $AVAX, now it’s time to get the $WETH (which is just $ETH) and move it around. However, because of the way Metamask works, we have to import the $ETH into the Metamask Avalanche side. So go back to Metamask, click “Assets” tab > “Add Token”.
Now, click on “Custom Tokens” tab, and paste the address “0xf20d962a6c8f70c731bd838a3a388D7d48fA6e15”, which is the Ethereum address and can be found here https://github.com/ava-labs/bridge-tokens/blob/main/avalanche.config…. NOTICE: you only have to do this for $ETH. For other tokens, you can just search; e.g. $UNI.
Finally, click on “Add Tokens”. Done, we’ve gone end to end and moved a full 1 $ETH from Ethereum to Avalanche. Enjoy your new found freedom of instant finality and cheap fees.
Avalanche is an open-source platform for launching decentralized finance applications and enterprise blockchain deployments in one interoperable, highly scalable ecosystem. Developers who build on Avalanche can easily create powerful, reliable, and secure applications and custom blockchain networks with complex rulesets or build on existing private or public subnets.