By default, Metamask is connected to the Ethereum Mainnet. If you want to operate with other EVM-compatible tokens, you must switch the network.
ChainList (chainlist.org) is a web site that provides public information about EVM networks, such as Filecoin or Polygon. In the EVM space, every network (mainnet and testnet) receives a chain ID, which uniquely identifies the network.
In this tutorial, we will connect Metamask to the Filecoin network, specifically the Wallaby testnet.
Although you can introduce the network details manually, ChainList offers a
Connect Wallet button to easily add a network to Metamask.
Go to chainlist.org.
Enable the Testnets toggle and enter
Filecoininto the search bar.
Scroll down to find the Filecoin – Wallaby testnet:
In MetaMask click Next and then Continue when prompted to connect Chainlist.org to MetaMask:
Back on the Chainlist.org page, click the Filecoin – Wallaby testnet connect button again.
In MetaMask click Approve when prompted to Allow this site to add a network:
Click Switch network when prompted by MetaMask:
Open MetaMask, and you should see that you’re now on the Filecoin Wallaby testnet:
Nice! Now we’ve got the Filecoin Wallaby testnet set up within MetaMask. You’ll notice that our MetaMask window shows
0 TFIL. Test-filecoin (
FIL that has no value in the real world, and developers use it for testing.