MetaMask Testnet Wallet Setup For Blockchain Development

Written by in blockchain on 7~11 minutes Post a comment
MetaMask Testnet Wallet Setup For Blockchain Development

MetaMask is one of the leading open-source browser-based cryptocurrency wallet extensions which let you easily store, transfer and handle numerous amount of other blockchain-based operations on Ethereum, Polygon Matic, Binance Smart Chain (BSC), Avalanche and many other networks. In addition to that, MetaMask let you securely interact with web applications. In this beginner-friendly guide, you will be able to learn how to install and set up the MetaMask wallet. Additionally, you will be able to learn how to add testnets to the wallet and transfer some free testnet tokens for blockchain development tasks.

MetaMask Wallet Installation

MetaMask wallet browser extension supports Chrome, Chromium and Firefox browsers. First, go to Google and search for “metamask” or “metamask download.

google search metamask wallet

Click the “Download” link.

google search metamask download

At this step, if you use Google Chrome or Chromium-based browser, you will see the “Install MetaMask For Chrome” blue button. Instead, if you use Firefox, you will see it as “Install MetaMask For Firefox”. Click it to open the related extension installation page.

metamask download

Click the “Add to Chrome” button.

metamask add to chrome

Click “Add extension” and confirm the extension installation. It will take a few seconds to download and install the extension.

metamask add extension

MetaMask Wallet Setup

Once the installation is succeeded, it will greet you with a welcome screen. Click the “Get Started” button.

metamask get started

At this step, you have two options. If you have already been using MetaMask and had a wallet secret recovery phrase, you can click “Import wallet” and restore it. Or otherwise, you can create a new wallet by clicking the “Create a Wallet” button. However, in this post, we are going to focus on the second option or creating a new wallet.

metamask create a wallet

You can contribute to the future development of MetaMask by letting them collect some anonymous information about your usage. As they mention, they only collect anonymous information and they never collect any information about your secret recovery phrase, addresses, transactions, IP addresses. You can either provide information or otherwise, you can simply reject that. If you need, you can change it later as well.

metamask help us improve metamask

Enter a strong password, you will need this password whenever you unlock the wallet.

metamask create password

Watch this short video and click the “Next” button.

metamask secure your wallet

This is the most important step. At this step, it is highly recommended to backup your secret recovery phrase somewhere secure. In case you need to restore the wallet on another device, you need to have this secret recovery phrase. If you forget it, you will never be able to access the wallet. So click the dark box, it will reveal your secret recovery phrase.

metamask recovery phrase

If you would like to confirm and verify the backed-up secret recovery phrase, you can click the “Next” button. In the next step, you will have to confirm it. If you decided to backup the secret recovery phrase later, you can skip it for now by clicking the “Remind me later” button.

metamask recovery phrase revealed

If you clicked the “Next” button in the previous step, now you will have to confirm it. Click on the words in the correct order. The “Confirm” button will be disabled until you set the correct secret recovery phrase.

metamask confirm your secret recovery phrase

Once you select all the words, it will automatically enable the “Confirm” button. Click it.

metamask confirm your secret recovery phrase filled

Congratulations! You have successfully setup your MetaMask wallet. Click the “All Done” button to proceed to your wallet page.

metamask congratulations page

This is your newly created wallet’s home page. You can use it to send, receive coins and interact with the blockchain.

metamask wallet account

Mainnet Vs Testnet Blockchain Networks

Mainnet and testnet are independently operated networks. Usually, mainnets are considered more mature and stable versions available for public use. We can buy, sell and trade coins in the mainnet with other people and cryptocurrency exchanges. Testnet networks are intended to be used only for testing and development purposes. Coins/tokens in testnet have no value. That means you cannot buy, sell or trade testnet coins for fiat currencies or mainnet coins in a cryptocurrency exchange. Also, you cannot transfer coins between testnet and mainnet. Usually, you can claim these testnet coins from testnet faucets (which will be covered later) or you can simply ask someone who has testnet coins.

Add Testnets To MetaMask

MetaMask comes with a few built-in testnets, but these testnets are hidden and we need to manually enable them. In addition to that, we can add custom networks to MetaMask as well.

Enable Built-in Testnets In MetaMask

Open the MetaMask by clicking the MetaMask icon in the browser toolbar. If you need, you can also click the vertical three dots (Vertical Ellipsis⋮) and then click “Expand View” to display MetaMask as a webpage instead of a popup. Then click the circle at the right top corner. After that, click “Settings”.

