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?

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 chain.
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

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.

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