Use Metamask For Binance Smart Chain

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 * Open Extension Category in Brave: https://chrome.google.com/webstore/category/extensionsSearch for MetaMask img{ width=50%}

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 Binance Smart Chain

  1. Click on the “Create a wallet” button img
  2. Create Password of at least 8 characters
    img
  3. Click on “Create” and then write down your backup phrase. img
  4. Select each phrase in order to make sure it is correct then click “Confirm”. img

Congratulations! you have create your MetaMask account!

Connect Your MetakMast With Binance Smart Chain testnet

  1. Go to setting page
    img
  2. Add a new network
    img
    • Network name: Binance Smart Chain Testnet
    • RPC URL: https://data-seed-prebsc-1-s1.binance.org:8545
    • ChainID: 96
    • Symbol: BNB
    • Block Explorer: https://explorer.binance.org/smart-testnet
  3. Claim some testnet token to your account Click on your address for copy img
  4. 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 balanceimg

Transfer BNB to other Binance Smart Chain address

  1. Log in to your MetaMask
    img
  2. Click on Send button
    img
  3. Copy the receiver’s address in the box
    img
  4. Input the amount
    img
  5. Go to Advanced Options to modify default gas price when necessary
    img
  6. Confirm your transaction then click Next
    img
  7. Click Confirm to send your transaction
    img
  8. Wait for your transaction to be included in the new block
    img
  9. Once your transaction is confirmed, check it on block explorer by clicking Details
    img
  10. Click on your account to see “Details”
    img img

Verify your transaction in Explorer: img

Add BEP2E Tokens

  1. Deploy an ERC20 contract at https://remix.ethereum.org/ You can create a new file or import a sample contract: https://gist.github.com/HaoyangLiu/3c4dc081b7b5250877e40b82667c8508
    img
    img
  2. Connect your Binance Smart Chain Account to Remix
    img
  3. Select “ABCToken” contract and compile img
  4. Deploy your compiled contract img
  5. Adjust Gas Fee for your contract, then confirm your deploy contract
    img
    You can see that there is a new ceate contract transaction in block explorer img
  6. In MetaMask, Click on “Add Token”
    img
  7. Choose “Custom Token” and copy the contract address in the box
    img
  8. Click on “Add Tokens”
    img
    Then you can see change of your balance
    img img

Create Multiple Accounts

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