Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
]
},
"dependencies": {
"@lifi/types": "18.2.0"
"@lifi/types": "18.4.0"
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/chains/foundry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const foundryChainNameMap: Record<ChainId, string> = {
[ChainId.OPST]: 'optimismsepolia',
[ChainId.BAST]: 'basesepolia',
[ChainId.ARBS]: 'arbitrumsepolia',
[ChainId.ETHS]: 'sepolia',

// Custom chains
[7777777 as ChainId]: 'zora',
Expand Down
25 changes: 25 additions & 0 deletions src/chains/supportedChains.evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
23 changes: 21 additions & 2 deletions src/coins/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ export const basicCoins: BasicCoin[] = [
address: '0x0000000000000000000000000000000000000000',
decimals: 18,
},
[ChainId.ETHS]: {
address: '0x0000000000000000000000000000000000000000',
decimals: 18,
},
[ChainId.LTR]: {
address: '0x0000000000000000000000000000000000000000',
decimals: 18,
Expand Down Expand Up @@ -1144,6 +1148,10 @@ export const basicCoins: BasicCoin[] = [
address: '0x036CbD53842c5426634e7929541eC2318f3dCF7e',
decimals: 6,
},
[ChainId.ETHS]: {
address: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238',
decimals: 6,
},
[ChainId.PHR]: {
address: '0xc879c018db60520f4355c26ed1a6d572cdac1815',
decimals: 6,
Expand Down Expand Up @@ -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,
Expand All @@ -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',
Expand Down
1 change: 1 addition & 0 deletions src/multicall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading