Skip to content
Docs

Supported chains

Testnet chain IDs

Separate testnet GrayChainIds with sibling helpers and EVM address parity.

Overview

Testnets are separate chain IDs in the Gray3 catalog (not a network query). EVM HD addresses match the mainnet sibling; use Cloud prepare with the testnet id, then client sign.

Testnet chain IDs (43)

text
ethereum-sepolia, base-sepolia, polygon-amoy, arbitrum-sepolia, optimism-sepolia, avalanche-fuji, bnb-testnet, linea-sepolia, scroll-sepolia, zksync-sepolia, blast-sepolia, mantle-sepolia, gnosis-chiado, celo-sepolia, sonic-testnet, sei-testnet, monad-testnet, hyperevm-testnet, berachain-bepolia, opbnb-testnet, worldchain-sepolia, unichain-sepolia, ink-sepolia, zora-sepolia, mode-sepolia, ronin-saigon, boba-sepolia, rootstock-testnet, apechain-curtis, abstract-testnet, shape-sepolia, soneium-minato, xlayer-testnet, zetachain-testnet, superseed-sepolia, cronos-testnet, bob-sepolia, lens-sepolia, solana-devnet, sui-testnet, aptos-testnet, tron-nile, movement-testnet

Helpers

js
import {
  TESTNET_CHAIN_IDS,
  isTestnetChain,
  getMainnetSibling,
  getTestnetSibling,
  getEvmChainId,
} from "@gray3/client";

getEvmChainId("ethereum-sepolia"); // 11155111
isTestnetChain("ethereum-sepolia"); // true
isTestnetChain("ethereum");         // false
getMainnetSibling("ethereum-sepolia"); // "ethereum"

Usage

js
await gray.portfolio.get({
  chainId: "ethereum-sepolia",
  address: "0x…",
});

const prepared = await gray.transactions.prepare({
  kind: "transfer",
  chainId: "ethereum-sepolia",
  from: a.address("evm"),
  to,
  value: "1000000000000000",
});
await a.signPreparedTransaction(prepared);

Not available as testnets

near, stellar, hedera, gram, polkadot, bittensor, cosmos, and UTXO coins (bitcoin, litecoin, and others) are available on mainnet only.