From e8dd8bd6751dd0376b6d60ac85c8e4dcabc830ae Mon Sep 17 00:00:00 2001 From: Daniela Chybisova Date: Wed, 15 Jul 2026 17:19:04 +0200 Subject: [PATCH 1/3] feat: add new chain Injective --- package.json | 2 +- pnpm-lock.yaml | 10 +++---- src/chains/foundry.ts | 1 + src/chains/supportedChains.evm.ts | 25 ++++++++++++++++++ src/coins/coins.ts | 43 +++++++++++++++++++++++++++++++ src/multicall.ts | 1 + 6 files changed, 76 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 84459f2..1c34a91 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "17.85.0" + "@lifi/types": "17.86.0-alpha.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fcaa57e..21e88a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 17.85.0 - version: 17.85.0 + specifier: 17.86.0-alpha.0 + version: 17.86.0-alpha.0 devDependencies: '@commitlint/cli': specifier: ^19.7.1 @@ -440,8 +440,8 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@lifi/types@17.85.0': - resolution: {integrity: sha512-EueQyqhyvZbHygkyxj9EPAhUwn69ViRn9zJ56UnZlXsHlOZ/NdNVWxUwrVFVuRt/8qkdZH35R/1vE+SOxFHCNw==} + '@lifi/types@17.86.0-alpha.0': + resolution: {integrity: sha512-QJVgJ3BhwHpkcs3TXqoH48nN9C5nDMTZ0FJXXoBeQjYQw8HO2hoWeSNqVBGB/G0B7xQZULzClbziieqH3DyNCQ==} '@mysten/bcs@1.9.2': resolution: {integrity: sha512-kBk5xrxV9OWR7i+JhL/plQrgQ2/KJhB2pB5gj+w6GXhbMQwS3DPpOvi/zN0Tj84jwPvHMllpEl0QHj6ywN7/eQ==} @@ -3141,7 +3141,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@lifi/types@17.85.0': {} + '@lifi/types@17.86.0-alpha.0': {} '@mysten/bcs@1.9.2': dependencies: diff --git a/src/chains/foundry.ts b/src/chains/foundry.ts index 0922711..f0c31ca 100644 --- a/src/chains/foundry.ts +++ b/src/chains/foundry.ts @@ -84,6 +84,7 @@ export const foundryChainNameMap: Record = { [ChainId.SOM]: 'somnia', [ChainId.OUT]: 'outlaw', [ChainId.ARC]: 'arc', + [ChainId.INJ]: 'injective', [ChainId.OPST]: 'optimismsepolia', [ChainId.BAST]: 'basesepolia', [ChainId.ARBS]: 'arbitrumsepolia', diff --git a/src/chains/supportedChains.evm.ts b/src/chains/supportedChains.evm.ts index 0707795..2acd837 100644 --- a/src/chains/supportedChains.evm.ts +++ b/src/chains/supportedChains.evm.ts @@ -2223,4 +2223,29 @@ export const supportedEVMChains: EVMChain[] = [ rpcUrls: ['https://arc-rpc.transferto.xyz/'], }, }, + + // 1776 - Injective + { + key: ChainKey.INJ, + chainType: ChainType.EVM, + name: 'Injective', + coin: CoinKey.INJ, + id: ChainId.INJ, + mainnet: true, + logoURI: + 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/injective.svg', + multicallAddress: multicallAddresses[ChainId.INJ], + relayerSupported: false, + metamask: { + chainId: prefixChainId(ChainId.INJ), + blockExplorerUrls: ['https://blockscout.injective.network/'], + chainName: 'Injective', + nativeCurrency: { + name: 'Injective', + symbol: 'INJ', + decimals: 18, + }, + rpcUrls: ['https://sentry.evm-rpc.injective.network'], + }, + }, ] diff --git a/src/coins/coins.ts b/src/coins/coins.ts index e5cef35..2346562 100644 --- a/src/coins/coins.ts +++ b/src/coins/coins.ts @@ -1198,6 +1198,10 @@ export const basicCoins: BasicCoin[] = [ address: '0xc879c018db60520f4355c26ed1a6d572cdac1815', decimals: 6, }, + [ChainId.INJ]: { + address: '0xa00C59fF5a080D2b954d0c75e46E22a0c371235a', + decimals: 6, + }, }, }, // USDC.e @@ -3694,6 +3698,35 @@ export const basicCoins: BasicCoin[] = [ }, }, + // > Injective + { + key: CoinKey.INJ, + name: 'Injective', + logoURI: + 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/injective.svg', + verified: true, + chains: { + [ChainId.INJ]: { + address: '0x0000000000000000000000000000000000000000', + decimals: 18, + }, + }, + }, + + { + key: CoinKey.WINJ, + name: 'Wrapped INJ', + logoURI: + 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/injective.svg', + verified: true, + chains: { + [ChainId.INJ]: { + address: '0x0000000088827d2d103ee2d9A6b781773AE03FfB', + decimals: 18, + }, + }, + }, + // > Bitcoin { key: CoinKey.BTC, @@ -4675,6 +4708,16 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = { logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/somnia.svg', }, + [ChainId.INJ]: { + address: '0x0000000088827d2d103ee2d9A6b781773AE03FfB', + symbol: CoinKey.WINJ, + decimals: 18, + chainId: ChainId.INJ, + coinKey: CoinKey.WINJ, + name: 'Wrapped INJ', + logoURI: + 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/injective.svg', + }, [ChainId.OPST]: { address: '0x4200000000000000000000000000000000000006', symbol: 'WETH', diff --git a/src/multicall.ts b/src/multicall.ts index 09be825..3935993 100644 --- a/src/multicall.ts +++ b/src/multicall.ts @@ -91,6 +91,7 @@ export const multicallAddresses: { [ChainId: number]: string } = { [ChainId.SOM]: '0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11', [ChainId.OUT]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.ARC]: '0xcA11bde05977b3631167028862bE2a173976CA11', + [ChainId.INJ]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.OPST]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.BAST]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.ARBS]: '0xcA11bde05977b3631167028862bE2a173976CA11', From 5fa4a20b8fd03d3fb12866cece00f51d530fefdb Mon Sep 17 00:00:00 2001 From: Daniela Chybisova Date: Wed, 15 Jul 2026 17:19:13 +0200 Subject: [PATCH 2/3] chore(release): 6.83.0-alpha.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1c34a91..1751f0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/data-types", - "version": "6.82.4", + "version": "6.83.0-alpha.0", "description": "Data types for the LI.FI stack", "keywords": [ "sdk", From 8215c4673191b01552c918e78c2aa1f03e3ec890 Mon Sep 17 00:00:00 2001 From: Daniela Chybisova Date: Thu, 16 Jul 2026 11:06:07 +0200 Subject: [PATCH 3/3] chore: stable types --- package.json | 4 ++-- pnpm-lock.yaml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 1751f0e..9a7de24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/data-types", - "version": "6.83.0-alpha.0", + "version": "6.82.4", "description": "Data types for the LI.FI stack", "keywords": [ "sdk", @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "17.86.0-alpha.0" + "@lifi/types": "17.86.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 21e88a5..e7da74e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 17.86.0-alpha.0 - version: 17.86.0-alpha.0 + specifier: 17.86.0 + version: 17.86.0 devDependencies: '@commitlint/cli': specifier: ^19.7.1 @@ -440,8 +440,8 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@lifi/types@17.86.0-alpha.0': - resolution: {integrity: sha512-QJVgJ3BhwHpkcs3TXqoH48nN9C5nDMTZ0FJXXoBeQjYQw8HO2hoWeSNqVBGB/G0B7xQZULzClbziieqH3DyNCQ==} + '@lifi/types@17.86.0': + resolution: {integrity: sha512-VkEK2c7pL2P49cVZfSW76pbMJNCrWC4ge2FmyexyZW71XA56bv+AAj9zL8zeEQVQUnMnekQVC1EHVBlx5uBwdg==} '@mysten/bcs@1.9.2': resolution: {integrity: sha512-kBk5xrxV9OWR7i+JhL/plQrgQ2/KJhB2pB5gj+w6GXhbMQwS3DPpOvi/zN0Tj84jwPvHMllpEl0QHj6ywN7/eQ==} @@ -3141,7 +3141,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@lifi/types@17.86.0-alpha.0': {} + '@lifi/types@17.86.0': {} '@mysten/bcs@1.9.2': dependencies: