diff --git a/package.json b/package.json index 9aee026..70ebf34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.19.92-rc117", + "version": "0.19.92-rc118", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/config/chains.json b/src/config/chains.json index dff233a..e7c2471 100644 --- a/src/config/chains.json +++ b/src/config/chains.json @@ -102,16 +102,16 @@ "curveRegistry": "" } }, - "421613": { - "chainId": "421613", - "explorer": "https://goerli.arbiscan.io/", - "label": "Arbitrum Goerli", - "shortName": "Arbitrum Goerli", - "code": "arb", - "rpc": "https://goerli-rollup.arbitrum.io/rpc", - "baseCurrencyName": "ETH", + "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": "", + "WETH": "0x1a1aF9C78704D3a0Ab9e031C92E7bd808711A582", "curveRegistry": "" } }, diff --git a/src/config/envs.json b/src/config/envs.json index ba334bc..d79cfb2 100644 --- a/src/config/envs.json +++ b/src/config/envs.json @@ -263,62 +263,8 @@ } } }, - "421613": { - "api": "https://testing.orion.xyz/arbitrum-goerli", - "services": { - "aggregator": { - "http": "/backend", - "ws": "/v1" - }, - "blockchain": { - "http": "" - }, - "priceFeed": { - "all": "/price-feed" - }, - "indexer": { - "http": "/orion-indexer/" - } - } - }, - "4002": { - "api": "https://testing.orion.xyz/ftm-testnet", - "services": { - "aggregator": { - "http": "/backend", - "ws": "/v1" - }, - "blockchain": { - "http": "" - }, - "priceFeed": { - "all": "/price-feed" - }, - "indexer": { - "http": "/orion-indexer/" - } - } - }, - "80001": { - "api": "https://testing.orion.xyz/polygon-mumbai", - "services": { - "aggregator": { - "http": "/backend", - "ws": "/v1" - }, - "blockchain": { - "http": "" - }, - "priceFeed": { - "all": "/price-feed" - }, - "indexer": { - "http": "/orion-indexer/" - } - } - }, - "56303": { - "api": "https://testing.orion.xyz/drip-testnet", + "1952959480": { + "api": "https://testing.orion.xyz/lumia-testnet", "services": { "aggregator": { "http": "/backend", diff --git a/src/constants/chains.ts b/src/constants/chains.ts index d0211bb..454833a 100644 --- a/src/constants/chains.ts +++ b/src/constants/chains.ts @@ -10,6 +10,7 @@ export const developmentChains = [ SupportedChainId.POLYGON_TESTNET, SupportedChainId.OKC_TESTNET, 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 9853d73..4036291 100644 --- a/src/types.ts +++ b/src/types.ts @@ -104,6 +104,7 @@ export enum SupportedChainId { DRIP_TESTNET = '56303', ARBITRUM_GOERLI = '421613', EVENT_HORIZON_TESTNET = '123420000034', + LUMIA_TESTNET = '1952959480', // For testing and debug purpose // BROKEN = '0',