@sentio/truffle-source-fetcher
Version:
Fetches verified source code from services such as Etherscan
117 lines • 3.22 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.networksByName = exports.networkNamesById = void 0;
exports.networkNamesById = {
1: "mainnet",
3: "ropsten",
4: "rinkeby",
5: "goerli",
42: "kovan",
11155111: "sepolia",
10: "optimistic",
69: "kovan-optimistic",
420: "goerli-optimistic",
28528: "goerli-bedrock-optimistic",
42161: "arbitrum",
42170: "nova-arbitrum",
421611: "rinkeby-arbitrum",
421613: "goerli-arbitrum",
137: "polygon",
80001: "mumbai-polygon",
1101: "zkevm-polygon",
1442: "testnet-zkevm-polygon",
100: "gnosis",
10200: "chiado-gnosis",
300: "optimism-gnosis",
99: "core-poa",
77: "sokol-poa",
56: "binance",
97: "testnet-binance",
42220: "celo",
44787: "alfajores-celo",
62320: "baklava-celo",
43114: "avalanche",
43113: "fuji-avalanche",
11111: "wagmi-avalanche",
53935: "dfk-avalanche",
335: "testnet-dfk-avalance",
432204: "dexalot-avalanche",
432201: "testnet-dexalot-avalanche",
40: "telos",
41: "testnet-telos",
8: "ubiq",
311752642: "oneledger",
4216137055: "frankenstein-oneledger",
57: "syscoin",
5700: "tanenbaum-syscoin",
288: "boba",
28: "rinkeby-boba",
2888: "goerli-boba",
106: "velas",
82: "meter",
83: "testnet-meter",
1313161554: "aurora",
1313161555: "testnet-aurora",
250: "fantom",
4002: "testnet-fantom",
128: "heco",
256: "testnet-heco",
1284: "moonbeam",
1285: "moonriver",
1287: "moonbase-alpha",
122: "fuse",
11297108109: "palm",
11297108099: "testnet-palm",
70: "hoo",
25: "cronos",
338: "testnet-cronos",
199: "bttc",
1029: "donau-bttc",
1024: "clover",
44: "crab-darwinia",
43: "pangolin-darwinia",
9001: "evmos",
9000: "testnet-evmos",
62621: "multivac",
534: "candle",
192837465: "gather",
486217935: "devnet-gather",
356256156: "testnet-gather",
246: "energyweb",
73799: "volta-energyweb",
71402: "godwoken",
71401: "testnet-godwoken",
50: "xinfin",
51: "apothem-xinfin",
7700: "canto",
7701: "testnet-canto",
592: "astar",
336: "shiden-astar",
8217: "cypress-klaytn",
1001: "baobab-klaytn",
7000: "zetachain",
7001: "athens-zetachain",
42262: "emerald-oasis",
42261: "testnet-emerald-oasis",
23294: "sapphire-oasis",
23295: "testnet-sapphire-oasis",
14: "flare",
19: "songbird-flare",
2048: "stratos",
2047: "testnet-stratos",
8453: "base",
84531: "goerli-base",
641230: "bear",
888: "wanchain",
999: "testnet-wanchain",
7668: "root",
7672: "porcini-root",
295: "hedera",
1149: "symplexia",
2000: "dogechain"
//I'm not including crystaleum as it has network ID different from chain ID
//not including kekchain for the same reason
};
exports.networksByName = Object.fromEntries(Object.entries(exports.networkNamesById).map(([id, name]) => [name, { name, networkId: Number(id), chainId: Number(id) }] //id is a string since it's a key so must use Number()
));
//# sourceMappingURL=networks.js.map