metamask wallet menu settings

You will see a page similar to below, click the “Advanced”.

metamask wallet settings

Scroll down until you see the “Show test networks”. Turn it on to enable testnets. Now you will be able to see the enabled testnets by clicking the “Ethereum Mainnet” oval button at the right top.

metamask wallet settings show test networks

Add Custom Testnet Networks To MetaMask

Go to the MetaMask Settings page and select “Networks”. Click the “Add a network” button.

metamask wallet settings networks

For this example, we are going to add the Polygon Matic testnet network. Usually, you will need the name of the network, RPC URL, chain ID. Also optional symbol and block explorer URL. Click “Save” to add the network.

metamask wallet settings add a network

Now you will be able to see the newly added Polygon Matic Testnet.

metamask wallet polygon matic network

Add Binance, Huobi, Avalanche, Arbitrum and Harmony Testnet Networks

The following list contains Binance Smart Chain, Huobi ECO Chain, Avalanche, Arbitrum and Harmony testnets. Add the necessary testnets to MetaMask as described earlier.


Network NameRPC URLChain IDSymbolBlock Explorer
Ethereum Ropsten Testnethttps://ropsten.infura.io/v3/9aa3d95b3bc440fa88ea12eaa44561613ETHhttps://ropsten.etherscan.io
Ethereum Rinkeby Testnethttps://rinkey.infura.io/v3/9aa3d95b3bc440fa88ea12eaa44561614ETHhttps://rinkeby.etherscan.io
Ethereum Goerli Testnethttps://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa44561615ETHhttps://goerli.etherscan.io
Ethereum Kovan Testnethttps://kovan.infura.io/v3/9aa3d95b3bc440fa88ea12eaa44561616ETHhttps://kovan.etherscan.io
Binance Smart Chain Testnethttps://data-seed-prebsc-1-s1.binance.org:854597BNBhttps://testnet.bscscan.com
Huobi ECO Chain Testnethttps://http-testnet.hecochain.com256HThttps://testnet.hecoinfo.com
Avalanche Fuji Testnethttps://api.avax-test.network/ext/bc/C/rpc43113AVAXhttps://testnet.snowtrace.io
Polygon Testnet Mumbaihttps://matic-mumbai.chainstacklabs.com80001MATIChttps://mumbai.polygonscan.com
Arbitrum Testnet Rinkebyhttps://rinkeby.arbitrum.io/rpc421611ARETHhttps://rinkeby-explorer.arbitrum.io
Harmony Testnet Shard 0https://api.s0.b.hmny.io1666700000ONEhttps://explorer.pops.one
Harmony Testnet Shard 1https://api.s1.b.hmny.io1666700001ONEhttps://www.harmony.one
Harmony Testnet Shard 2https://api.s2.b.hmny.io1666700002ONEhttps://www.harmony.one
Harmony Testnet Shard 3https://api.s3.b.hmny.io1666700003ONEhttps://www.harmony.one

Claim Free Testnet Tokens From Faucets

As explained earlier, testnet tokens can be obtained for free from faucets or someone who has them. Use the following list to claim some free testnet tokens.

Ethereum Testnet Faucets

  • faucet.metamask.io
  • faucet.ropsten.be (Ropsten)
  • faucet.rinkeby.io (Rinkeby)
  • ethdrop.dev (Kovan)
  • goerli-faucet.slock.it (Goerli)
  • faucet.goerli.mudit.blog (Goerli)
  • usdcfaucet.com (Goerli)

Polygon Matic Testnet Faucets

  • faucet.polygon.technology

Avalanche Fuji Testnet Faucets

  • faucet.avax-test.network

Binance Smart Chain Testnet Faucets

  • testnet.binance.org/faucet-smart

Arbitrum Testnet Faucets

  • faucets.chain.link/arbitrum-rinkeby

Huobi ECO Chain Testnet Faucets

  • scan-testnet.hecochain.com/faucet

Conclusion

In this beginner-friendly yet comprehensive guide, we learned how to install and setup the MetaMask wallet extension in your web browser. Then we learned about the differences and similarities between “mainnet”, “testnet” and their use cases. After that, we added Ethereum, Binance Smart Chain, Huobi ECO Chain, Avalanche and Polygon testnets. Finally, we learned how to claim free testnet tokens for development purposes. Did we miss something interesting about this topic that you know or have anything to share with us? Let’s discuss them all in the comment section.

Share: