diff --git a/package.json b/package.json index e94c35b..75deea7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eth-chains", - "version": "0.2.4", + "version": "0.3.4", "description": "Helper module for getting Ethereum chains info.", "author": "Taylor Dawson", "main": "dist/index.js", diff --git a/src/chains.ts b/src/chains.ts index 196c799..d772193 100644 --- a/src/chains.ts +++ b/src/chains.ts @@ -183,6 +183,19 @@ export const chains: Chains = { explorers: [], infoURL: 'https://web3games.org/' }, + 1022: { + name: 'Sakura', + chainId: 1022, + shortName: 'sku', + chain: 'Sakura', + network: 'sakura', + networkId: 1022, + nativeCurrency: { name: 'Sakura', symbol: 'SKU', decimals: 18 }, + rpc: [], + faucets: [], + explorers: [], + infoURL: 'https://clover.finance/sakura' + }, 1023: { name: 'Clover Testnet', chainId: 1023, @@ -247,6 +260,32 @@ export const chains: Chains = { explorers: [], infoURL: 'https://metadium.com' }, + 110: { + name: 'Proton Testnet', + chainId: 110, + shortName: 'xpr', + chain: 'XPR', + network: 'testnet', + networkId: 110, + nativeCurrency: { name: 'Proton', symbol: 'XPR', decimals: 4 }, + rpc: ['https://protontestnet.greymass.com/'], + faucets: [], + explorers: [], + infoURL: 'https://protonchain.com' + }, + 111: { + name: 'EtherLite Chain', + chainId: 111, + shortName: 'ETL', + chain: 'ETL', + network: 'mainnet', + networkId: 111, + nativeCurrency: { name: 'EtherLite', symbol: 'ETL', decimals: 18 }, + rpc: ['https://rpc.etherlite.org'], + faucets: ['https://etherlite.org/faucets'], + explorers: [], + infoURL: 'https://etherlite.org' + }, 1122334455: { name: 'IPOS Network', chainId: 1122334455, @@ -320,6 +359,19 @@ export const chains: Chains = { explorers: [], infoURL: 'https://fuse.io/' }, + 127: { + name: 'Factory 127 Mainnet', + chainId: 127, + shortName: 'feth', + chain: 'FETH', + network: 'factory127 mainnet', + networkId: 127, + nativeCurrency: { name: 'Factory 127 Token', symbol: 'FETH', decimals: 18 }, + rpc: [], + faucets: [], + explorers: [], + infoURL: 'https://www.factory127.com' + }, 128: { name: 'Huobi ECO Chain Mainnet', chainId: 128, @@ -503,7 +555,13 @@ export const chains: Chains = { 'wss://ws-mainnet.matic.network' ], faucets: [], - explorers: [], + explorers: [ + { + name: 'polygonscan', + url: 'https://polygonscan.com', + standard: 'EIP3091' + } + ], infoURL: 'https://matic.network/' }, 14: { @@ -545,6 +603,19 @@ export const chains: Chains = { explorers: [], infoURL: 'https://github.com/flare-eng/coston' }, + 1618: { + name: 'Catecoin Chain Mainnet', + chainId: 1618, + shortName: 'cate', + chain: 'Catechain', + network: 'mainnet', + networkId: 1618, + nativeCurrency: { name: 'Catecoin', symbol: 'CATE', decimals: 18 }, + rpc: ['https://send.catechain.com'], + faucets: [], + explorers: [], + infoURL: 'https://catechain.com' + }, 162: { name: 'Lightstreams Testnet', chainId: 162, @@ -1142,16 +1213,38 @@ export const chains: Chains = { explorers: [], infoURL: 'https://pirl.io' }, + 321: { + name: 'KuCoin Community Chain Mainnet', + chainId: 321, + shortName: 'kcs', + chain: 'KCC', + network: 'mainnet', + networkId: 321, + nativeCurrency: { name: 'KuCoin Token', symbol: 'KCS', decimals: 18 }, + rpc: [ + 'https://rpc-mainnet.kcc.network', + 'wss://rpc-ws-mainnet.kcc.network' + ], + faucets: [], + explorers: [ + { + name: 'KCC Explorer', + url: 'https://explorer.kcc.io/en', + standard: 'EIP3091' + } + ], + infoURL: 'https://kcc.io' + }, 322: { name: 'KuCoin Community Chain Testnet', chainId: 322, - shortName: 'kcc', + shortName: 'kcst', chain: 'KCC', network: 'testnet', networkId: 322, nativeCurrency: { name: 'KuCoin Testnet Token', - symbol: 'KCS', + symbol: 'tKCS', decimals: 18 }, rpc: ['https://rpc-testnet.kcc.network'], @@ -1277,7 +1370,13 @@ export const chains: Chains = { 'wss://rinkeby.infura.io/ws/v3/${INFURA_API_KEY}' ], faucets: ['https://faucet.rinkeby.io'], - explorers: [], + explorers: [ + { + name: 'etherscan-rinkeby', + url: 'https://rinkeby.etherscan.io', + standard: 'EIP3091' + } + ], infoURL: 'https://www.rinkeby.io' }, 40: { @@ -1354,6 +1453,23 @@ export const chains: Chains = { explorers: [], infoURL: 'https://teampeggle.com' }, + 421611: { + name: 'Arbitrum Testnet Rinkeby', + chainId: 421611, + shortName: 'arb-rinkeby', + chain: 'ETH', + network: 'rinkeby', + networkId: 421611, + nativeCurrency: { + name: 'Arbitrum Rinkeby Ether', + symbol: 'ARETH', + decimals: 18 + }, + rpc: ['https://rinkeby.arbitrum.io/rpc'], + faucets: [], + explorers: [], + infoURL: 'https://arbitrum.io' + }, 42220: { name: 'Celo Mainnet', chainId: 42220, @@ -1918,6 +2034,19 @@ export const chains: Chains = { explorers: [], infoURL: 'https://thaichain.io' }, + 721: { + name: 'Factory 127 Testnet', + chainId: 721, + shortName: 'tfeth', + chain: 'FETH', + network: 'factory127 testnet', + networkId: 721, + nativeCurrency: { name: 'Factory 127 Token', symbol: 'FETH', decimals: 18 }, + rpc: [], + faucets: [], + explorers: [], + infoURL: 'https://www.factory127.com' + }, 73799: { name: 'Energy Web Volta Testnet', chainId: 73799, @@ -2087,6 +2216,19 @@ export const chains: Chains = { explorers: [], infoURL: 'https://mdgl.io' }, + 803: { + name: 'Haic', + chainId: 803, + shortName: 'haic', + chain: 'Haic', + network: 'mainnet', + networkId: 803, + nativeCurrency: { name: 'Haicoin', symbol: 'HAIC', decimals: 18 }, + rpc: ['https://orig.haichain.io/'], + faucets: [], + explorers: [], + infoURL: 'https://www.haichain.io/' + }, 8080: { name: 'GeneChain Adenine Testnet', chainId: 8080, @@ -2217,6 +2359,19 @@ export const chains: Chains = { ], infoURL: 'https://www.gatechain.io' }, + 8724: { + name: 'TOOL Global Testnet', + chainId: 8724, + shortName: 'olo', + chain: 'OLO', + network: 'testnet', + networkId: 8724, + nativeCurrency: { name: 'TOOL Global', symbol: 'OLO', decimals: 18 }, + rpc: ['https://testnet-web3.wolot.io'], + faucets: ['https://testnet-explorer.wolot.io'], + explorers: [], + infoURL: 'https://testnet-explorer.wolot.io' + }, 88: { name: 'TomoChain', chainId: 88, @@ -2273,6 +2428,25 @@ export const chains: Chains = { explorers: [], infoURL: 'https://ethersocial.org' }, + 95: { + name: 'CryptoKylin Testnet', + chainId: 95, + shortName: 'Kylin Testnet', + chain: 'EOS', + network: 'testnet', + networkId: 95, + nativeCurrency: { name: 'EOS', symbol: 'EOS', decimals: 18 }, + rpc: ['https://kylin.eosargentina.io'], + faucets: [], + explorers: [ + { + name: 'eosq', + url: 'https://kylin.eosargentina.io', + standard: 'EIP3091' + } + ], + infoURL: 'https://www.cryptokylin.io/' + }, 97: { name: 'Binance Smart Chain Testnet', chainId: 97, diff --git a/src/enums.ts b/src/enums.ts index 7c99d8f..796720f 100644 --- a/src/enums.ts +++ b/src/enums.ts @@ -11,15 +11,19 @@ export enum ChainName { BlockchainGenesisMainnet = 'Blockchain Genesis Mainnet', Newton = 'Newton', Web3GamesTestnet = 'Web3Games Testnet', + Sakura = 'Sakura', CloverTestnet = 'Clover Testnet', CloverMainnet = 'Clover Mainnet', ThunderCoreMainnet = 'ThunderCore Mainnet', MetadiumMainnet = 'Metadium Mainnet', + ProtonTestnet = 'Proton Testnet', + EtherLiteChain = 'EtherLite Chain', IPOSNetwork = 'IPOS Network', MathChain = 'MathChain', MathChainTestnet = 'MathChain Testnet', MetadiumTestnet = 'Metadium Testnet', FuseMainnet = 'Fuse Mainnet', + Factory127Mainnet = 'Factory 127 Mainnet', HuobiECOChainMainnet = 'Huobi ECO Chain Mainnet', MoonbeamPolkadot = 'Moonbeam Polkadot', MoonriverKusama = 'Moonriver Kusama', @@ -36,6 +40,7 @@ export enum ChainName { FlareMainnet = 'Flare Mainnet', DiodePrenet = 'Diode Prenet', FlareTestnetCoston = 'Flare Testnet Coston', + CatecoinChainMainnet = 'Catecoin Chain Mainnet', LightstreamsTestnet = 'Lightstreams Testnet', Atheios = 'Atheios', LightstreamsMainnet = 'Lightstreams Mainnet', @@ -78,6 +83,7 @@ export enum ChainName { RSKTestnet = 'RSK Testnet', EthersocialNetwork = 'Ethersocial Network', Pirl = 'Pirl', + KuCoinCommunityChainMainnet = 'KuCoin Community Chain Mainnet', KuCoinCommunityChainTestnet = 'KuCoin Community Chain Testnet', FusionMainnet = 'Fusion Mainnet', GoodDataMainnet = 'GoodData Mainnet', @@ -92,6 +98,7 @@ export enum ChainName { EthereumTestnetKovan = 'Ethereum Testnet Kovan', OptimisticEthereumTestnetGoerli = 'Optimistic Ethereum Testnet Goerli', Pegglecoin = 'pegglecoin', + ArbitrumTestnetRinkeby = 'Arbitrum Testnet Rinkeby', CeloMainnet = 'Celo Mainnet', DarwiniaPangolinTestnet = 'Darwinia Pangolin Testnet', Athereum = 'Athereum', @@ -128,6 +135,7 @@ export enum ChainName { KaruraNetwork = 'Karura Network', OptimisticEthereumTestnetKovan = 'Optimistic Ethereum Testnet Kovan', ThaiChain = 'ThaiChain', + Factory127Testnet = 'Factory 127 Testnet', EnergyWebVoltaTestnet = 'Energy Web Volta Testnet', Mix = 'Mix', POANetworkSokol = 'POA Network Sokol', @@ -140,6 +148,7 @@ export enum ChainName { GeneChain = 'GeneChain', MaticTestnetMumbai = 'Matic Testnet Mumbai', MDGLTestnet = 'MDGL Testnet', + Haic = 'Haic', GeneChainAdenineTestnet = 'GeneChain Adenine Testnet', MeterMainnet = 'Meter Mainnet', CallistoMainnet = 'Callisto Mainnet', @@ -148,10 +157,12 @@ export enum ChainName { KorthoTest = 'KorthoTest', GateChainTestnet = 'GateChain Testnet', GateChainMainnet = 'GateChain Mainnet', + TOOLGlobalTestnet = 'TOOL Global Testnet', TomoChain = 'TomoChain', Wanchain = 'Wanchain', Bloxberg = 'bloxberg', UbiqNetworkTestnet = 'Ubiq Network Testnet', + CryptoKylinTestnet = 'CryptoKylin Testnet', BinanceSmartChainTestnet = 'Binance Smart Chain Testnet', NepalBlockchainNetwork = 'Nepal Blockchain Network', POANetworkCore = 'POA Network Core', @@ -171,15 +182,19 @@ export enum ChainId { BlockchainGenesisMainnet = 10101, Newton = 1012, Web3GamesTestnet = 102, + Sakura = 1022, CloverTestnet = 1023, CloverMainnet = 1024, ThunderCoreMainnet = 108, MetadiumMainnet = 11, + ProtonTestnet = 110, + EtherLiteChain = 111, IPOSNetwork = 1122334455, MathChain = 1139, MathChainTestnet = 1140, MetadiumTestnet = 12, FuseMainnet = 122, + Factory127Mainnet = 127, HuobiECOChainMainnet = 128, MoonbeamPolkadot = 1284, MoonriverKusama = 1285, @@ -196,6 +211,7 @@ export enum ChainId { FlareMainnet = 14, DiodePrenet = 15, FlareTestnetCoston = 16, + CatecoinChainMainnet = 1618, LightstreamsTestnet = 162, Atheios = 1620, LightstreamsMainnet = 163, @@ -238,6 +254,7 @@ export enum ChainId { RSKTestnet = 31, EthersocialNetwork = 31102, Pirl = 3125659152, + KuCoinCommunityChainMainnet = 321, KuCoinCommunityChainTestnet = 322, FusionMainnet = 32659, GoodDataMainnet = 33, @@ -252,6 +269,7 @@ export enum ChainId { EthereumTestnetKovan = 42, OptimisticEthereumTestnetGoerli = 420, Pegglecoin = 42069, + ArbitrumTestnetRinkeby = 421611, CeloMainnet = 42220, DarwiniaPangolinTestnet = 43, Athereum = 43110, @@ -288,6 +306,7 @@ export enum ChainId { KaruraNetwork = 686, OptimisticEthereumTestnetKovan = 69, ThaiChain = 7, + Factory127Testnet = 721, EnergyWebVoltaTestnet = 73799, Mix = 76, POANetworkSokol = 77, @@ -300,6 +319,7 @@ export enum ChainId { GeneChain = 80, MaticTestnetMumbai = 80001, MDGLTestnet = 8029, + Haic = 803, GeneChainAdenineTestnet = 8080, MeterMainnet = 82, CallistoMainnet = 820, @@ -308,10 +328,12 @@ export enum ChainId { KorthoTest = 8285, GateChainTestnet = 85, GateChainMainnet = 86, + TOOLGlobalTestnet = 8724, TomoChain = 88, Wanchain = 888, Bloxberg = 8995, UbiqNetworkTestnet = 9, + CryptoKylinTestnet = 95, BinanceSmartChainTestnet = 97, NepalBlockchainNetwork = 977, POANetworkCore = 99,