92db7f165d
## Documentation / Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) The template repository can be found [here](https://github.com/saurabhburade/with-evm-chains) Public reviews, and improvement suggestions are welcome! ## Supported Blockchains 1. ETHEREUM 2. ROPSTEN 3. RINKEBY 4. GÖRLI 5. KOVAN 6. MATIC 7. MATIC_TESTNET 8. FANTOM 9. FANTOM_TESTNET 10. XDAI 11. BSC 12. BSC_TESTNET 13. ARBITRUM 14. ARBITRUM_TESTNET 15. MOONBEAM_TESTNET 16. AVALANCHE and more ### Note - This template has the flexibility to seamlessly extend to other EVM Blockchains. - It has web3.js and wallet connection modules. - It supports blockchain Read and Write functionalities. Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.github.com>
32 lines
602 B
TypeScript
32 lines
602 B
TypeScript
export enum ChainId {
|
|
ETHEREUM = 1,
|
|
ROPSTEN = 3,
|
|
RINKEBY = 4,
|
|
GÖRLI = 5,
|
|
KOVAN = 42,
|
|
MATIC = 137,
|
|
MATIC_TESTNET = 80001,
|
|
FANTOM = 250,
|
|
FANTOM_TESTNET = 4002,
|
|
XDAI = 100,
|
|
BSC = 56,
|
|
BSC_TESTNET = 97,
|
|
ARBITRUM = 42161,
|
|
MOONBEAM_TESTNET = 1287,
|
|
AVALANCHE = 43114,
|
|
AVALANCHE_TESTNET = 43113,
|
|
HECO = 128,
|
|
HECO_TESTNET = 256,
|
|
HARMONY = 1666600000,
|
|
HARMONY_TESTNET = 1666700000,
|
|
OKEX = 66,
|
|
OKEX_TESTNET = 65,
|
|
CELO = 42220,
|
|
PALM = 11297108109,
|
|
PALM_TESTNET = 11297108099,
|
|
MOONRIVER = 1285,
|
|
FUSE = 122,
|
|
TELOS = 40,
|
|
HARDHAT = 31337,
|
|
MOONBEAM = 1284,
|
|
}
|