# Chain ID

Learn about the Uptick chain-id format

# Official Chain IDs

You can also lookup the EIP155 (opens new window) Chain ID by referring to chainlist.org (opens new window).

# The Chain Identifier

Every chain must have a unique identifier or chain-id. Tendermint requires each application to define its own chain-id in the genesis.json fields (opens new window). However, in order to comply with both EIP155 and Cosmos standard for chain upgrades, Uptick-compatible chains must implement a special structure for their chain identifiers.

# Structure

The Uptick Chain ID contains 3 main components

  • Identifier: Unstructured string that defines the name of the application.
  • EIP155 Number: Immutable EIP155 (opens new window) CHAIN_ID that defines the replay attack protection number.
  • Version Number: Is the version number (always positive) that the chain is currently running. This number MUST be incremented every time the chain is upgraded or forked in order to avoid network or consensus errors.

# Format

The format for specifying and Uptick compatible chain-id in genesis is the following:

Copy {identifier}_{EIP155}-{version}

The following table provides an example where the second row corresponds to an upgrade from the first one:

ChainID Identifier EIP155 Number Version Number
uptick_7000-2 uptick 7000 1
uptick_7000-2 uptick 7000 2
... ... ... ...
uptick_7000-N uptick 7000 N