Loading...
Metamask is very popular wallet to interact with DApps based on ethereum bockchain , but can we also use it for interaction with BSC, let see.
Install Metamask extension for your browser and set up.
We are still in the ethereum environment. Let’s change that. We want to access the Settings to point the wallet towards Binance Smart Chain nodes.
go to settings in wallet
On the Settings page, we want to locate the Networks menu.
We want to click Add Network in the top-right corner to manually add the Binance Smart Chain one – it doesn’t come packaged with MetaMask. It’s important to note that there are two networks we can use here: the testnet or the mainnet. Below are the parameters to fill in for each.
Mainnet (This is the one you are probably looking for)
Network Name: Smart Chain
New RPC URL: https://bsc-dataseed.binance.org/
ChainID: 56
Symbol: BNB
Block Explorer URL: https://bscscan.com
......................
Testnet
Network Name: Smart Chain - Testnet
New RPC URL: https://data-seed-prebsc-1-s1.binance.org:8545/
ChainID: 97
Symbol: BNB
Block Explorer URL: https://testnet.bscscan.com
We’re going to use the testnet in this tutorial, but you will likely want to use the mainnet. We recommend adding both if you intend to use MetaMask to transfer BNB or Binance Smart Chain tokens.
Once you Save the Network and return to the main view, you’ll notice two things: the network has automatically been set to the one you just entered, and the units are no longer denominated in ETH, but in BNB.
Making transactions (on the testnet)
Next, let’s get some funds to play with. Hover over Account 1, and click to copy your address to the clipboard. We’ll head over to the Binance Smart Chain Faucet and paste it into the form.
Peggy coins might be of interest if you’re testing out an application that supports BEP-20 tokens. They’re simply tokens issued on Binance Smart Chain that are “pegged” to assets on other chains (like BTC, XRP, USDT, etc.), meaning that they trade at the same price.
Let’s stick to BNB for now. Click on the Give me BNB dropdown and select the amount you wish to receive. You might need to wait a couple of minutes, but the funds will show up in your testnet wallet imminently.
Get test BNB tokens in account -
Thanks >....