How to add custom network (Binance Smart Chain, Polygon, Avalanche, xDAI…) To Metamask !?
How to Add Custom Networks To MetaMask
What are custom networks?
Custom Networks are non-Ethereum networks that are EVM compatible (Ethereum Virtual Machine). They are based on Ethereum but are not Ethereum. Think of them as siblings or relatives of Ethereum. They share many of the same features but differ in some key ways.
Their similarities are in that they execute smart contracts in a similar manner. The differences can lie in reaching a consensus (agreement between the different nodes) and how much data can be placed in their blockchain’s block.
Keep in your mind
Since they are Ethereum based networks, your addresses will be the same across all the networks. That means that a single secret recovery phrase (aka seed phrase) can access your assets across all your accounts and networks.
Reminder: Never share your seed phrase, aka secret recovery phrase.
Popular Custom Networks:
The most popular custom networks as of writing this (circa Jan 2022) are:
- Binance Smart Chain
- Polygon (MATIC)
- HECO (Huobi Eco Chain)
Please note that Polygon used to be called Matic. After the rebranded, their token is still called MATIC.
Others that are starting to see traction include:
Crypto is fun! Experiment with different networks and discover new things. Ethereum is the leading and most secure network that is fast becoming the settlement network for the world.
However, due to high gas fees, many are locked out. Rather than not get in on the fun, try out new chains, including many of the Layer-2 and sidechain solutions coming out now.
In general, how do I set up custom networks?
Perhaps your custom network is not described here. That’s ok. As the ecosystem grows, more chains will come out.
Usually, you can visit a protocol’s website. They will have information on how to configure MetaMask as a custom network.
Please beware of getting this information from the project’s official website. It is possible to be connected to an imposter network and be subject to phishing or losing your funds.
What is the difference between Mainnet and Testnets?
Mainnet is where tokens have real value. Testnets are places where developers test their smart contracts. Testnet token does not have value.
Testnet tokens are given out for free via faucets. However, they are distributed in small amounts to ensure people don’t hoard them.
Avoid being tricked into thinking that your testnet tokens will convert into mainnet tokens and paying a fee.
How to Add a Custom Network on MetaMask?
Easily find the section to add Custom Networks on MetaMask like shown here.
Once you are in this section, configure the fields to the information for the Ethereum compatible blockchain network of your choice.
Please note that neither Bitcoin, Dogecoin or Cardano are NOT Etheruem compatible, so they cannot be added to MetaMask and require their own wallet.
Also, please note that Binance Smart Chain (BSC) is different from Binance Chain. Binance Smart Chain is Ethereum compatible smart contract platform and can be added. You can tell the network is BSC instead of Binance Chain since BSC addresses start with 0x (followed by the address), while Binance Chain starts with bnb (followed by the address).
How do I set up Binance Smart Chain?
For more info see their article.
Network Name: Smart Chain — Testnet
New RPC URL: https://data-seed-prebsc-1-s1.binance.org:8545/
Block Explorer URL: https://testnet.bscscan.com
Block Explorer URL: https://testnet.bscscan.com
How do I set up Polygon (MATIC)?
For more info, see their official docs.
How do I set up xDAI?
In the “Custom RPC” Settings, add in the Gnosis network details and click Save:
- Network Name: Gnosis Chain
- New RPC URL: https://rpc.xdaichain.com/
- Chain ID: 0x64
- Symbol: xDai
- Block Explorer URL: https://blockscout.com/xdai/mainnet
No Testnet is available for xDai. For testing purposes, it is recommended that developers first deploy to the POA Sokol testnet.
POA Core is an autonomous network secured by a group of trusted validators. It is essentially a separate network with its own set of validators versus using Ethereum.
How do I set up Avalanche?
Avalanche FUJI Testnet
Avalanche Local Testnet (AVASH)
Network Name: Avalanche Local
New RPC URL: http://localhost:9650/ext/bc/C/rpc 23
Block Explorer URL: N/A
How do I set up HuobiChain?
HuobiChain Mainnet (International)
HuobiChain Mainnet (Mainland China)
HuobiChain Testnet (International)
HuobiChain Testnet (Mainland China)
MetaMask and Gas Fees:
The reason gas prices are high is not due to MetaMask controlling the fees. MetaMask is just the interface to the internet of value. It is similar to how your web browser is an interface to the internet of information.
No wallet can control the gas fees on a blockchain network because its demand determines those. There is a scarce amount of space on a blockchain’s block, bided up by those who want their transactions confirmed. Currently, miners pick the fees which pay the most to maximize profit and remain incentivized to run the network.
I would be honored if you would continue to support my writing by becoming a Medium member.
Click on the links to kickstart your crypto portfolio with referral links to get rewards $.
C98 Referral code: C9805ZKW7H
Thanks for Your Love & Support..!!