Connect to Initia Network
Overview
To establish a connection with the Initia Mainnet or Testnet, it is essential to obtain information about the genesis block and nodes currently connected to these networks.
The necessary genesis file and information on known peers can be accessed through the links provided below. By adhering to the subsequent steps outlined in this document, you will be able to operate an Initia node and monitor logs pertaining to block synchronization.
Network | Devnet |
---|---|
Chain ID |
|
Initia Version | v0.2.15 |
Genesis | |
Known Peers | |
Known Seed | |
Address Book |
Genesis File
The genesis file is named genesis.json
and must be relocated to the ~/.initia/config
directory. Should the HOME directory for Initia be configured to a different location, ensure to move the genesis file to the appropriate config directory within that set location.
Accessing Network Information
For network connectivity, utilize the publicly available persistent peer information, or alternatively, gather peer information from the addrbook.json
file of a node that is already operational.
Persistent Peer Configuration
Information on known peers for each network is available within the network-specific repositories linked above. Choose an appropriate network, then apply the corresponding values to p2p.persistent_peers
in the ~/.initia/config/config.toml
file.
The below is an example:
Seed Configuration
Information on known seeds for each network is available within the network-specific repositories linked above. Choose an appropriate network, then apply the corresponding values to p2p.seeds
in the ~/.initia/config/config.toml
file.
The below is an example:
State Sync & Snapshot
Validators on Initia can now join the network using state sync and snapshot. For more details, please visit below sites.
Provider | URL |
---|---|
Address Book
We highly recommend to copy addrbook.json
to $INITIA_HOME/config/addrbook.json
for fast peer connection.
Last updated