feat: add event horizon test network

This commit is contained in:
Slava Startsev
2024-06-18 14:56:43 +03:00
parent ab657b06a9
commit 58bd952d49
5 changed files with 34 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.19.92-rc114",
"version": "0.19.92-rc115",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -89,6 +89,19 @@
"curveRegistry": ""
}
},
"123420000034": {
"chainId": "123420000034",
"explorer": "https://blockscout-123420000034.raas-testnet.gelato.digital/",
"label": "Event Horizon Testnet",
"shortName": "EH-Testnet",
"code": "eth",
"rpc": "https://rpc-123420000034.raas-testnet.gelato.digital/",
"baseCurrencyName": "ETH",
"contracts": {
"WETH": "0x4200000000000000000000000000000000000006",
"curveRegistry": ""
}
},
"421613": {
"chainId": "421613",
"explorer": "https://goerli.arbiscan.io/",

View File

@@ -245,6 +245,24 @@
}
}
},
"123420000034": {
"api": "https://testing.orion.xyz/event-horizon",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
},
"indexer": {
"http": "/orion-indexer/"
}
}
},
"421613": {
"api": "https://testing.orion.xyz/arbitrum-goerli",
"services": {

View File

@@ -9,6 +9,7 @@ export const developmentChains = [
SupportedChainId.FANTOM_TESTNET,
SupportedChainId.POLYGON_TESTNET,
SupportedChainId.OKC_TESTNET,
SupportedChainId.EVENT_HORIZON,
];
export const productionChains = [
SupportedChainId.MAINNET,

View File

@@ -103,6 +103,7 @@ export enum SupportedChainId {
OKC_TESTNET = '65',
DRIP_TESTNET = '56303',
ARBITRUM_GOERLI = '421613',
EVENT_HORIZON = '123420000034',
// For testing and debug purpose
// BROKEN = '0',