@lifi/data-types
Version:
Data types for the LI.FI stack
105 lines • 3.25 kB
JavaScript
import { ChainId } from '@lifi/types';
// This name is used to map the chainId to the chain name when running scripts
// There is no documentation on the chain names, you can refer to
// the chain names in https://github.com/lifinance/contracts/tree/main/deployments
export const foundryChainNameMap = {
[]: 'unichain',
[]: 'hyperevm',
[]: 'flare',
[]: 'sonic',
[]: 'vana',
[]: 'soneium',
[]: 'swellchain',
[]: 'ronin',
[]: 'corn',
[]: 'lens',
[]: 'abstract',
[]: 'fusion',
[]: 'apechain',
[]: 'telos',
[]: 'etherlink',
[]: 'xdc',
[]: 'sophon',
[]: 'superposition',
[]: 'ink',
[]: 'bob',
[]: 'niburu',
[]: 'katana',
[]: 'berachain',
[]: 'viction',
[]: 'plume',
[]: 'mainnet',
[]: 'gnosis',
[]: 'polygon',
[]: 'bsc',
[]: 'arbitrum',
[]: 'optimism',
[]: 'fantom',
[]: 'avalanche',
[]: 'moonriver',
[]: 'moonbeam',
[]: 'celo',
[]: 'fuse',
[]: 'cronos',
[]: 'harmony',
[]: 'evmos',
[]: 'boba',
[]: 'arbitrumnova',
[]: 'velas',
[]: 'base',
[]: 'linea',
[]: 'zksync',
[]: 'polygonzkevm',
[]: 'metis',
[]: 'aurora',
[]: 'mode',
[]: 'scroll',
[]: 'blast',
[]: 'rootstock',
[]: 'xlayer',
[]: 'fraxtal',
[]: 'sei',
[]: 'gravity',
[]: 'mantle',
[]: 'kaia',
[]: 'immutablezkevm',
[]: 'taiko',
[]: 'worldchain',
[]: 'opbnb',
[]: 'lisk',
[]: 'plasma',
[]: 'flow',
[]: 'hemi',
[]: 'monad',
[]: 'stable',
[]: 'megaeth',
[]: 'botanix',
[]: 'jovay',
[]: 'morph',
[]: 'tempo',
[]: 'arctestnet',
[]: '0g',
[]: 'pharos',
[]: 'somnia',
[]: 'optimismsepolia',
[]: 'basesepolia',
[]: 'arbitrumsepolia',
// Custom chains
[]: 'zora',
// non-evm chains, just kept for more secure typing
[]: 'tron',
[]: 'sui',
[]: 'hyperliquid',
[]: 'lighter',
[]: 'oasis',
[]: 'solana',
[]: 'fogo',
[]: 'terra',
[]: 'bitcoin',
[]: 'bitcoin-cash',
[]: 'litecoin',
[]: 'dogecoin',
[]: 'zcash',
[]: 'stellar',
};
//# sourceMappingURL=foundry.js.map