CoinMarketCap Academy takes a deep dive into opBNB, a new layer-2 scaling solution for BNB Chain, based on Optimism's OP Stack.
Binance and BNB
, founded by Changpeng Zhao
(CZ), launched in July 2017 and quickly rose to dominance as the top centralized exchange
(CEX) in the industry.
BNB was first launched as an ERC-20 token on the Ethereum network. However, by 2019, it migrated to the Binance Chain, which was built on Cosmos Tendermint
. However, this chain was largely used only for governance
, voting and validation. As decentralized finance
(DeFi) picked up in the DeFi summer of 2020, Binance launched
their second blockchain, the Ethereum Virtual Machine
(EVM) compatible Binance Smart Chain (BSC), in September 2020.
In February 2022, Binance announced the rebranding
of Binance Chain and Binance Smart Chain to BNB Chain, which stands for “Build and Build.” The layer-1 or underlying blockchain for Binance is being relaunched as part of a strategy to connect it to the protocol's governance token, BNB, in order to strengthen and further decentralization.
Binance CEO CZ said:
“People always think of BSC as part of Binance because it carries the company’s name. We’ve done a lot of work to decentralize it and hope to make BNB go beyond Binance.”
To date, Binance has invested more than $1 billion to support the growth of the BNB Chain ecosystem. The latest development is the launch of its very own layer-2 scaling solution
, opBNB, built on Optimism’s OP Stack.
BNB Chain is an Ethereum Virtual Machine
(EVM) compatible blockchain, designed to support smart contracts
in order to compete with the Ethereum
blockchain, which is the leading blockchain for DeFi applications.
After the rebrand, BNB Chain comprises: BNB Beacon Chain (previously Binance Chain), used for governance; and the BNB Smart Chain (BSC) (previously Binance Smart Chain), an EVM-compatible chain providing consensus.
The chain offers a lower transaction fee and higher transaction speed environment to DeFi users, while enabling developers to easily expand or migrate their decentralized applications
(DApps) to the new chain. The familiar environment also allowed aspiring developers to quickly set up shop without having to compete directly with the already established protocols on Ethereum. This proved to be true as new protocols such as PancakeSwap
and Alpaca Finance
emerged and dominated the chain.
Coupled with the backing and support from Binance, the BNB Chain quickly grew in popularity, seeing the total value locked
(TVL) on the chain growing exponentially on the tailwinds of DeFi Summer. BNB Chain is currently third with $3.38B in TVL, behind just Ethereum ($25.95B) and Tron
In 2022, Layer 2
(L2) solutions began to gain traction, as developers and users began to recognize scalability as a real problem for monolithic
blockchains, which at that point, were most of the leading Layer 1
chains. Rollups built on Ethereum such as Arbitrum
gained significant attention, quickly rising to become popular ecosystems in the DeFi space. BNB Chain made an announcement in June 2023 to introduce their very own L2 solution, opBNB, in a move to further scale BSC.
OpBNB is designed based on the Optimism OP Stack, an open source
codebase, with modifications to meet the needs of BSC. OpBNB adopts the Optimistic rollup
architecture, abstracting the execution layer into its own layer, while the remaining blockchain functions are handled by the L1, in this case, the BNB Smart Chain. The opBNB layer processes transactions off-chain
and posts transaction data back onto the L1 as calldata, enabling higher transaction speed and lowered gas
fees for users on the L2. Just like other rollups, opBNB uses the gas token of the L1 chain, which is the BNB token.
Building on the OP Stack, opBNB introduces optimizations in data caching, block mining
and to the derivation layer to meet their needs.
OpBNB optimizes the way data is cached on the chain by adding an additional layer in the cache (L1.5: “SharedPool”). This increases the cache hit rate, which reduces the need to query the database directly, hence, increasing efficiency of retrieving data on opBNB.
Source: BNB Chain Blog (link)
On the block mining front, a traditional OP Stack chain executes the transactions twice in a standard block production process. This is redundant and can require hundreds of milliseconds in execution time with each block. OpBNB optimizes this by storing the results of the first execution in the cache instead of re-executing the transactions again, hence cutting down on additional execution time in block production.
Finally, opBNB increases the efficiency of the batcher by introducing asynchronous
batch submission, which allows the batcher to submit batches of transactions without waiting for confirmation. This removes the bottleneck caused by waiting for confirmation before the next batch of transactions is submitted. A process will be put in place to watch for a reorg on the L1, after which the batcher will resubmit the affected transactions.
These optimizations enable opBNB to allegedly achieve 4,000 transactions per second
on the chain and keep transaction fees on the chain to a mere USD 0.005. The chain’s high transaction processing ability and low transaction fees could make it the perfect chain for gaming, which is a key sector that opBNB seems to be targeting.
The opBNB testnet
has been live since June 19, 2023, and is open for feedback from developers and testers.
The new opBNB chain enables the BNB Chain ecosystem to achieve higher transactions per second than before, while maintaining its EVM-compatibility, which was a key element to its original success. Moreover, it will natively integrate with the existing BSC, which will enable the use of ecosystem assets, such as BNB, natively on opBNB.
Additionally, by building on the OP Stack, developments made to the codebase will directly benefit and forward the development of opBNB and in return, developments made by opBNB can also contribute directly to the development of the OP Stack codebase. In fact, the opBNB team has already made several contributions to the OP Stack codebase including the removal of unused functions
and the addition of the “Abort Failed Payload Confirmation.”
That said, It is still currently unclear if opBNB will be part of Optimism’s Superchain ecosystem.
This article contains links to third-party websites or other content for information purposes only (“Third-Party Sites”). The Third-Party Sites are not under the control of CoinMarketCap, and CoinMarketCap is not responsible for the content of any Third-Party Site, including without limitation any link contained in a Third-Party Site, or any changes or updates to a Third-Party Site. CoinMarketCap is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement, approval or recommendation by CoinMarketCap of the site or any association with its operators.
This article is intended to be used and must be used for informational purposes only. It is important to do your own research and analysis before making any material decisions related to any of the products or services described. This article is not intended as, and shall not be construed as, financial advice.
The views and opinions expressed in this article are the author’s [company’s] own and do not necessarily reflect those of CoinMarketCap.