• Stars
    star
    371
  • Rank 111,746 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created about 1 year ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

More Repositories

1

bsc

A BNB Smart Chain client based on the go-ethereum fork
Go
2,517
star
2

whitepaper

BNB Smart Chain
1,805
star
3

tss-lib

Threshold Signature Scheme, for ECDSA and EDDSA
Go
713
star
4

bsc-genesis-contract

The genesis contracts of BNB Smart Chain.
Solidity
630
star
5

BEPs

BNB Evolution Proposals
Solidity
518
star
6

bsc-ecosystem

A guide to available tools, components, and platforms for developing applications on BSC.
452
star
7

javascript-sdk

Javascript SDK to communicate with BNB Beacon Chain.
TypeScript
349
star
8

bnb-chain-tutorial

Detailed blockchain tutorials on BNB Chain.
JavaScript
232
star
9

bsc-snapshots

Shell
229
star
10

greenfield-whitepaper

Whitepaper for Greenfield, the decentralized data economy
217
star
11

zkbnb

A trustless and scaling solution for BNB Smart Chain
Go
211
star
12

go-sdk

Go
185
star
13

node-binary

Binaries for full nodes, light-weighted clients
Shell
179
star
14

bnb-chain.github.io

The official documentation for BNB Chain.
HTML
133
star
15

java-sdk

Java
121
star
16

greenfield

Greenfield is a decentralized storage platform.
Go
108
star
17

bsc-relayer

An implementation of relay service to relay cross chain packages from BNB Beacon Chain to BNB Smart Chain
Go
95
star
18

token-bind-tool

Tools and toturial for issuing BEP2 token on BNB Beacon Chain, deploying BEP20 token on BNB Smart Chain and binding the two tokens.
Go
84
star
19

node

Go
69
star
20

eth-bsc-swap-contracts

Solidity
64
star
21

opbnb-docs

JavaScript
54
star
22

awesome

A curated list of awesome projects in BNB Chain ecosystem
47
star
23

bsc-docker

Shell
45
star
24

bsc-eth-swap

Implementation of BSC and ETH swap
Go
43
star
25

tokens-info

Centralized repo for BEP2 token meta information (logo, website, social network, etc)
42
star
26

bsc-explorer

BNB Smart Chain Explorer based on Blockscout fork.
Elixir
41
star
27

greenfield-storage-provider

Greenfield Storage Provider is a storage infrastructure for Greenfield decentralized storage platform.
Go
40
star
28

canonical-upgradeable-bep20

Implement upgradeable bep20 contract
Solidity
40
star
29

zkbnb-contract

Solidity
39
star
30

op-geth

Go
38
star
31

peg-token-stats

37
star
32

bnc-cosmos-sdk

Go
35
star
33

bsc-erigon

A BNB Smart Chain client based on the erigon fork
Go
32
star
34

community-contributions

32
star
35

opbnb-node-docker

Shell
30
star
36

node-deploy

Shell
29
star
37

oracle-relayer

Oracle Relayer is responsible for relaying events of bsc to BNB Beacon Chain.
Go
27
star
38

greenfield-go-sdk

Go sdk for Greenfield
Go
24
star
39

validator-directory

validator-directory
23
star
40

greenfield-contracts

Smart contracts for Greenfield and BSC Cross-Chain communication.
Solidity
22
star
41

greenfield-docs

The official repository for the BNB Greenfield documentation website
JavaScript
22
star
42

greenfield-cmd

support cmd tool for Greenfield
Go
22
star
43

greenfield-cosmos-sdk

A cosmos-sdk fork for greenfield
Go
21
star
44

bsc-relayer-config

bsc-relayer cross chain protocol configuration
21
star
45

ledger-app-binance

application that enables Ledger hardware wallet to support Binance Chain.
C
21
star
46

greenfield-js-sdk

JS SDK for Greenfield
JavaScript
20
star
47

cplusplus-sdk

C
18
star
48

zkbnb-crypto

Go
18
star
49

greenfield-cometbft

Consensus layer, forked from CometBFT, for Greenfield blockchain
Go
18
star
50

