Chains
Base
Coinbase's L2 on the OP Stack, chain 8453. coinbase resolves here because that is what people type.
- create
- create("base")
- family
- EVM · evm
- symbol
- ETH · 18 decimals
- bip44
- 60
- chainId · caip2
- 0x2105 · eip155:8453
- explorer
- basescan.org
Chain 8453. coinbase is an alias on purpose, people type the company before they remember the chain's name.
Address format
The EVM format, shared by every EVM chain here: 0x and 40 hex digits, any case. An address that fits Base 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("coinbase");
chain.assertAddress("0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"); // returned unchanged
chain.chainId; // "0x2105"
chain.caip2; // "eip155:8453"
Spellings
base, coinbase, Base. The key is base, the rest resolve through getChain.