Skip to content

bnb-chain/opbnb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opBNB - High-performance layer 2 solution

The opBNB network is the Layer 2 scaling solution for the BNB Smart Chain(BSC) powered by bedrock version of Optimism OP Stack.

It works by offloading transaction processing and resource usage from the BNB Smart Chain, while still posting data to the underlying network. Users interact with the opBNB network by depositing funds from BSC and using applications and contracts on opBNB. At its core, opBNB allows users to deposit and withdraw funds, use smart contracts, and view network data with high throughput and low fees. By leveraging Layer 2, opBNB is able to scale beyond the constraints of the BNB Smart Chain and provide an improved experience for users.

Comparison

Besides the differentiators of bedrock, opBNB is the solution that we aim to provide the best optimistic rollup solution on the BSC.

  • Capacity can reach to 100m gas per second, which is much higher than other layer 2 solutions on the Ethereum.
  • Gas fee of transfer can reach as low as $0.005 on average.
  • block time is 1 second.
Parameter opBNB value Optimism value Ethereum value (for reference)
Block gas limit 100,000,000 gas 30,000,000 gas 30,000,000 gas
Block gas target 50,000,000 5,000,000 gas 15,000,000 gas
EIP-1559 elasticity multiplier 2 6 2
EIP-1559 denominator 8 50 8
Maximum base fee increase (per block) 12.5% 10% 12.5%
Maximum base fee decrease (per block) 12.5% 2% 12.5%
Block time in seconds 1 2 12

Documentation

If you want to build on top of opBNB, refer to the opBNB Doc.

Community

To get help from other developers, discuss ideas, and stay up-to-date on what's happening, become a part of our community on Discord. Join our official Discord Channel.

You can also join the conversation, connect with other projects, and ask questions in our BNB Chain Forum.

Directory Structure

~~ opBNB ~~
├── packages
│   └── contracts-bedrock: Bedrock smart contracts.
├── op-bindings: Go bindings for Bedrock smart contracts.
├── op-batcher: L2-Batch Submitter, submits bundles of batches to L1
├── op-e2e: End-to-End testing of all bedrock components in Go
├── op-node: rollup consensus-layer client.
├── op-proposer: L2-Output Submitter, submits proposals to L1
├── ops-bedrock: Bedrock devnet work
└── specs: Specs of the rollup starting at the Bedrock upgrade

License

All files within this repository are licensed under the MIT License unless stated otherwise.