Skip to content

chain ID

A chain ID is a unique identifier that represents a blockchain network. We use it to differentiate between different blockchain networks and ensure transactions and messages are sent to the correct network. Daodst network follows the format of identifier_EIP155-version.

Mainnet

Name Chain ID Identifier EIP155 Number Version activation
Daodst1 daodst_7777-1 daodst 7777 1 yes

testnet

Name Chain ID Identifier EIP155 Number Version activation
Daodst Public Testnet daodst_9000-1 daodst 9000 1 yes

chain identity

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. However, in order to comply with both EIP155 and the Cosmos chain upgrade standard, Daodst-compatible chains must implement a special structure for their chain identifiers.

structure

The Daodst chain ID consists of 3 main components

  • Identifier: An unstructured string defining the name of the application.
  • EIP155 Number: Immutable EIP155 CHAIN_ID Defines the number of replay attack protections.
  • version number: is the version number of the chain currently running (always a positive number). This number MUST be incremented every time the chain is upgraded or forked to avoid network or consensus errors.

Format

The format of the Daodst-compatible chain-id specified in genesis is as follows:

{identifier}_{EIP155}-{version}

The following table provides an example, where the second row corresponds to an upgrade of the first row:

ChainID Identifier EIP155 Number Version Number
daodst_7777-1 daodst 7777 1
daodst_7777-2 daodst 7777 2
... ... ... ...
daodst_7777-N daodst 7777 N