Skip to content

Commit

Permalink
feat: opBNB chain support (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Oct 15, 2024
1 parent 25c63b9 commit 0768d62
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
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

0 comments on commit 0768d62

Please sign in to comment.