Skip to main content

Use MetaMask For BNB Smart Chain

!!! Tip If you encounter any network configuration issues in MetaMask, please make sure you have the latest version running.

What is it?

MetaMask was created out of the needs of creating more secure and usable Ethereum-based web sites. In particular, it handles account management and connecting the user to the blockchain. It’s supported in Chrome, Brave, and Safari browsers.

Install

Example: Install MetaMask in Brave browser

img

!!! warning Note: Make sure it’s offered by metamask.io

  • Click on “Add to Brave”

That’s it! You have successfully installed MetaMask extension in Brave!

img

!!! Tip The workflow is the same for all browsers

Create an account in MetaMask for BNB Smart Chain

  1. Click on the “Create a wallet” button

img

  1. Create Password of at least 8 characters
img
  1. Click on “Create” and then write down your backup phrase.

img

  1. Select each phrase in order to make sure it is correct then click “Confirm”.

img

Congratulations! you have create your MetaMask account!

Connect Your MetaMask With BNB Smart Chain

  1. Go to setting page
img
  1. Add a new network
img
  1. Claim some testnet token to your account. Click on your address for copy

img

  1. Go to faucet page: https://testnet.binance.org/faucet-smart, then paste your address in the box and click on “Give me BNB”

!!! Tip Please note that you can only claim once every minute

img

After the transfer transaction is sent, you will see an increase of your balance

img

Transfer BNB to other BNB Smart Chain address

  1. Log in to your MetaMask
  1. Click on Send button
img
  1. Copy the receiver’s address in the box
img
  1. Input the amount
img
  1. Go to Advanced Options to modify default gas price when necessary
img
  1. Confirm your transaction, then click Next
img
  1. Click Confirm to send your transaction
img
  1. Wait for your transaction to be included in the new block
img
  1. Once your transaction is confirmed, check it on block explorer by clicking Details
img
  1. Click on your account to see "Details''
img
img
  1. Verify your transaction in Explorer:

img

Add BEP20 Tokens

  1. Deploy an ERC20 contract at https://remix.ethereum.org/

  2. You can create a new file or import a sample contract: https://gist.github.com/HaoyangLiu/3c4dc081b7b5250877e40b82667c8508

  1. Connect your BNB Smart Chain Account to Remix
img
  1. Select “ABCToken” contract and compile

img

  1. Deploy your compiled contract

img

  1. Adjust Gas Fee for your contract, then confirm your deploy contract
img
  1. You can see that there is a new create contract transaction in block explorer
img
  1. In MetaMask, Click on “Add Token”
img
  1. Choose “Custom Token” and copy the contract address in the box
img
  1. Click on “Add Tokens”
img

Then you can see change of your balance

imgimg

Create Multiple Accounts

  1. To create multiple accounts, you click on Profile icon on MetaMask and then click on Create Account
img
  1. You can then add an account name and click on Create.
img
  1. Then you can see a new account is created!
img

Upgrade

Since the release of v8.1.3, MetaMask sometimes displays the warning message "Invalid Custom Network".

img

To solve this issue, click on "'Settings" and enter Chain ID of BNB Smart Chain network again. If 56 doesn’t work, try 0x38.

img