From f47b239376fad56b375b9c5395dfc7503b163a77 Mon Sep 17 00:00:00 2001 From: Semir Ramovic Date: Tue, 25 Aug 2026 17:11:40 +0200 Subject: [PATCH 1/6] feat: add new chain Ethereum Sepolia Testnet --- src/chains/foundry.ts | 1 + src/chains/supportedChains.evm.ts | 25 +++++++++++++++++++++++++ src/coins/coins.ts | 23 +++++++++++++++++++++-- src/multicall.ts | 1 + 4 files changed, 48 insertions(+), 2 deletions(-) diff --git a/src/chains/foundry.ts b/src/chains/foundry.ts index 99580ba..b4abd9c 100644 --- a/src/chains/foundry.ts +++ b/src/chains/foundry.ts @@ -82,6 +82,7 @@ export const foundryChainNameMap: Record = { [ChainId.OPST]: 'optimismsepolia', [ChainId.BAST]: 'basesepolia', [ChainId.ARBS]: 'arbitrumsepolia', + [ChainId.ETHS]: 'sepolia', // Custom chains [7777777 as ChainId]: 'zora', diff --git a/src/chains/supportedChains.evm.ts b/src/chains/supportedChains.evm.ts index aa71564..990e74d 100644 --- a/src/chains/supportedChains.evm.ts +++ b/src/chains/supportedChains.evm.ts @@ -1998,6 +1998,31 @@ export const supportedEVMChains: EVMChain[] = [ }, }, + // 11155111 - Ethereum Sepolia Testnet + { + key: ChainKey.ETHS, + chainType: ChainType.EVM, + name: 'Ethereum Sepolia Testnet', + coin: CoinKey.ETH, + id: ChainId.ETHS, + mainnet: false, + logoURI: + 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg', + relayerSupported: false, + multicallAddress: multicallAddresses[ChainId.ETHS], + metamask: { + chainId: prefixChainId(ChainId.ETHS), + blockExplorerUrls: ['https://sepolia.etherscan.io'], + chainName: 'Ethereum Sepolia Testnet', + nativeCurrency: { + name: 'Ether', + symbol: 'ETH', + decimals: 18, + }, + rpcUrls: ['https://ethereum-sepolia-rpc.publicnode.com'], + }, + }, + // 5031 - Somnia { key: ChainKey.SOM, diff --git a/src/coins/coins.ts b/src/coins/coins.ts index 37da14a..8d09816 100644 --- a/src/coins/coins.ts +++ b/src/coins/coins.ts @@ -195,6 +195,10 @@ export const basicCoins: BasicCoin[] = [ address: '0x0000000000000000000000000000000000000000', decimals: 18, }, + [ChainId.ETHS]: { + address: '0x0000000000000000000000000000000000000000', + decimals: 18, + }, [ChainId.LTR]: { address: '0x0000000000000000000000000000000000000000', decimals: 18, @@ -1144,6 +1148,10 @@ export const basicCoins: BasicCoin[] = [ address: '0x036CbD53842c5426634e7929541eC2318f3dCF7e', decimals: 6, }, + [ChainId.ETHS]: { + address: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238', + decimals: 6, + }, [ChainId.PHR]: { address: '0xc879c018db60520f4355c26ed1a6d572cdac1815', decimals: 6, @@ -4547,8 +4555,8 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = { 'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png', }, [ChainId.ARBS]: { - // https://sepolia.arbiscan.io/token/0x2836ae2ea2c013acd38028fd0c77b92cccfa2ee4 - address: '0x2836ae2ea2c013acd38028fd0c77b92cccfa2ee4', + // https://sepolia.arbiscan.io/token/0x980b62da83eff3d4576c647993b0c1d7faf17c73 + address: '0x980B62Da83eFf3D4576C647993b0c1D7faf17c73', symbol: 'WETH', decimals: 18, chainId: ChainId.ARBS, @@ -4557,6 +4565,17 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = { logoURI: 'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png', }, + [ChainId.ETHS]: { + // https://sepolia.etherscan.io/token/0xfff9976782d46cc05630d1f6ebab18b2324d6b14 + address: '0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14', + symbol: 'WETH', + decimals: 18, + chainId: ChainId.ETHS, + coinKey: CoinKey.WETH, + name: 'Wrapped Ether', + logoURI: + 'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png', + }, [ChainId.OUT]: { address: '0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73', symbol: 'WETH', diff --git a/src/multicall.ts b/src/multicall.ts index 972c118..5054945 100644 --- a/src/multicall.ts +++ b/src/multicall.ts @@ -89,6 +89,7 @@ export const multicallAddresses: { [ChainId: number]: string } = { [ChainId.OPST]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.BAST]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.ARBS]: '0xcA11bde05977b3631167028862bE2a173976CA11', + [ChainId.ETHS]: '0xcA11bde05977b3631167028862bE2a173976CA11', // TODO // [ChainId.EXP]: '', // TODO From a53d01b62c1e1cbe0191c7bc79800111bacb2403 Mon Sep 17 00:00:00 2001 From: Semir Ramovic Date: Tue, 25 Aug 2026 17:50:07 +0200 Subject: [PATCH 2/6] chore: bump @lifi/types to 18.3.0-alpha.0 --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 75f87e5..5661c69 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "18.2.0" + "@lifi/types": "18.3.0-alpha.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7aac009..53e8b93 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 18.2.0 - version: 18.2.0 + specifier: 18.3.0-alpha.0 + version: 18.3.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@18.2.0': - resolution: {integrity: sha512-ap0p93xeLAMAnSQfGaeV6Gb2SLcgmyUOXav9w7fBHIcDK87Oio+On7WF4syknpwBd/JfbTV/gpH+Yfs2biQJcA==} + '@lifi/types@18.3.0-alpha.0': + resolution: {integrity: sha512-vDxnCOxZvbpbqjlPGyAWp5K3GdUfyiyyGBv5MvqVnQsEiqIZtmFfNTKu/2vWzO0O9BFUCW5iX89Ul9CBhmdwow==} '@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@18.2.0': {} + '@lifi/types@18.3.0-alpha.0': {} '@mysten/bcs@1.9.2': dependencies: From bdb9c1cf6207739b2d9573e04334b76b051cfa82 Mon Sep 17 00:00:00 2001 From: Semir Ramovic Date: Wed, 26 Aug 2026 15:34:47 +0200 Subject: [PATCH 3/6] chore(release): 7.1.0-alpha.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5661c69..249f50c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/data-types", - "version": "7.0.1", + "version": "7.1.0-alpha.0", "description": "Data types for the LI.FI stack", "keywords": [ "sdk", From 3bf457fd73a13847730461da89841b2a9ce2edf4 Mon Sep 17 00:00:00 2001 From: Semir Ramovic Date: Thu, 27 Aug 2026 13:26:11 +0200 Subject: [PATCH 4/6] chore: bump @lifi/types to 18.4.0-alpha.0 --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 249f50c..8188437 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "18.3.0-alpha.0" + "@lifi/types": "18.4.0-alpha.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53e8b93..4fd60fe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 18.3.0-alpha.0 - version: 18.3.0-alpha.0 + specifier: 18.4.0-alpha.0 + version: 18.4.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@18.3.0-alpha.0': - resolution: {integrity: sha512-vDxnCOxZvbpbqjlPGyAWp5K3GdUfyiyyGBv5MvqVnQsEiqIZtmFfNTKu/2vWzO0O9BFUCW5iX89Ul9CBhmdwow==} + '@lifi/types@18.4.0-alpha.0': + resolution: {integrity: sha512-Otru5ZmBTQQucjHLaWfcW+aUfSUFf+TaEklliBvKo0Kabi+OF+1nzG2wdIf2Kjo9zidKemm87tnbzASXAx5WEw==} '@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@18.3.0-alpha.0': {} + '@lifi/types@18.4.0-alpha.0': {} '@mysten/bcs@1.9.2': dependencies: From 0f9312e58e787a283c84f19e07a9da0f7ef689df Mon Sep 17 00:00:00 2001 From: Semir Ramovic Date: Thu, 27 Aug 2026 13:26:21 +0200 Subject: [PATCH 5/6] chore(release): 7.1.0-alpha.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8188437..1c53dd5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/data-types", - "version": "7.1.0-alpha.0", + "version": "7.1.0-alpha.1", "description": "Data types for the LI.FI stack", "keywords": [ "sdk", From 72660d655740354f067bc777228b625f142cd2df Mon Sep 17 00:00:00 2001 From: Semir Ramovic Date: Thu, 27 Aug 2026 18:53:55 +0200 Subject: [PATCH 6/6] 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 1c53dd5..661c045 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/data-types", - "version": "7.1.0-alpha.1", + "version": "7.0.1", "description": "Data types for the LI.FI stack", "keywords": [ "sdk", @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "18.4.0-alpha.0" + "@lifi/types": "18.4.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4fd60fe..e850346 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 18.4.0-alpha.0 - version: 18.4.0-alpha.0 + specifier: 18.4.0 + version: 18.4.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@18.4.0-alpha.0': - resolution: {integrity: sha512-Otru5ZmBTQQucjHLaWfcW+aUfSUFf+TaEklliBvKo0Kabi+OF+1nzG2wdIf2Kjo9zidKemm87tnbzASXAx5WEw==} + '@lifi/types@18.4.0': + resolution: {integrity: sha512-H0c2fwrS7fyPLVzEf8UydZ1rfNXCxW7TGfsqf0goGH2BiLIkcBAVIpiCzuIB+YBgKCwZ53wIvgBa+6AZe7Y5PQ==} '@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@18.4.0-alpha.0': {} + '@lifi/types@18.4.0': {} '@mysten/bcs@1.9.2': dependencies: