How to Add Avalanche to Metamask
This section will include ways to add Avalanche Mainnet and Fuji Testnet as
your custom MetaMask RPC node provider.
Overview
- What is Avalanche?
- Mainnet vs. Testnet (Fuji)
- Update Avalanche Mainnet
- Update Avalanche Fuji Testnet
What is Avalanche?
Avalanche is a blockchain that uses its own unique Avalanche Consensus Protocol. The blockchain promises to combine scaling capabilities and quick confirmation times alongside its features.
Mainnet vs. Testnet
Avalanche has three chains, which include the Exchange, Platform, and Contract chains.
This process will describe how to use the Contract mainnet and testnet since it directly relates to executing EVM contracts and smart contracts.
Update Avalanche Mainnet
1. Open Metamask and click the network name located at the top-right of the window
2. Click the Add Network button at the bottom of the pop-up window
3. Enter the following network details and click Save
- Network Name: Avalanche Mainnet C-Chain
- New RPC URL: https://api.avax.network/ext/bc/C/rpc
- Chain ID: 43114
- Currency Symbol: AVAX
- Block Explorer URL: https://snowtrace.io/
4. After clicking Save, you will be directly switched to Avalanche Network within the dropdown list.
And that’s it! You now have added the Avalanche network.
Note
⛓️ To explore other free and public Avalanche RPC endpoints, visit Alchemy Chain Connect.
Update Avalanche Fuji Testnet
Avalanche Fuji Testnet replicates the Avalanche Mainnet, except its primary use is for testing.
Adding the testnet is the same process as adding the mainnet shown above, with a few differences.
1. First, make sure you’ve enabled the Show test networks toggle. This will list all the default test networks within your network list.
(You can find this in Settings>Advanced>Show test Networks)
2. Enter the following network details and click Save
- Network Name: Avalanche FUJI C-Chain
- New RPC URL: https://api.avax-test.network/ext/bc/C/rpc
- Chain ID: 43113
- Currency Symbol: AVAX
- Block Explorer URL: https://testnet.snowtrace.io/
Updated over 1 year ago