diff --git a/src/config/chains.json b/src/config/chains.json index 5d2b030..3b673ed 100644 --- a/src/config/chains.json +++ b/src/config/chains.json @@ -77,6 +77,19 @@ "curveRegistry": "" } }, + "1952959480": { + "chainId": "1952959480", + "explorer": "https://testnet-explorer.lumia.org/", + "label": "Lumia Testnet", + "shortName": "Lumia Testnet", + "code": "lumia", + "rpc": "https://testnet-rpc.lumia.org", + "baseCurrencyName": "LUMIA", + "contracts": { + "WETH": "0x1a1aF9C78704D3a0Ab9e031C92E7bd808711A582", + "curveRegistry": "" + } + }, "42161": { "chainId": "42161", "explorer": "https://arbiscan.io/", diff --git a/src/config/envs.json b/src/config/envs.json index 112577e..789cb5c 100644 --- a/src/config/envs.json +++ b/src/config/envs.json @@ -262,6 +262,24 @@ "http": "/orion-indexer/" } } + }, + "1952959480": { + "api": "https://testing.orion.xyz/lumia-testnet", + "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 969f15d..0219047 100644 --- a/src/constants/chains.ts +++ b/src/constants/chains.ts @@ -4,6 +4,7 @@ export const developmentChains = [ SupportedChainId.BSC_TESTNET, SupportedChainId.SEPOLIA, SupportedChainId.EVENT_HORIZON_TESTNET, + SupportedChainId.LUMIA_TESTNET, ]; export const productionChains = [ SupportedChainId.MAINNET, diff --git a/src/constants/networkCodes.ts b/src/constants/networkCodes.ts index 498e149..76e0d93 100644 --- a/src/constants/networkCodes.ts +++ b/src/constants/networkCodes.ts @@ -1 +1 @@ -export default ['ftm', 'bsc', 'eth', 'polygon', 'okc', 'arb', 'drip', 'opbnb', 'inevm', 'linea', 'avax', 'base'] as const; +export default ['ftm', 'bsc', 'eth', 'polygon', 'okc', 'arb', 'drip', 'opbnb', 'inevm', 'linea', 'avax', 'base', 'lumia'] as const; diff --git a/src/constants/uppercasedNetworkCodes.ts b/src/constants/uppercasedNetworkCodes.ts index e69605f..9c8e9f2 100644 --- a/src/constants/uppercasedNetworkCodes.ts +++ b/src/constants/uppercasedNetworkCodes.ts @@ -1 +1 @@ -export default ['FTM', 'BSC', 'ETH', 'POLYGON', 'OKC', 'ARB', 'OPBNB', 'INEVM', 'LINEA', 'AVAX', 'BASE'] as const; +export default ['FTM', 'BSC', 'ETH', 'POLYGON', 'OKC', 'ARB', 'OPBNB', 'INEVM', 'LINEA', 'AVAX', 'BASE', 'LUMIA'] as const; diff --git a/src/types.ts b/src/types.ts index f9639e6..602f593 100644 --- a/src/types.ts +++ b/src/types.ts @@ -96,6 +96,7 @@ export enum SupportedChainId { BSC_TESTNET = '97', SEPOLIA = '11155111', EVENT_HORIZON_TESTNET = '123420000034', + LUMIA_TESTNET = '1952959480', // For testing and debug purpose // BROKEN = '0',