Supported chains
Chain ID reference
Complete mainnet GrayChainId list by family.
Overview
All mainnet GrayChainId values. Testnets are listed separately under Testnet ids.
EVM mainnets (79)
text
abstract, adi, anime, apechain, arbitrum, arbitrum-nova, arc, astar, aurora, avalanche, base, berachain, bitlayer, blast, bnb, bob, boba, celo, citrea, core, cronos, crossfi, edge, ethereum, ethereumpow, flare, fantom, flow, fraxtal, galactica, gensyn, gnosis, gravity, humanity, hyperevm, immutable-zkevm, ink, kaia, kava, lens, linea, manta, mantle, megaeth, merlin, metis, mode, monad, moonbeam, mythos, opbnb, optimism, plasma, polygon, pulsechain, rise, robinhood, ronin, rootstock, scroll, sei, settlus, shape, shibarium, soneium, sonic, stable, story, superseed, taiko, tempo, unichain, worldchain, worldmobile, xdc, xlayer, zetachain, zksync, zoraUTXO (9)
text
bitcoin, bitcoincash, dash, digibyte, dogecoin, ecash, litecoin, ravencoin, zcashBitcoin Cash addresses use the CashAddr format (bitcoincash:q…). Wallets saved with legacy-format BCH addresses by earlier releases are migrated to CashAddr when opened. encodeCashAddr and decodeCashAddr are exported from @gray3/client.
Other families (1 chain each)
| Field | Required | Description |
|---|---|---|
| solana | No | family `solana` |
| tron | No | family `tron` |
| sui | No | family `sui` |
| aptos | No | family `aptos` |
| movement | No | family `movement` |
| near | No | mainnet only |
| stellar | No | mainnet only — no stellar-testnet |
| hedera | No | mainnet only |
| gram | No | TON mainnet |
| polkadot | No | DOT — Substrate / SS58 |
| bittensor | No | TAO Finney — SS58 prefix 42 |
| cosmos | No | ATOM — bech32 cosmos1… |
| algorand | No | ALGO — base32 checksummed |
| kaspa | No | KAS — bech32 kaspa:… |
| filecoin | No | FIL — f1 secp256k1 derive |
| vechain | No | VET — EVM-style 0x; Thor / VTHO |
| stacks | No | STX — SP… c32check |
| cardano | No | ADA — Shelley addr1… CIP-1852 |
| xrpl | No | XRP — classic r… SLIP-44 144 |
| monero | No | XMR — 4… / 8…; view-key sync |
Helpers
js
import {
GRAY_CHAIN_IDS,
listChains,
getChain,
requireChain,
isGrayChainId,
getEvmChainId,
} from "@gray3/client";
getEvmChainId("ethereum"); // 1
getEvmChainId("xdc"); // 50