From 343487dd6a1ae2d5104f7434a5246fce505682da Mon Sep 17 00:00:00 2001 From: Owen Hu Date: Mon, 21 Aug 2023 17:10:09 +0800 Subject: [PATCH] add opBNB network --- components/chains.js | 1 + utils/chains.json | 68 ++++++++++++++++++++++++++++++-------------- 2 files changed, 48 insertions(+), 21 deletions(-) diff --git a/components/chains.js b/components/chains.js index 906fb6bd17..362717047c 100644 --- a/components/chains.js +++ b/components/chains.js @@ -3,6 +3,7 @@ export const chainIds = { 73: "fncy", 97: "bnb", 117: "bas-ars", + 204: "bnb", 230: "bas-gal", 923018: "fncy", 14000: "bas-ankr", diff --git a/utils/chains.json b/utils/chains.json index 4277694665..e72e4c4d48 100644 --- a/utils/chains.json +++ b/utils/chains.json @@ -62,6 +62,53 @@ } ] }, + { + "name": "opBNB Mainnet", + "chain": "opBNB", + "rpc": [ + "https://opbnb-mainnet-rpc.bnbchain.org/" + ], + "nativeCurrency": { + "name": "BNB Chain Native Token", + "symbol": "BNB", + "decimals": 18 + }, + "infoURL": "https://opbnb.bnbchain.org/en", + "chainId": 204, + "explorers": [ + { + "name": "opbnbscan", + "url": "http://mainnet.opbnbscan.com/", + "standard": "EIP3091" + } + ] + }, + { + "name": "opBNB Testnet", + "chain": "opBNB", + "rpc": [ + "https://opbnb-testnet-rpc.bnbchain.org/" + ], + "nativeCurrency": { + "name": "BNB Chain Native Token", + "symbol": "tBNB", + "decimals": 18 + }, + "infoURL": "https://opbnb.bnbchain.org/en", + "chainId": 5611, + "explorers": [ + { + "name": "bscscan-opbnb-testnet", + "url": "https://opbnb-testnet.bscscan.com/", + "standard": "EIP3091" + }, + { + "name": "opbnbscan", + "url": "http://opbnbscan.com/", + "standard": "EIP3091" + } + ] + }, { "name": "NodeReal-BSC Application Sidechain Testnet", "chain": "BAS-ARS", @@ -108,27 +155,6 @@ } ] }, - { - "name": "opBNB Testnet", - "chain": "BSC", - "rpc": [ - "https://opbnb-testnet-rpc.bnbchain.org/" - ], - "nativeCurrency": { - "name": "BNB Chain Native Token", - "symbol": "tcBNB", - "decimals": 18 - }, - "infoURL": "https://www.bnbchain.world", - "chainId": 5611, - "explorers": [ - { - "name": "bscscan", - "url": "https://bscscan.com", - "standard": "EIP3091" - } - ] - }, { "name": "Ankr-BSC Application Sidechain Testnet", "chain": "BAS-ANKR",