A chain ID is a unique identifier that represents a blockchain network. We use it to distinguish different blockchain networks from each other and to ensure that transactions and messages are sent to the correct network. Your Cosmos EVM blockchain should follow the format of format.
Chain ID
by referring to chainlist.org.chain-id
. CometBFT requires each application to define its own chain-id
in the genesis.json fields. However, to comply with both EIP-155 and Cosmos standard for chain upgrades, Cosmos EVM-compatible chains must implement a special structure for their chain identifiers.
CHAIN_ID
that defines the replay attack protection number.ChainID | Identifier | EIP-155 Number | Version Number |
---|---|---|---|
cosmoshub-1 | cosmoshub | 9000 | 1 |
cosmoshub-2 | cosmoshub | 9000 | 2 |
... | … | … | … |
cosmoshub-N | cosmoshub | 9000 | N |