export enum NetworkType { MAINNET = 'mainnet', TESTNET = 'testnet' } export type BlockExplorerConfig = { name?: string rootUrl: string addressUrl?: string txnHashUrl?: string } export interface NetworkMetadata { chainId: ChainId type?: NetworkType name: string title?: string logoURI?: string blockExplorer?: BlockExplorerConfig ensAddress?: string testnet?: boolean // Deprecated field, use type instead deprecated?: boolean // The actual network is deprecated nativeToken: { symbol: string name: string decimals: number } } export enum ChainId { // Ethereum MAINNET = 1, ROPSTEN = 3, // network is deprecated RINKEBY = 4, // network is deprecated GOERLI = 5, // network is deprecated KOVAN = 42, // network is deprecated SEPOLIA = 11155111, // Polygon POLYGON = 137, POLYGON_MUMBAI = 80001, // network is deprecated POLYGON_ZKEVM = 1101, // network is deprecated POLYGON_AMOY = 80002, // BSC BSC = 56, BSC_TESTNET = 97, // Optimism OPTIMISM = 10, OPTIMISM_KOVAN = 69, // network is deprecated OPTIMISM_GOERLI = 420, // network is deprecated OPTIMISM_SEPOLIA = 11155420, // Arbitrum One ARBITRUM = 42161, ARBITRUM_GOERLI = 421613, // network is deprecated ARBITRUM_SEPOLIA = 421614, // Arbitrum Nova ARBITRUM_NOVA = 42170, // Avalanche AVALANCHE = 43114, AVALANCHE_TESTNET = 43113, // Gnosis Chain (XDAI) GNOSIS = 100, // BASE BASE = 8453, BASE_GOERLI = 84531, // network is deprecated BASE_SEPOLIA = 84532, // HOMEVERSE HOMEVERSE_TESTNET = 40875, HOMEVERSE = 19011, // Xai XAI = 660279, // network is deprecated XAI_SEPOLIA = 37714555429, // network is deprecated // TELOS TELOS = 40, TELOS_TESTNET = 41, // B3 Sepolia B3 = 8333, B3_SEPOLIA = 1993, // APE Chain APECHAIN = 33139, APECHAIN_TESTNET = 33111, // Blast BLAST = 81457, // network is deprecated BLAST_SEPOLIA = 168587773, // network is deprecated // Borne BORNE_TESTNET = 94984, // network is deprecated // SKALE Nebula SKALE_NEBULA = 1482601649, SKALE_NEBULA_TESTNET = 37084624, // Soneium Minato SONEIUM_MINATO = 1946, SONEIUM = 1868, // TOY Testnet TOY_TESTNET = 21000000, // Immutable zkEVM IMMUTABLE_ZKEVM = 13371, IMMUTABLE_ZKEVM_TESTNET = 13473, // HARDHAT TESTNETS HARDHAT = 31337, HARDHAT_2 = 31338, // ETHERLINK ETHERLINK = 42793, ETHERLINK_TESTNET = 128123, ETHERLINK_SHADOWNET_TESTNET = 127823, // MOONBEAM MOONBEAM = 1284, MOONBASE_ALPHA = 1287, // MONAD_TESTNET MONAD_TESTNET = 10143, MONAD = 143, // SOMNIA SOMNIA_TESTNET = 50312, SOMNIA = 5031, // INCENTIV TESTNET INCENTIV_TESTNET = 11690, // network is deprecated INCENTIV_TESTNET_V2 = 28802, INCENTIV = 24101, // Katana KATANA = 747474, // SANDBOX SANDBOX_TESTNET = 6252, // ARC ARC_TESTNET = 5042002, // HYPEREVM HYPEREVM = 999, // SONIC SONIC = 146, // BERACHAIN BERACHAIN = 80094, // TEMPO TEMPO = 4217 } export const networks: Record = { [ChainId.MAINNET]: { chainId: ChainId.MAINNET, type: NetworkType.MAINNET, name: 'mainnet', title: 'Ethereum', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.MAINNET}.webp`, blockExplorer: { name: 'Etherscan', rootUrl: 'https://etherscan.io/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 }, ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e' }, [ChainId.ROPSTEN]: { chainId: ChainId.ROPSTEN, type: NetworkType.TESTNET, name: 'ropsten', title: 'Ropsten', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ROPSTEN}.webp`, testnet: true, blockExplorer: { name: 'Etherscan (Ropsten)', rootUrl: 'https://ropsten.etherscan.io/' }, nativeToken: { symbol: 'roETH', name: 'Ropsten Ether', decimals: 18 }, ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', deprecated: true }, [ChainId.RINKEBY]: { chainId: ChainId.RINKEBY, type: NetworkType.TESTNET, name: 'rinkeby', title: 'Rinkeby', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.RINKEBY}.webp`, testnet: true, blockExplorer: { name: 'Etherscan (Rinkeby)', rootUrl: 'https://rinkeby.etherscan.io/' }, nativeToken: { symbol: 'rETH', name: 'Rinkeby Ether', decimals: 18 }, ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', deprecated: true }, [ChainId.GOERLI]: { chainId: ChainId.GOERLI, type: NetworkType.TESTNET, name: 'goerli', title: 'Goerli', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.GOERLI}.webp`, testnet: true, blockExplorer: { name: 'Etherscan (Goerli)', rootUrl: 'https://goerli.etherscan.io/' }, nativeToken: { symbol: 'gETH', name: 'Goerli Ether', decimals: 18 }, ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', deprecated: true }, [ChainId.KOVAN]: { chainId: ChainId.KOVAN, type: NetworkType.TESTNET, name: 'kovan', title: 'Kovan', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.KOVAN}.webp`, testnet: true, blockExplorer: { name: 'Etherscan (Kovan)', rootUrl: 'https://kovan.etherscan.io/' }, nativeToken: { symbol: 'kETH', name: 'Kovan Ether', decimals: 18 }, deprecated: true }, [ChainId.SEPOLIA]: { chainId: ChainId.SEPOLIA, type: NetworkType.TESTNET, name: 'sepolia', title: 'Sepolia', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SEPOLIA}.webp`, testnet: true, blockExplorer: { name: 'Etherscan (Sepolia)', rootUrl: 'https://sepolia.etherscan.io/' }, nativeToken: { symbol: 'sETH', name: 'Sepolia Ether', decimals: 18 } }, [ChainId.POLYGON]: { chainId: ChainId.POLYGON, type: NetworkType.MAINNET, name: 'polygon', title: 'Polygon', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.POLYGON}.webp`, blockExplorer: { name: 'Polygonscan', rootUrl: 'https://polygonscan.com/' }, nativeToken: { symbol: 'POL', name: 'POL', decimals: 18 } }, [ChainId.POLYGON_MUMBAI]: { chainId: ChainId.POLYGON_MUMBAI, type: NetworkType.TESTNET, name: 'mumbai', title: 'Polygon Mumbai', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.POLYGON_MUMBAI}.webp`, testnet: true, blockExplorer: { name: 'Polygonscan (Mumbai)', rootUrl: 'https://mumbai.polygonscan.com/' }, nativeToken: { symbol: 'mMATIC', name: 'Mumbai Polygon', decimals: 18 }, deprecated: true }, [ChainId.POLYGON_AMOY]: { chainId: ChainId.POLYGON_AMOY, type: NetworkType.TESTNET, name: 'amoy', title: 'Polygon Amoy', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.POLYGON_AMOY}.webp`, testnet: true, blockExplorer: { name: 'OKLink (Amoy)', rootUrl: 'https://www.oklink.com/amoy/' }, nativeToken: { symbol: 'aPOL', name: 'Amoy POL', decimals: 18 } }, [ChainId.POLYGON_ZKEVM]: { chainId: ChainId.POLYGON_ZKEVM, type: NetworkType.MAINNET, name: 'polygon-zkevm', title: 'Polygon zkEVM', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.POLYGON_ZKEVM}.webp`, blockExplorer: { name: 'Polygonscan (zkEVM)', rootUrl: 'https://zkevm.polygonscan.com/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 }, deprecated: true }, [ChainId.BSC]: { chainId: ChainId.BSC, type: NetworkType.MAINNET, name: 'bsc', title: 'BNB Smart Chain', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BSC}.webp`, blockExplorer: { name: 'BSCScan', rootUrl: 'https://bscscan.com/' }, nativeToken: { symbol: 'BNB', name: 'BNB', decimals: 18 } }, [ChainId.BSC_TESTNET]: { chainId: ChainId.BSC_TESTNET, type: NetworkType.TESTNET, name: 'bsc-testnet', title: 'BNB Smart Chain Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BSC_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'BSCScan (Testnet)', rootUrl: 'https://testnet.bscscan.com/' }, nativeToken: { symbol: 'tBNB', name: 'Testnet BNB', decimals: 18 } }, [ChainId.OPTIMISM]: { chainId: ChainId.OPTIMISM, type: NetworkType.MAINNET, name: 'optimism', title: 'Optimism', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.OPTIMISM}.webp`, blockExplorer: { name: 'Etherscan (Optimism)', rootUrl: 'https://optimistic.etherscan.io/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.OPTIMISM_KOVAN]: { chainId: ChainId.OPTIMISM_KOVAN, type: NetworkType.TESTNET, name: 'optimism-kovan', title: 'Optimism Kovan', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.OPTIMISM_KOVAN}.webp`, testnet: true, blockExplorer: { name: 'Etherscan (Optimism Kovan)', rootUrl: 'https://kovan-optimistic.etherscan.io/' }, nativeToken: { symbol: 'kETH', name: 'Kovan Ether', decimals: 18 }, deprecated: true }, [ChainId.OPTIMISM_GOERLI]: { chainId: ChainId.OPTIMISM_GOERLI, type: NetworkType.TESTNET, name: 'optimism-goerli', title: 'Optimism Goerli', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.OPTIMISM_GOERLI}.webp`, testnet: true, blockExplorer: { name: 'Etherscan (Optimism Goerli)', rootUrl: 'https://goerli-optimistic.etherscan.io/' }, nativeToken: { symbol: 'gETH', name: 'Goerli Ether', decimals: 18 }, deprecated: true }, [ChainId.OPTIMISM_SEPOLIA]: { chainId: ChainId.OPTIMISM_SEPOLIA, type: NetworkType.TESTNET, name: 'optimism-sepolia', title: 'Optimism Sepolia', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.OPTIMISM_SEPOLIA}.webp`, testnet: true, blockExplorer: { name: 'Etherscan (Optimism Sepolia)', rootUrl: 'https://sepolia-optimistic.etherscan.io/' }, nativeToken: { symbol: 'sETH', name: 'Sepolia Ether', decimals: 18 } }, [ChainId.ARBITRUM]: { chainId: ChainId.ARBITRUM, type: NetworkType.MAINNET, name: 'arbitrum', title: 'Arbitrum One', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ARBITRUM}.webp`, blockExplorer: { name: 'Arbiscan', rootUrl: 'https://arbiscan.io/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.ARBITRUM_GOERLI]: { chainId: ChainId.ARBITRUM_GOERLI, type: NetworkType.TESTNET, name: 'arbitrum-goerli', title: 'Arbitrum Goerli', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ARBITRUM_GOERLI}.webp`, testnet: true, blockExplorer: { name: 'Arbiscan (Goerli Testnet)', rootUrl: 'https://testnet.arbiscan.io/' }, nativeToken: { symbol: 'gETH', name: 'Goerli Ether', decimals: 18 }, deprecated: true }, [ChainId.ARBITRUM_SEPOLIA]: { chainId: ChainId.ARBITRUM_SEPOLIA, type: NetworkType.TESTNET, name: 'arbitrum-sepolia', title: 'Arbitrum Sepolia', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ARBITRUM_SEPOLIA}.webp`, testnet: true, blockExplorer: { name: 'Arbiscan (Sepolia Testnet)', rootUrl: 'https://sepolia.arbiscan.io/' }, nativeToken: { symbol: 'sETH', name: 'Sepolia Ether', decimals: 18 } }, [ChainId.ARBITRUM_NOVA]: { chainId: ChainId.ARBITRUM_NOVA, type: NetworkType.MAINNET, name: 'arbitrum-nova', title: 'Arbitrum Nova', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ARBITRUM_NOVA}.webp`, blockExplorer: { name: 'Arbiscan Nova', rootUrl: 'https://nova.arbiscan.io/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.AVALANCHE]: { chainId: ChainId.AVALANCHE, type: NetworkType.MAINNET, name: 'avalanche', title: 'Avalanche', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.AVALANCHE}.webp`, blockExplorer: { name: 'Snowtrace', rootUrl: 'https://subnets.avax.network/c-chain/' }, nativeToken: { symbol: 'AVAX', name: 'AVAX', decimals: 18 } }, [ChainId.AVALANCHE_TESTNET]: { chainId: ChainId.AVALANCHE_TESTNET, type: NetworkType.TESTNET, name: 'avalanche-testnet', title: 'Avalanche Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.AVALANCHE_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Snowtrace (Testnet)', rootUrl: 'https://subnets-test.avax.network/c-chain/' }, nativeToken: { symbol: 'tAVAX', name: 'Testnet AVAX', decimals: 18 } }, [ChainId.GNOSIS]: { chainId: ChainId.GNOSIS, type: NetworkType.MAINNET, name: 'gnosis', title: 'Gnosis Chain', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.GNOSIS}.webp`, blockExplorer: { name: 'Gnosis Chain Explorer', rootUrl: 'https://blockscout.com/xdai/mainnet/' }, nativeToken: { symbol: 'XDAI', name: 'XDAI', decimals: 18 } }, [ChainId.BASE]: { chainId: ChainId.BASE, type: NetworkType.MAINNET, name: 'base', title: 'Base (Coinbase)', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BASE}.webp`, blockExplorer: { name: 'Base Explorer', rootUrl: 'https://basescan.org/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.BASE_GOERLI]: { chainId: ChainId.BASE_GOERLI, type: NetworkType.TESTNET, name: 'base-goerli', title: 'Base Goerli', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BASE_GOERLI}.webp`, testnet: true, blockExplorer: { name: 'Base Goerli Explorer', rootUrl: 'https://goerli.basescan.org/' }, nativeToken: { symbol: 'gETH', name: 'Goerli Ether', decimals: 18 }, deprecated: true }, [ChainId.BASE_SEPOLIA]: { chainId: ChainId.BASE_SEPOLIA, type: NetworkType.TESTNET, name: 'base-sepolia', title: 'Base Sepolia', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BASE_SEPOLIA}.webp`, testnet: true, blockExplorer: { name: 'Base Sepolia Explorer', rootUrl: 'https://base-sepolia.blockscout.com/' }, nativeToken: { symbol: 'sETH', name: 'Sepolia Ether', decimals: 18 } }, [ChainId.HOMEVERSE]: { chainId: ChainId.HOMEVERSE, type: NetworkType.MAINNET, name: 'homeverse', title: 'Oasys Homeverse', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.HOMEVERSE}.webp`, blockExplorer: { name: 'Oasys Homeverse Explorer', rootUrl: 'https://explorer.oasys.homeverse.games/' }, nativeToken: { symbol: 'OAS', name: 'OAS', decimals: 18 } }, [ChainId.HOMEVERSE_TESTNET]: { chainId: ChainId.HOMEVERSE_TESTNET, type: NetworkType.TESTNET, name: 'homeverse-testnet', title: 'Oasys Homeverse Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.HOMEVERSE_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Oasys Homeverse Explorer (Testnet)', rootUrl: 'https://explorer.testnet.oasys.homeverse.games/' }, nativeToken: { symbol: 'tOAS', name: 'Testnet OAS', decimals: 18 } }, [ChainId.XAI]: { chainId: ChainId.XAI, type: NetworkType.MAINNET, name: 'xai', title: 'Xai', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.XAI}.webp`, blockExplorer: { name: 'Xai Explorer', rootUrl: 'https://explorer.xai-chain.net/' }, nativeToken: { symbol: 'XAI', name: 'XAI', decimals: 18 }, deprecated: true }, [ChainId.XAI_SEPOLIA]: { chainId: ChainId.XAI_SEPOLIA, type: NetworkType.TESTNET, name: 'xai-sepolia', title: 'Xai Sepolia', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.XAI_SEPOLIA}.webp`, testnet: true, blockExplorer: { name: 'Xai Sepolia Explorer', rootUrl: 'https://testnet-explorer-v2.xai-chain.net/' }, nativeToken: { symbol: 'sXAI', name: 'Sepolia XAI', decimals: 18 }, deprecated: true }, [ChainId.B3]: { chainId: ChainId.B3, type: NetworkType.MAINNET, name: 'b3', title: 'B3', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.B3}.webp`, testnet: false, blockExplorer: { name: 'B3 Explorer', rootUrl: 'https://explorer.b3.fun/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.B3_SEPOLIA]: { chainId: ChainId.B3_SEPOLIA, type: NetworkType.TESTNET, name: 'b3-sepolia', title: 'B3 Sepolia', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.B3_SEPOLIA}.webp`, testnet: true, blockExplorer: { name: 'B3 Sepolia Explorer', rootUrl: 'https://sepolia.explorer.b3.fun/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.APECHAIN]: { chainId: ChainId.APECHAIN, type: NetworkType.MAINNET, name: 'apechain', title: 'APE Chain', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.APECHAIN}.webp`, testnet: false, blockExplorer: { name: 'APE Chain Explorer', rootUrl: 'https://apechain.calderaexplorer.xyz/' }, nativeToken: { symbol: 'APE', name: 'ApeCoin', decimals: 18 } }, [ChainId.APECHAIN_TESTNET]: { chainId: ChainId.APECHAIN_TESTNET, type: NetworkType.TESTNET, name: 'apechain-testnet', title: 'APE Chain Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.APECHAIN_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'APE Chain Explorer', rootUrl: 'https://curtis.explorer.caldera.xyz/' }, nativeToken: { symbol: 'APE', name: 'ApeCoin', decimals: 18 } }, [ChainId.BLAST]: { chainId: ChainId.BLAST, type: NetworkType.MAINNET, name: 'blast', title: 'Blast', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BLAST}.webp`, blockExplorer: { name: 'Blast Explorer', rootUrl: 'https://blastscan.io/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 }, deprecated: true }, [ChainId.BLAST_SEPOLIA]: { chainId: ChainId.BLAST_SEPOLIA, type: NetworkType.TESTNET, name: 'blast-sepolia', title: 'Blast Sepolia', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BLAST_SEPOLIA}.webp`, testnet: true, blockExplorer: { name: 'Blast Sepolia Explorer', rootUrl: 'https://sepolia.blastexplorer.io/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 }, deprecated: true }, [ChainId.TELOS]: { chainId: ChainId.TELOS, type: NetworkType.MAINNET, name: 'telos', title: 'Telos', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.TELOS}.webp`, blockExplorer: { name: 'Telos Explorer', rootUrl: 'https://explorer.telos.net/network/' }, nativeToken: { symbol: 'TLOS', name: 'TLOS', decimals: 18 } }, [ChainId.TELOS_TESTNET]: { chainId: ChainId.TELOS_TESTNET, type: NetworkType.TESTNET, name: 'telos-testnet', title: 'Telos Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.TELOS_TESTNET}.webp`, blockExplorer: { name: 'Telos Testnet Explorer', rootUrl: 'https://explorer-test.telos.net/network' }, nativeToken: { symbol: 'TLOS', name: 'TLOS', decimals: 18 } }, [ChainId.BORNE_TESTNET]: { chainId: ChainId.BORNE_TESTNET, type: NetworkType.TESTNET, name: 'borne-testnet', title: 'Borne Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BORNE_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Borne Testnet Explorer', rootUrl: 'https://subnets-test.avax.network/bornegfdn' }, nativeToken: { symbol: 'BORNE', name: 'BORNE', decimals: 18 }, deprecated: true }, [ChainId.SKALE_NEBULA]: { chainId: ChainId.SKALE_NEBULA, type: NetworkType.MAINNET, name: 'skale-nebula', title: 'SKALE Nebula Gaming Hub', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SKALE_NEBULA}.webp`, testnet: false, blockExplorer: { name: 'SKALE Nebula Gaming Hub Explorer', rootUrl: 'https://green-giddy-denebola.explorer.mainnet.skalenodes.com/' }, nativeToken: { symbol: 'sFUEL', name: 'SKALE Fuel', decimals: 18 } }, [ChainId.SKALE_NEBULA_TESTNET]: { chainId: ChainId.SKALE_NEBULA_TESTNET, type: NetworkType.TESTNET, name: 'skale-nebula-testnet', title: 'SKALE Nebula Gaming Hub Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SKALE_NEBULA_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'SKALE Nebula Gaming Hub Testnet Explorer', rootUrl: 'https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com/' }, nativeToken: { symbol: 'sFUEL', name: 'SKALE Fuel', decimals: 18 } }, [ChainId.SONEIUM]: { chainId: ChainId.SONEIUM, type: NetworkType.MAINNET, name: 'soneium', title: 'Soneium', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONEIUM}.webp`, testnet: false, blockExplorer: { name: 'Soneium Explorer', rootUrl: 'https://soneium.blockscout.com/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.SONEIUM_MINATO]: { chainId: ChainId.SONEIUM_MINATO, type: NetworkType.TESTNET, name: 'soneium-minato', title: 'Soneium Minato (Testnet)', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONEIUM_MINATO}.webp`, testnet: true, blockExplorer: { name: 'Soneium Minato Explorer', rootUrl: 'https://explorer-testnet.soneium.org/' }, nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.TOY_TESTNET]: { chainId: ChainId.TOY_TESTNET, type: NetworkType.TESTNET, name: 'toy-testnet', title: 'TOY (Testnet)', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.TOY_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'TOY Testnet Explorer', rootUrl: 'https://toy-chain-testnet.explorer.caldera.xyz/' }, nativeToken: { symbol: 'TOY', name: 'TOY', decimals: 18 } }, [ChainId.IMMUTABLE_ZKEVM]: { chainId: ChainId.IMMUTABLE_ZKEVM, type: NetworkType.MAINNET, name: 'immutable-zkevm', title: 'Immutable zkEVM', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.IMMUTABLE_ZKEVM}.webp`, testnet: false, blockExplorer: { name: 'Immutable zkEVM Explorer', rootUrl: 'https://explorer.immutable.com/' }, nativeToken: { symbol: 'IMX', name: 'IMX', decimals: 18 } }, [ChainId.IMMUTABLE_ZKEVM_TESTNET]: { chainId: ChainId.IMMUTABLE_ZKEVM_TESTNET, type: NetworkType.TESTNET, name: 'immutable-zkevm-testnet', title: 'Immutable zkEVM Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.IMMUTABLE_ZKEVM_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Immutable zkEVM Testnet Explorer', rootUrl: 'https://explorer.testnet.immutable.com/' }, nativeToken: { symbol: 'IMX', name: 'IMX', decimals: 18 } }, [ChainId.HARDHAT]: { chainId: ChainId.HARDHAT, name: 'hardhat', title: 'Hardhat (local testnet)', nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.HARDHAT_2]: { chainId: ChainId.HARDHAT_2, name: 'hardhat2', title: 'Hardhat (local testnet)', nativeToken: { symbol: 'ETH', name: 'Ether', decimals: 18 } }, [ChainId.MOONBEAM]: { chainId: ChainId.MOONBEAM, type: NetworkType.MAINNET, name: 'moonbeam', title: 'Moonbeam', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.MOONBEAM}.webp`, testnet: false, blockExplorer: { name: 'Moonscan', rootUrl: 'https://moonscan.io/' }, nativeToken: { symbol: 'GLMR', name: 'GLMR', decimals: 18 } }, [ChainId.MOONBASE_ALPHA]: { chainId: ChainId.MOONBASE_ALPHA, type: NetworkType.TESTNET, name: 'moonbase-alpha', title: 'Moonbase Alpha', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.MOONBASE_ALPHA}.webp`, testnet: true, blockExplorer: { name: 'Moonscan (Moonbase Alpha)', rootUrl: 'https://moonbase.moonscan.io/' }, nativeToken: { symbol: 'GLMR', name: 'GLMR', decimals: 18 } }, [ChainId.ETHERLINK]: { chainId: ChainId.ETHERLINK, type: NetworkType.MAINNET, name: 'etherlink', title: 'Etherlink', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ETHERLINK}.webp`, testnet: false, blockExplorer: { name: 'Etherlink Explorer', rootUrl: 'https://explorer.etherlink.com/' }, nativeToken: { symbol: 'XTZ', name: 'Tez', decimals: 18 } }, [ChainId.ETHERLINK_TESTNET]: { chainId: ChainId.ETHERLINK_TESTNET, type: NetworkType.TESTNET, name: 'etherlink-testnet', title: 'Etherlink Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ETHERLINK_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Etherlink Testnet Explorer', rootUrl: 'https://testnet.explorer.etherlink.com/' }, nativeToken: { symbol: 'XTZ', name: 'Tez', decimals: 18 } }, [ChainId.ETHERLINK_SHADOWNET_TESTNET]: { chainId: ChainId.ETHERLINK_SHADOWNET_TESTNET, type: NetworkType.TESTNET, name: 'etherlink-shadownet-testnet', title: 'Etherlink Shadownet Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ETHERLINK_SHADOWNET_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Etherlink Shadownet Testnet Explorer', rootUrl: 'https://shadownet.explorer.etherlink.com/' }, nativeToken: { symbol: 'XTZ', name: 'Tez', decimals: 18 } }, [ChainId.MONAD_TESTNET]: { chainId: ChainId.MONAD_TESTNET, type: NetworkType.TESTNET, name: 'monad-testnet', title: 'Monad Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.MONAD_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Monad Testnet Explorer', rootUrl: 'https://testnet.monadexplorer.com/' }, nativeToken: { symbol: 'MON', name: 'MON', decimals: 18 } }, [ChainId.MONAD]: { chainId: ChainId.MONAD, type: NetworkType.MAINNET, name: 'monad', title: 'Monad', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.MONAD}.webp`, testnet: false, blockExplorer: { name: 'Monad Explorer', rootUrl: 'https://monvision.io/' }, nativeToken: { symbol: 'MON', name: 'MON', decimals: 18 } }, [ChainId.SOMNIA_TESTNET]: { chainId: ChainId.SOMNIA_TESTNET, type: NetworkType.TESTNET, name: 'somnia-testnet', title: 'Somnia Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SOMNIA_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Somnia Testnet Explorer', rootUrl: 'https://shannon-explorer.somnia.network/' }, nativeToken: { symbol: 'STT', name: 'STT', decimals: 18 } }, [ChainId.INCENTIV_TESTNET]: { chainId: ChainId.INCENTIV_TESTNET, type: NetworkType.TESTNET, name: 'incentiv-testnet', title: 'Incentiv Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.INCENTIV_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Incentiv Testnet Explorer', rootUrl: 'https://explorer.testnet.incentiv.net/' }, nativeToken: { symbol: 'CENT', name: 'CENT', decimals: 18 }, deprecated: true }, [ChainId.INCENTIV_TESTNET_V2]: { chainId: ChainId.INCENTIV_TESTNET_V2, type: NetworkType.TESTNET, name: 'incentiv-testnet-v2', title: 'Incentiv Testnet v2', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.INCENTIV_TESTNET_V2}.webp`, testnet: true, blockExplorer: { name: 'Incentiv Testnet Explorer v2', rootUrl: 'https://explorer-testnet.incentiv.io/' }, nativeToken: { symbol: 'TCENT', name: 'TCENT', decimals: 18 } }, [ChainId.INCENTIV]: { chainId: ChainId.INCENTIV, type: NetworkType.MAINNET, name: 'incentiv', title: 'Incentiv', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.INCENTIV}.webp`, testnet: true, blockExplorer: { name: 'Incentiv', rootUrl: 'https://explorer.incentiv.io/' }, nativeToken: { symbol: 'CENT', name: 'CENT', decimals: 18 } }, [ChainId.SOMNIA]: { chainId: ChainId.SOMNIA, type: NetworkType.MAINNET, name: 'somnia', title: 'Somnia', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SOMNIA}.webp`, testnet: false, blockExplorer: { name: 'Somnia Explorer', rootUrl: 'https://mainnet.somnia.w3us.site/' }, nativeToken: { symbol: 'SOMI', name: 'SOMI', decimals: 18 } }, [ChainId.KATANA]: { chainId: ChainId.KATANA, type: NetworkType.MAINNET, name: 'katana', title: 'Katana', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.KATANA}.webp`, testnet: false, blockExplorer: { name: 'Katana', rootUrl: 'https://katanascan.com/' }, nativeToken: { symbol: 'ETH', name: 'ETH', decimals: 18 } }, [ChainId.SANDBOX_TESTNET]: { chainId: ChainId.SANDBOX_TESTNET, type: NetworkType.TESTNET, name: 'sandbox-testnet', title: 'Sandbox Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SANDBOX_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Sandbox Testnet Explorer', rootUrl: 'https://sandbox-testnet.explorer.caldera.xyz/' }, nativeToken: { symbol: 'SAND', name: 'SAND', decimals: 18 } }, [ChainId.ARC_TESTNET]: { chainId: ChainId.ARC_TESTNET, type: NetworkType.TESTNET, name: 'arc-testnet', title: 'Arc Testnet', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ARC_TESTNET}.webp`, testnet: true, blockExplorer: { name: 'Arc Testnet Explorer', rootUrl: 'https://testnet.arcscan.app/' }, nativeToken: { symbol: 'USDC', name: 'USDC', decimals: 18 } }, [ChainId.HYPEREVM]: { chainId: ChainId.HYPEREVM, type: NetworkType.MAINNET, name: 'hyperevm', title: 'HyperEVM', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.HYPEREVM}.webp`, testnet: false, blockExplorer: { name: 'HyperEVM', rootUrl: 'https://www.hyperscan.com/' }, nativeToken: { symbol: 'HYPE', name: 'HYPE', decimals: 18 } }, [ChainId.SONIC]: { chainId: ChainId.SONIC, type: NetworkType.MAINNET, name: 'sonic', title: 'Sonic', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`, testnet: false, blockExplorer: { name: 'Sonic', rootUrl: 'https://sonicscan.org/' }, nativeToken: { symbol: 'Sonic', name: 'Sonic', decimals: 18 } }, [ChainId.BERACHAIN]: { chainId: ChainId.BERACHAIN, type: NetworkType.MAINNET, name: 'berachain', title: 'Berachain', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`, testnet: false, blockExplorer: { name: 'Berachain', rootUrl: 'https://berascan.com/' }, nativeToken: { symbol: 'Berachain', name: 'Berachain', decimals: 18 } }, [ChainId.TEMPO]: { chainId: ChainId.TEMPO, type: NetworkType.MAINNET, name: 'tempo', title: 'Tempo', logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.TEMPO}.webp`, testnet: false, blockExplorer: { name: 'Tempo', rootUrl: 'https://explore.tempo.xyz/' }, nativeToken: { symbol: 'USD', name: 'USD', decimals: 18 } } } export function getChainIdFromNetwork(networkName: string): ChainId { for (const [chainId, network] of Object.entries(networks)) { if (network.name === networkName) { return Number(chainId) as ChainId } } throw new Error(`Unknown network name: ${networkName}`) }