Chains
Gnosis Chain
Gnosis Chain, chain 100. The native token is xDAI, which is where the alias comes from.
- create
- create("gnosis")
- family
- EVM · evm
- symbol
- xDAI · 18 decimals
- bip44
- 60
- chainId · caip2
- 0x64 · eip155:100
- explorer
- gnosisscan.io
Chain 100. The native token is xDAI, not GNO, so symbol says xDAI and xdai resolves here.
Address format
The EVM format, shared by every EVM chain here: 0x and 40 hex digits, any case. An address that fits Gnosis Chain fits the other twelve EVM chains too, and identify says so rather than picking one. The EIP-55 checksum, the one carried in letter case, isn't verified.
import { getChain } from "@agntn/chains";
const chain = getChain("xdai");
chain.assertAddress("0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"); // returned unchanged
chain.chainId; // "0x64"
chain.caip2; // "eip155:100"
Spellings
gnosis, xdai, Gnosis Chain. The key is gnosis, the rest resolve through getChain.