Add event horizon test network (#261)

* feat: add event horizon test network

* chore: bump v
This commit is contained in:
Slava Startsev
2024-06-18 15:14:54 +03:00
committed by GitHub
parent 1263edc3d2
commit b7217c958b
5 changed files with 34 additions and 1 deletions

View File

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

View File

@@ -64,6 +64,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": ""
}
},
"42161": {
"chainId": "42161",
"explorer": "https://arbiscan.io/",

View File

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

View File

@@ -3,6 +3,7 @@ import { SupportedChainId } from '../types.js';
export const developmentChains = [
SupportedChainId.BSC_TESTNET,
SupportedChainId.SEPOLIA,
SupportedChainId.EVENT_HORIZON,
];
export const productionChains = [
SupportedChainId.MAINNET,

View File

@@ -95,6 +95,7 @@ export enum SupportedChainId {
BSC_TESTNET = '97',
SEPOLIA = '11155111',
EVENT_HORIZON = '123420000034',
// For testing and debug purpose
// BROKEN = '0',