ChainName

Address records on the ENS side are stored according to the SLIP-0044 specification. This library provides an abstraction over those records by exposing a ChainName enum, which internally maps to the appropriate coin types.

Currently Supported Chains

export enum ChainName {
    Ethereum = "eth",
    Solana = "sol",
    Arbitrum = "arb",
    Optimism = "op",
    Base = "base",
    Polygon = "polygon",
    Bsc = "bsc",
    Avalanche = "avax",
    Gnosis = "gnosis",
    Zksync = "zksync",
    Cosmos = "cosmos",
    Near = "near",
    Linea = "linea",
    Scroll = "scroll",
    Bitcoin = "btc",
    Starknet = "starknet",
}

If the chain you need is not listed above, feel free to reach out to us on Discord— we’ll be happy to add support as soon as possible.

Last updated