Add opBNB to MetaMask
-
Connect your MetaMask wallet to the opBNB Bridge
-
Click on Withdraw
-
Follow the prompt to approve adding opBNB to MetaMask
You can also add opBNB to MetaMask by manually entering the RPC details.
Key Takeaways
-
In this guide, we take you through the process of connecting your wallet to the opBNB network and also how to add and manage smart contract tokens on the network.
-
opBNB is BNB Chain’s Layer 2 scaling solution. It uses optimistic rollups to confirm transactions in batches and save time and cost for users of the network.
-
The BNB Chain team introduced the opBNB network to further improve the network’s ability to withstand high usage from dApps like decentralized games.
On August 16, 2023, BNB Chain (BSC) announced that the opBNB mainnet has opened up for infrastructure providers, hinting at a wider opening for the public later the same month. opBNB is powered by Optimism’s OP Stack. The OP Stack is an open-source modular optimistic rollup framework that can be modified to meet the requirements of diverse ecosystems.
With opBNB, the BNB Chain pursues improved user experience by developing an external execution layer that employs Layer 2 scaling solutions like rollups to achieve higher throughput and cheaper transactions. According to the team, opBNB is optimized for high-demand decentralized applications like games and money markets. With the mainnet now live, users and developers will explore the network and hope to benefit from the improved user experience the network promises.
Trying out the network for the first time? opBNB is an EVM-compatible network and can be integrated into the MetaMask wallet for seamless use.
MetaMask is a fully constituted cryptocurrency wallet with support for Ethereum blockchain, EVM-compatible Layer 2 networks, and standalone EVM blockchains like BNB. It lets you install and access any EVM network by entering the relevant network details.
The MetaMask wallet comes in browser extensions and applications that can be installed on mobile devices. Depending on your device, the procedure might be a little different.
Here’s how you can install the MetaMask application on your device and add the opBNB network to your wallet.
Installing Metamask on Desktop Devices
First, download the MetaMask extension for your web browser.
Visit the MetaMask website to download the extension. MetaMask extension works on Chrome, Microsoft Edge, Brave, Opera, and Firefox browsers.
Install the extension for your browser and proceed to set up your account.
Set Up Your Wallet
MetaMask allows you to create a new wallet or import your old MetaMask accounts or existing accounts from other wallets. To import your old wallets, you’ll need your wallet’s private key or seed phrase.
To import your old wallet using your seed phrase, open the MetaMask wallet and select Import wallet, and proceed to enter your recovery phrase in the form that pops up. Set up your wallet password and complete the process by clicking Import.
For new users, you can create a new wallet by clicking Create a wallet. Set up your password and click Create.
Review the security information carefully and proceed to copy your wallet’s security phrase. Preferably, write down this phrase and store it safely offline. Your wallet is now ready for use.
Importing Existing Wallets Using Private Keys
Open the wallet (with an account already added).
Click on the account dropdown in the centre of your screen, select Import account and enter your private key in the form.
Click Import to complete. Your old wallet will be added to your existing MetaMask account.
How to Add opBNB to Metamask Manually
To access the opBNB network, you will need to add the network to your MetaMask in order to connect your MetaMask wallet to web3 dApps. To manually add the network:
Step 1: Add Network
Log into your MetaMask, click on the network bar in the top left corner, and select Add network from the drop-down.
Note that opBNB is not yet available for selection in the list of pre-integrated networks on MetaMask.
Step 2: Add Network Manually
Click Add a network manually at the bottom of the page.
Step 3: Enter opBNB Network Details
In the form that pops up, fill in the following details in their respective boxes
-
Network Name: opBNB Mainnet
-
RPC URL: https://opBNB-mainnet-rpc.bnbchain.org
-
ChainID: 204
-
Symbol: BNB
-
Explorer: http://mainnet.opBNBscan.com/
Click Save to complete.
The opBNB mainnet network can now be accessed via your MetaMask wallet. Simply click the drop-down menu at the top left corner of your wallet and select opBNB mainnet from the menu.
Add opBNB to Metamask Through the opBNB Bridge
You can also add the network to your MetaMask through the opBNB bridge.
Step 1: Connect Your Wallet
Visit the opBNB bridge and connect your wallet. Switch to the BNB Chain network; your wallet will prompt you to switch if you are not already connected to BSC.
Step 2: Click on Withdraw
Navigate to the Withdraw section.
Click Switch to opBNB Mainnet and follow the prompt in your wallet to add the network.
Add Custom opBNB Mainnet Tokens to Your Wallet
Now that you have set up your wallet to use the opBNB network, let’s proceed to add some smart contract tokens to the wallet.
Step 1: Obtaining the Token’s Contract
At the time of writing, the opBNB chain is newly launched and wBNB is the only official token on the network and the network’s explorer is yet to stabilize. Therefore, for this guide, we will use GeckoTerminal to track opBNB and obtain the smart contract address of WBNB.
Visit the opBNB page on GeckoTerminal and click on any WBNB pair.
Scroll down to the smart contract section and copy the WBNB contract. This process is the same for any other smart contract token you wish to add.
Step 2: Add the Token to Your Wallet
Go to your MetaMask wallet home page and scroll down to the bottom of the asset list. Click Import tokens and proceed to enter the asset’s details in the form that pops up.
Paste the contract address for the WBNB token in the designated input box; other details will load automatically.
At time of writing, WBNB shows up as WETH – while this will probably be fixed soon, you can click Edit to change the name to WBNB. We will proceed to add without editing to differentiate from the natively added WBNB.
You can also opt enter these details manually.
Click Add custom token to add the token to your MetaMask wallet.
To complete, click Import token.
Step 3: Proceed to Transact WBNB From Your MetaMask
Your balances for the added token can be seen in your MetaMask wallet. You can also send and receive the asset as usual. Note that these transactions take place on the Layer 2 network.
To use your token on the mainnet, you will need to bridge them via the opBNB Bridge. Ensure that you have enough BNB on your source wallet to pay for the bridging fee.
Final Thoughts
Getting hands-on with new solutions like opBNB is important as the space tilts towards newer and more effective networks. opBNB promises an improved experience for users and the BSC network as a whole. Ensure to verify every detail and install the network properly before transferring assets and connecting them to external platforms.
This guide is specific to the MetaMask wallet. Note that these controls could differ for other wallet applications. In any case, ensure to read the proper guide before using the application, and confirm that all details are correct before sending funds. Also, be wary of the signed smart contracts and how they interact with your wallet. As a standard, always do your own research before interacting with smart contracts and investing in any cryptocurrency.