mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-22 21:59:44 +03:00
feat: added new base chain
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@orionprotocol/sdk",
|
"name": "@orionprotocol/sdk",
|
||||||
"version": "0.19.92-rc112",
|
"version": "0.19.92-rc113",
|
||||||
"description": "Orion Protocol SDK",
|
"description": "Orion Protocol SDK",
|
||||||
"main": "./lib/index.cjs",
|
"main": "./lib/index.cjs",
|
||||||
"module": "./lib/index.js",
|
"module": "./lib/index.js",
|
||||||
|
|||||||
@@ -231,5 +231,18 @@
|
|||||||
"WETH": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
|
"WETH": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
|
||||||
"curveRegistry": ""
|
"curveRegistry": ""
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"8453": {
|
||||||
|
"chainId": "8453",
|
||||||
|
"label": "Base",
|
||||||
|
"shortName": "BASE",
|
||||||
|
"code": "base",
|
||||||
|
"baseCurrencyName": "ETH",
|
||||||
|
"rpc": "https://mainnet.base.org/",
|
||||||
|
"explorer": "https://basescan.org/",
|
||||||
|
"contracts": {
|
||||||
|
"WETH": "0x4200000000000000000000000000000000000006",
|
||||||
|
"curveRegistry": ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -183,6 +183,24 @@
|
|||||||
"http": "/orion-indexer/"
|
"http": "/orion-indexer/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"8453": {
|
||||||
|
"api": "https://trade.orion.xyz/base-mainnet",
|
||||||
|
"services": {
|
||||||
|
"aggregator": {
|
||||||
|
"http": "/backend",
|
||||||
|
"ws": "/v1"
|
||||||
|
},
|
||||||
|
"blockchain": {
|
||||||
|
"http": ""
|
||||||
|
},
|
||||||
|
"priceFeed": {
|
||||||
|
"all": "/price-feed"
|
||||||
|
},
|
||||||
|
"indexer": {
|
||||||
|
"http": "/orion-indexer/"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -432,7 +450,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"2525": {
|
"2525": {
|
||||||
"api": "https://trade.orion.xyz/inevm-mainnet",
|
"api": "https://staging.orion.xyz/inevm-mainnet",
|
||||||
"services": {
|
"services": {
|
||||||
"aggregator": {
|
"aggregator": {
|
||||||
"http": "/backend",
|
"http": "/backend",
|
||||||
@@ -450,7 +468,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"59144": {
|
"59144": {
|
||||||
"api": "https://trade.orion.xyz/linea-mainnet",
|
"api": "https://staging.orion.xyz/linea-mainnet",
|
||||||
"services": {
|
"services": {
|
||||||
"aggregator": {
|
"aggregator": {
|
||||||
"http": "/backend",
|
"http": "/backend",
|
||||||
@@ -468,7 +486,25 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"43114": {
|
"43114": {
|
||||||
"api": "https://trade.orion.xyz/avalanche-c-chain",
|
"api": "https://staging.orion.xyz/avalanche-c-chain",
|
||||||
|
"services": {
|
||||||
|
"aggregator": {
|
||||||
|
"http": "/backend",
|
||||||
|
"ws": "/v1"
|
||||||
|
},
|
||||||
|
"blockchain": {
|
||||||
|
"http": ""
|
||||||
|
},
|
||||||
|
"priceFeed": {
|
||||||
|
"all": "/price-feed"
|
||||||
|
},
|
||||||
|
"indexer": {
|
||||||
|
"http": "/orion-indexer/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"8453": {
|
||||||
|
"api": "https://staging.orion.xyz/base-mainnet",
|
||||||
"services": {
|
"services": {
|
||||||
"aggregator": {
|
"aggregator": {
|
||||||
"http": "/backend",
|
"http": "/backend",
|
||||||
|
|||||||
@@ -20,4 +20,5 @@ export const productionChains = [
|
|||||||
SupportedChainId.INEVM,
|
SupportedChainId.INEVM,
|
||||||
SupportedChainId.LINEA,
|
SupportedChainId.LINEA,
|
||||||
SupportedChainId.AVAX,
|
SupportedChainId.AVAX,
|
||||||
|
SupportedChainId.BASE,
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
export default ['ftm', 'bsc', 'eth', 'polygon', 'okc', 'arb', 'drip', 'opbnb', 'inevm', 'linea', 'avax'] as const;
|
export default ['ftm', 'bsc', 'eth', 'polygon', 'okc', 'arb', 'drip', 'opbnb', 'inevm', 'linea', 'avax', 'base'] as const;
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
export default ['FTM', 'BSC', 'ETH', 'POLYGON', 'OKC', 'ARB', 'OPBNB', 'INEVM', 'LINEA', 'AVAX'] as const;
|
export default ['FTM', 'BSC', 'ETH', 'POLYGON', 'OKC', 'ARB', 'OPBNB', 'INEVM', 'LINEA', 'AVAX', 'BASE'] as const;
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ export enum SupportedChainId {
|
|||||||
INEVM = '2525',
|
INEVM = '2525',
|
||||||
LINEA = '59144',
|
LINEA = '59144',
|
||||||
AVAX = '43114',
|
AVAX = '43114',
|
||||||
|
BASE = '8453',
|
||||||
|
|
||||||
POLYGON_TESTNET = '80001',
|
POLYGON_TESTNET = '80001',
|
||||||
FANTOM_TESTNET = '4002',
|
FANTOM_TESTNET = '4002',
|
||||||
|
|||||||
Reference in New Issue
Block a user