Metamask BEP20

Alesandra Blochi
6 min readMay 1, 2021

--

How To Use Metamask Wallet For Binance?

What Is Metamask?

Metamask is a browser plugin that primarily interacts with Ethereum’s main net, but in Metamask BEP20 could be used to interact with the Binance network that is known as the Binance Smart Chain network.

So users can take the advantages of Metamask wallet in using BEP20 tokens and various decentralized applications or dApps running on the Binance blockchain.

Read a complete guide at https://nominex.io/blog/education/metamask-bep20/

While it first seems using this wallet is somehow complicated, it offers many functions to users that make it a great browser-based wallet for Ethereum and Binance tokens.

As you might know, decentralized applications running on these blockchains should be paid tokens to deliver their services.

These tokens are in most cases ERC-20 tokens (on Ethereum Blockchain) or BEP20 tokens (on Binance Blockchain), and by using these wallets users of these apps can easily connect their wallets to the browser by which they use decentralized apps.

In the following article, we will introduce this wallet, how to send tokens from Metamask, and how Metamask connecting to the main Ethereum network.

Advantages Of Metamask

Metamask is a plugin wallet that is pretty popular among crypto and dApps users, which means it could be used to access a wide range of decentralized apps.

It provides a high degree of security by using seed phrase generating instead of using private keys. Unlike many other wallets that are used to interact with a blockchain, Metamask could be used without downloading the full blockchain on the local storage.

However, the main advantage of using Metamask is easy to access several decentralized apps that are using the Ethereum or Binance blockchains.

Since Metamask is an easy-to-use browser plugin, it could be used directly in these dApps and users can easily spend their tokens on them.

However, using Metamask BEP20 requires adding tokens to this wallet, which is shown in the following.

Does MetaMask Accept BEP20?

Metamask is developed primarily as a usable browser-based wallet to interact with various dApps and programs made on top of Ethereum blockchain and Mainnet.

However, as you might know, Ethereum tokens work as smart contacts that use its blockchain as their storage place.

Using this capability, several developers tried to deploy ERC-20 contracts containing specifications of other blockchain networks such as Binance Chain, and Binance Smart Chain, which could be used to interact with dApps accepting BEP2 tokens and BEP20 tokens respectively.

For example, in this guide, we are using an ERC-20 contract known as Remix to use Metamask BEP20 in a very easy way.

How To Add Custom Tokens To MetaMask Wallet?

To use Metamask as a functional wallet users have to install its plugin on their browser first. Its plugin currently is available in Chrome, Brave, Safari, and Firefox.

After installing, users should create an account for themselves by creating a wallet. After that, Metamask connecting to the main Ethereum network or other networks will be easy.

By creating a wallet on Metamask users automatically connect to the main Ethereum network, but to connect to another network like BEP20, they should first go into Metamask Settings in their wallet. This feature is placed in the My Accounts tab on the Metamask main page:

Then users can add a new network by entering the network’s specifications in the following window:

The numbers that should be used in this window differ in Testnet and the Mainnet of Binance. For the Testnet, users have to enter the following parameters:

– RPC URLs

– ChainID: Ox61, 97 in decimal (if it won’t work, use 0x61)

– Symbol: BNB

– Block Explorer: https://testnet.bscscan.com

These values for connecting to Binance Mainnet include:

– RPC URLs

– ChainID: 0x38, 56 in decimal (if it won’t work, use 0x38)

– Symbol: BNB

– Block Explorer: https://bscscan.com

How To Add Metamask BEP20?

Using Metamask to add BEP20 tokens requires deploying an ERC20 contract from a third-party service provider called Remix. To import a sample contract or create a new file, users should visit: https://gist.github.com/HaoyangLiu/3c4dc081b7b5250877e40b82667c8508

In the next step, users should simply connect their Binance Smart Account to Remix:

In the next step, they should select the “ABCToken” contract and compile it:

After this, they should deploy their contract:

In this step, users should adjust the Gas Fee for their contract, and then confirm their deploy contract:

In this step, users can check their block explorer to see a new create contract transaction:

The next step in adding Metamask BEP20 is adding a token to the wallet. For this, users should simply click on “Add Token” in Metamask:

Then they simply should choose “Custom Token” and copy the contract address in the box:

After that they only have to click on “Add Tokens”:

Now they can see a change in their wallet’s balance:

As you can see, these steps are not difficult, but rather it could be said that a relatively long process is required to use Metamask for BEP20 tokens.

What Is The Difference Between BEP2 And BEP20?

Tokens are cryptocurrencies that are placed on major blockchain networks such as Ethereum Chain, Binance Chain, and Binance Smart Chain. Technically, BEP2 and BEP20 are just like ERC-20 some kinds of token standards offered by various chains.

While ERC-20 is a well-known token standard offered by Ethereum, BEP2 is its counterpart in the Binance ecosystem and BEP20 is the same standard as Binance Smart Chain.

When users try to use various tokens on their Metamask wallet, they should exactly choose the proper settings to prevent various types of problems. While BEP2 tokens are used to interact with Binance Chain, BEP20 tokens belong to the Binance Smart Chain, which is another network of decentralized apps.

Closing Thoughts

Metamask is a great browser-based wallet that is primarily designed to be used to interact with Ethereum Mainnet. Because it could be used directly in decentralized apps provided by Ethereum developers, it is a popular solution among dApp users.

However, in recent years, several new blockchain service providers are introduced new networks that could be used to develop decentralized apps such as Binance Chain and Binance Smart Chain.

In this article, we showed how users can easily use their Metamask wallet to add BEP20 tokens to their wallets.

For this, they only need to deploy a smart contract on their Metamask wallet that accepts other tokens such as BEP2 and BEP20. This process is relatively easy, and by doing it users can easily interact with these blockchain networks.

--

--

Alesandra Blochi
Alesandra Blochi

Written by Alesandra Blochi

A content manager professional in cryptocurrencies that helps people use the platforms better.

No responses yet