Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: opBNB chain support #22

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 34 additions & 2 deletions evmchains/chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!
!!!! DO NOT EDIT THIS FILE DIRECTLY! !!!!
!!!! This file is auto-generated by scripts/update.py !!!!
!!!! 2024-10-02 21:29:07.153953+00:00 !!!!
!!!! 2024-10-15 20:35:49.075377+00:00 !!!!
!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!
"""

Expand Down Expand Up @@ -373,6 +373,38 @@
"shortName": "bnbt",
"slip44": 1,
},
"opBNB": {
"chain": "opBNB",
"chainId": 204,
"ens": None,
"explorers": [
{
"name": "opbnbscan",
"standard": "EIP3091",
"url": "https://mainnet.opbnbscan.com",
}
],
"faucets": [],
"features": None,
"icon": "bnbchain",
"infoURL": "https://opbnb.bnbchain.org/en",
"name": "opBNB Mainnet",
"nativeCurrency": {
"decimals": 18,
"name": "BNB Chain Native Token",
"symbol": "BNB",
},
"networkId": 204,
"rpc": [
"https://opbnb-mainnet-rpc.bnbchain.org",
"https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3",
"https://opbnb-mainnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5",
"https://opbnb-rpc.publicnode.com",
"https://opbnb.drpc.org",
],
"shortName": "obnb",
"slip44": 714,
},
},
"ethereum": {
"mainnet": {
Expand Down Expand Up @@ -956,7 +988,7 @@
"icon": "polygon",
"infoURL": "https://polygon.technology/",
"name": "Amoy",
"nativeCurrency": {"decimals": 18, "name": "MATIC", "symbol": "MATIC"},
"nativeCurrency": {"decimals": 18, "name": "POL", "symbol": "POL"},
"networkId": 80002,
"rpc": [
"https://rpc-amoy.polygon.technology",
Expand Down
1 change: 1 addition & 0 deletions scripts/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"bsc": {
"mainnet": 56,
"testnet": 97,
"opBNB": 204,
},
"ethereum": {
"mainnet": 1,
Expand Down
Loading