Skip to content
Docs

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, zora

UTXO (9)

text
bitcoin, bitcoincash, dash, digibyte, dogecoin, ecash, litecoin, ravencoin, zcash

Bitcoin 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)

FieldRequiredDescription
solanaNofamily `solana`
tronNofamily `tron`
suiNofamily `sui`
aptosNofamily `aptos`
movementNofamily `movement`
nearNomainnet only
stellarNomainnet only — no stellar-testnet
hederaNomainnet only
gramNoTON mainnet
polkadotNoDOT — Substrate / SS58
bittensorNoTAO Finney — SS58 prefix 42
cosmosNoATOM — bech32 cosmos1…
algorandNoALGO — base32 checksummed
kaspaNoKAS — bech32 kaspa:…
filecoinNoFIL — f1 secp256k1 derive
vechainNoVET — EVM-style 0x; Thor / VTHO
stacksNoSTX — SP… c32check
cardanoNoADA — Shelley addr1… CIP-1852
xrplNoXRP — classic r… SLIP-44 144
moneroNoXMR — 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