Set up MetaMask
- Connect MetaMask to other EVM chains
- Get testnet tokens for other EVM chains to pay for gas
- Import Axelar ERC20 tokens on other EVM chains
- Enable hex data in transactions
Connect MetaMask to other EVM chains
In order to complete exercises for an EVM chain [chain]
you need to connect your MetaMask to [chain]
.
Open MetaMask. In the “Networks” dropdown list choose “Add Network”. Enter the data for your desired [chain]
below and click “Save”. Repeat for any chains you like.
Mainnet
EVM chain | Chain Name | Chain ID | Native Token | RPC URL | Explorer URL | Add Chain |
---|---|---|---|---|---|---|
Ethereum | Ethereum | 1 | ETH | URL | URL | |
Avalanche | Avalanche | 43114 | AVAX | URL | URL | |
Fantom | Fantom | 250 | FTM | URL | URL | |
Polygon | Polygon | 137 | MATIC | URL | URL | |
Moonbeam | Moonbeam | 1284 | GLMR | URL | URL |
Testnet
EVM chain | Chain Name | Chain ID | Native Token | RPC URL | Explorer URL | Add Chain |
---|---|---|---|---|---|---|
Ethereum | Ethereum Goerli | 5 | ETH | URL | URL | |
Avalanche | Avalanche Fuji | 43113 | AVAX | URL | URL | |
Fantom | Fantom Testnet | 4002 | FTM | URL | URL | |
Polygon | Polygon Mumbai | 80001 | MATIC | URL | URL | |
Moonbeam | Moonbase Alpha | 1287 | DEV | URL | URL |
Get testnet tokens for EVM chains
You need native tokens for each [chain]
in order to pay transaction fees (gas) on [chain]
.
You can get native tokens from a faucet. Search the internet for “[chain]
testnet faucet” or use the links below.
- Ethereum
- Avalanche
- Fantom
- Moonbeam — No known web faucet; need to join the Moonbeam discord.
- Polygon
Import Axelar ERC20 tokens
Tokens transferred to an EVM chain using Axelar are not visible in MetaMask until you import them.
- Use the “Networks” dropdown list, select your desired
[chain]
. - View “Assets” and select “Import Tokens”.
- Paste into “Token Contract Address” the ERC20 address for the token. (“Token symbol” and “token decimal” should be fetched automatically.)
Axelar token contract addresses for each [chain]
can be found at Testnet Resources.
Enable hex data in transactions
Some advanced exercises require you to send a transaction with hex data from MetaMask. The “hex data” field is invisible by default. Edit your settings to make it visible.
Accounts dropdown list -> Settings -> Advanced -> Show Hex Data, switch on.