mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-16 16:21:32 +03:00
feat: added new networks Arbitrum and opBNB
This commit is contained in:
@@ -38,6 +38,18 @@
|
||||
"curveRegistry": "0x93461072c00b2740c474a3d52c70be6249c802d8"
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"chainId": "204",
|
||||
"explorer": "http://opbnbscan.com/",
|
||||
"label": "opBNB Chain",
|
||||
"shortName": "opBNB",
|
||||
"code": "opbnb",
|
||||
"rpc": "https://opbnb-mainnet-rpc.bnbchain.org",
|
||||
"baseCurrencyName": "BNB",
|
||||
"contracts": {
|
||||
"WETH": "0x4200000000000000000000000000000000000006",
|
||||
}
|
||||
},
|
||||
"3": {
|
||||
"chainId": "3",
|
||||
"explorer": "https://ropsten.etherscan.io/",
|
||||
@@ -77,6 +89,19 @@
|
||||
"curveRegistry": ""
|
||||
}
|
||||
},
|
||||
"42161": {
|
||||
"chainId": "42161",
|
||||
"explorer": "https://arbiscan.io/",
|
||||
"label": "Arbitrum",
|
||||
"shortName": "Arbitrum",
|
||||
"code": "arb",
|
||||
"rpc": "https://arb1.arbitrum.io/rpc",
|
||||
"baseCurrencyName": "ARB",
|
||||
"contracts": {
|
||||
"WETH": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
|
||||
"curveRegistiry": "0x445FE580eF8d70FF569aB36e80c647af338db351",
|
||||
}
|
||||
},
|
||||
"4002": {
|
||||
"chainId": "4002",
|
||||
"explorer": "https://testnet.ftmscan.com/",
|
||||
|
||||
@@ -93,6 +93,42 @@
|
||||
"http": "/orion-indexer/"
|
||||
}
|
||||
}
|
||||
},
|
||||
"42161": {
|
||||
"api": "https://trade.orion.xyz/arbitrum-mainnet",
|
||||
"services": {
|
||||
"aggregator": {
|
||||
"http": "/backend",
|
||||
"ws": "/v1"
|
||||
},
|
||||
"blockchain": {
|
||||
"http": ""
|
||||
},
|
||||
"priceFeed": {
|
||||
"all": "/price-feed"
|
||||
},
|
||||
"indexer": {
|
||||
"http": "/orion-indexer/"
|
||||
}
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"api": "https://trade.orion.xyz/opbnb-mainnet",
|
||||
"services": {
|
||||
"aggregator": {
|
||||
"http": "/backend",
|
||||
"ws": "/v1"
|
||||
},
|
||||
"blockchain": {
|
||||
"http": ""
|
||||
},
|
||||
"priceFeed": {
|
||||
"all": "/price-feed"
|
||||
},
|
||||
"indexer": {
|
||||
"http": "/orion-indexer/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -15,4 +15,6 @@ export const productionChains = [
|
||||
SupportedChainId.FANTOM_OPERA,
|
||||
SupportedChainId.POLYGON,
|
||||
SupportedChainId.OKC,
|
||||
SupportedChainId.ARBITRUM,
|
||||
SupportedChainId.OPBNB,
|
||||
];
|
||||
|
||||
@@ -1 +1 @@
|
||||
export default ['ftm', 'bsc', 'eth', 'polygon', 'okc', 'arb', 'drip'] as const;
|
||||
export default ['ftm', 'bsc', 'eth', 'polygon', 'okc', 'arb', 'drip', 'opbnb'] as const;
|
||||
|
||||
@@ -83,10 +83,11 @@ export enum SupportedChainId {
|
||||
MAINNET = '1',
|
||||
ROPSTEN = '3',
|
||||
GOERLI = '5',
|
||||
ARBITRUM_GOERLI = '421613',
|
||||
ARBITRUM = '42161',
|
||||
FANTOM_OPERA = '250',
|
||||
POLYGON = '137',
|
||||
OKC = '66',
|
||||
OPBNB = '204',
|
||||
|
||||
POLYGON_TESTNET = '80001',
|
||||
FANTOM_TESTNET = '4002',
|
||||
@@ -94,6 +95,7 @@ export enum SupportedChainId {
|
||||
BSC_TESTNET = '97',
|
||||
OKC_TESTNET = '65',
|
||||
DRIP_TESTNET = '56303',
|
||||
ARBITRUM_GOERLI = '421613',
|
||||
|
||||
// For testing and debug purpose
|
||||
// BROKEN = '0',
|
||||
|
||||
Reference in New Issue
Block a user