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.

NetworkDevnet

Chain ID

initiation-1

Initia Version

v0.2.15

Genesis

Known Peers

093e1b89a498b6a8760ad2188fbda30a05e4f300@35.240.207.217:26656,2c729d33d22d8cdae6658bed97b3097241ca586c@195.14.6.129:26019

Known Seed

2eaa272622d1ba6796100ab39f58c75d458b9dbc@34.142.181.82:26656,c28827cb96c14c905b127b92065a3fb4cd77d7f6@testnet-seeds.whispernode.com:25756

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.

curl -Ls https://initia.s3.ap-southeast-1.amazonaws.com/initiation-1/genesis.json > \
         $HOME/.initia/config/genesis.json

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:

persistent_peers = "093e1b89a498b6a8760ad2188fbda30a05e4f300@35.240.207.217:26656,2c729d33d22d8cdae6658bed97b3097241ca586c@195.14.6.129:26019”

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:

seeds = "2eaa272622d1ba6796100ab39f58c75d458b9dbc@34.142.181.82:26656,c28827cb96c14c905b127b92065a3fb4cd77d7f6@testnet-seeds.whispernode.com:25756”

State Sync & Snapshot

Validators on Initia can now join the network using state sync and snapshot. For more details, please visit below sites.

Address Book

We highly recommend to copy addrbook.json to $INITIA_HOME/config/addrbook.json for fast peer connection.

# stop initiad

wget https://initia.s3.ap-southeast-1.amazonaws.com/initiation-1/addrbook.json
mv addrbook.json ~/.initia/config/addrbook.json

# start initiad

Last updated

Logo

© 2024 Initia Foundation, All rights reserved.