From 01395c2d86239416478fd3624bbafb9efa78a0fa Mon Sep 17 00:00:00 2001 From: yabeshan Date: Mon, 14 Oct 2024 17:43:19 +0200 Subject: [PATCH] feat: added Lumia network --- src/config/chains.json | 13 +++++++++++++ src/config/envs.json | 18 ++++++++++++++++++ src/constants/chains.ts | 1 + src/types.ts | 1 + 4 files changed, 33 insertions(+) diff --git a/src/config/chains.json b/src/config/chains.json index 3b673ed..4a3f0e9 100644 --- a/src/config/chains.json +++ b/src/config/chains.json @@ -193,5 +193,18 @@ "WETH": "0x4200000000000000000000000000000000000006", "curveRegistry": "" } + }, + "994873017": { + "chainId": "994873017", + "explorer": "https://explorer.lumia.org/", + "label": "Lumia", + "shortName": "Lumia", + "code": "lumia", + "rpc": "https://mainnet-rpc.lumia.org", + "baseCurrencyName": "LUMIA", + "contracts": { + "WETH": "0x5A77f1443D16ee5761d310e38b62f77f726bC71c", + "curveRegistry": "" + } } } diff --git a/src/config/envs.json b/src/config/envs.json index 789cb5c..88f0362 100644 --- a/src/config/envs.json +++ b/src/config/envs.json @@ -201,6 +201,24 @@ "http": "/orion-indexer/" } } + }, + "994873017": { + "api": "https://trade.orion.xyz/lumia-mainnet", + "services": { + "aggregator": { + "http": "/backend", + "ws": "/v1" + }, + "blockchain": { + "http": "" + }, + "priceFeed": { + "all": "/price-feed" + }, + "indexer": { + "http": "/orion-indexer/" + } + } } } }, diff --git a/src/constants/chains.ts b/src/constants/chains.ts index 0219047..3b03a72 100644 --- a/src/constants/chains.ts +++ b/src/constants/chains.ts @@ -18,4 +18,5 @@ export const productionChains = [ SupportedChainId.LINEA, SupportedChainId.AVAX, SupportedChainId.BASE, + SupportedChainId.LUMIA, ]; diff --git a/src/types.ts b/src/types.ts index 602f593..0267700 100644 --- a/src/types.ts +++ b/src/types.ts @@ -92,6 +92,7 @@ export enum SupportedChainId { ARBITRUM = '42161', AVAX = '43114', LINEA = '59144', + LUMIA = '994873017', BSC_TESTNET = '97', SEPOLIA = '11155111',