diff --git a/src/consts/chains.ts b/src/consts/chains.ts index 9083e108..f5e7c981 100644 --- a/src/consts/chains.ts +++ b/src/consts/chains.ts @@ -1,4 +1,5 @@ -import { ChainMap, ChainMetadata } from '@hyperlane-xyz/sdk'; +import { ChainMap, ChainMetadata, ExplorerFamily } from '@hyperlane-xyz/sdk'; +import { ProtocolType } from '@hyperlane-xyz/utils'; // A map of chain names to ChainMetadata // Chains can be defined here, in chains.json, or in chains.yaml @@ -28,4 +29,31 @@ export const chains: ChainMap = { // }, // logoURI: '/logo.svg', // }, + plumetestnet: { + blockExplorers: [ + { + apiUrl: 'https://plume-testnet.explorer.caldera.xyz/api', + family: ExplorerFamily.Blockscout, + name: 'Plume Testnet Explorer', + url: 'https://plume-testnet.explorer.caldera.xyz', + }, + ], + blocks: { + confirmations: 1, + estimateBlockTime: 3, + reorgPeriod: 1, + }, + chainId: 161221135, + displayName: 'Plume Testnet', + domainId: 161221135, + isTestnet: true, + name: 'plumetestnet', + nativeToken: { + decimals: 18, + name: 'Ether', + symbol: 'ETH', + }, + protocol: ProtocolType.Ethereum, + rpcUrls: [{ http: 'https://plume-testnet.rpc.caldera.xyz/http' }], + }, }; diff --git a/src/consts/tokens.ts b/src/consts/tokens.ts index 7b947e81..d61ea156 100644 --- a/src/consts/tokens.ts +++ b/src/consts/tokens.ts @@ -4,27 +4,14 @@ import { WarpTokenConfig } from '../features/tokens/types'; // Tokens can be defined here, in tokens.json, or in tokens.yaml // The input here is typically the output of the Hyperlane CLI warp deploy command export const tokenList: WarpTokenConfig = [ - // Example collateral token for an EVM chain + // Sepolia Eth to Plume { - type: 'collateral', - chainId: 5, - address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6', - hypCollateralAddress: '0x145de8760021c4ac6676376691b78038d3DE9097', - name: 'Weth', - symbol: 'WETH', + type: 'native', + chainId: 11155111, + hypNativeAddress: '0xd99eA1D8b9542D35252504DDd59EDe8C43FB15fd', + name: 'Ether', + symbol: 'ETH', decimals: 18, - logoURI: '/logos/weth.png', // See public/logos/ - }, - - // Example NFT (ERC721) token for an EVM chain - { - chainId: 5, - name: 'Test721', - symbol: 'TEST721', - decimals: 0, - type: 'collateral', - address: '0x77566D540d1E207dFf8DA205ed78750F9a1e7c55', - hypCollateralAddress: '0xDcbc0faAA269Cf649AC8950838664BB7B355BD6B', - isNft: true, + logoURI: '/logos/weth.png', }, ];