greenfield-data-marketplace-frontend

Greenfield Data marketplace is a data exchange platform where users can freely create, list, trade, and sell data assets, including digital publications, scientific experimental data, and specific domain data, or even NFT can be treated as a kind of data.
TypeScript
16
star
51

zkbnb-js-sdk

TypeScript
15
star
52

zkbnb-setup

MPC Ceremony Tool for Groth16 setup of zkBNB circuits
Go
15
star
53

bnc-tendermint-iavl

Go
14
star
54

zkbnb-mpc-ceremony

13
star
55

avengerdao

13
star
56

bnc-tendermint

Go
13
star
57

cross-chain-transfer-sample

Samples for cross chain transfer between BNB Beacon Chain and BNB Smart Chain
Java
13
star
58

Kickstart

13
star
59

token-canal-project

Project Token Canal is a new initiative, similar to many existing โ€˜wrapped coinsโ€™ in the crypto community, Binance.com, the largest crypto token vault and exchange, will stand to issue and bind more token assets on Binance Chain, Binance Smart Chain and Ethereum, and guarantee the conversion from and to the original tokens with our own credibility and infrastructure.
Solidity
13
star
60

zkbnb-smt

Go
12
star
61

chain-tooling

Tools and ecosystem kits
Shell
11
star
62

bsc-go-client

Go
10
star
63

bep3-deputy

Go
10
star
64

bsc-smart-contract-tutorials

Solidity
10
star
65

zkbnb-go-sdk

Go
10
star
66

wallet-assets

Assets for Binance Wallet.
10
star
67

bnc-go-amino

Go
10
star
68

zkBNB-docs

JavaScript
9
star
69

bsc-double-sign-sdk

This is a complementary sdk to Binance Chain go-sdk, which can be used to submit BSC double sign proof
Go
9
star
70

greenfield-contracts-sdk

A library of smart contracts for the Greenfield
Solidity
9
star
71

bep3-smartcontracts

Smart Contracts for BEP3 implementation on different blockchains.
JavaScript
8
star
72

zkbnb-js-l1-sdk

TypeScript
7
star
73

zkbnb-reactjs-integration-example

TypeScript
7
star
74

bas-genesis-config

Solidity
7
star
75

juno

Go
7
star
76

bc-snapshots

6
star
77

opbnb-bridge-tokens

TypeScript
6
star
78

greenfield-cometbft-db

A cometbft-db fork for greenfield
Go
6
star
79

tss

Threshold Signature Scheme for ECDSA
Go
5
star
80

opbnb-snapshot

TypeScript
5
star
81

BSC-Truffle-Starter-Box

Boilerplate code for deploying smart contracts to the BNB Smart Chain network.
JavaScript
5
star
82

Grant-projects

BNB Smart Chain development grants program
5
star
83

bas-template-bsc

Go
4
star
84

zkbnb-eth-rpc

Go
4
star
85

bscSetUp

Go
4
star
86

bep20-issue-mirror-stats

Go
4
star
87

greenfield-challenger

Off-chain data availability challenge service for Greenfield
Go
4
star
88

greenfield-common

support common lib for Greenfield chain and Greenfiled Storage Provider
Go
4
star
89

greenfield-relayer

Greenfield and BSC bidirectional cross-chain package relaying tool
Go
4
star
90

greenfield-execution-provider

PoC of Greenfield executable
Go
4
star
91

wallet-core-carthage

Carthage support for wallet-core
Swift
4
star
92

greenfield-python-sdk

Python
3
star
93

bsc-tendermint-rs

Rust
3
star
94

developer-tools-list

3
star
95

BSC-State-Expiry

3
star
96

bas-devnet-setup

Shell
3
star
97

wallet-contract

JavaScript
3
star
98

greenfield-cosmos-types

JavaScript and TypeScript types relating to Protocol Buffers
TypeScript
3
star
99

zk-rollup-webui

TypeScript
3
star
100

greenfield-data-marketplace-contracts

Greenfield-data-marketplace is a marketplace protocol for safely and efficiently buying and selling data uploaded in Greenfield.
Solidity
3
star