Disk: 2 TB NVMe/SSD with bandwidth greater than 1000 MiBps
Network bandwidth: 100 Mbps
Current initiad version: v0.2.21
Install the dependent environment
Install go
Check go version
Install Dependencies
Compile the initiad binary
Check version
Initialization
Download Genesis File
Setting up peer and seed
Modify the default port (optional)
To prevent port conflicts, you can modify the port and set a port prefix, such as starting with 61:
Set the prune parameter to reduce the data size (optional)
Fast Sync from Snapshot
(This allows you to resume downloading from a breakpoint. If the download is interrupted, just re-execute this command.)
Add the program to the systemd daemon
Reload the configuration file and add the startup
Start the validator node
View logs
View Sync Status
Note that if you have not changed the default port, the RPC port defaults to 26657. If you have changed the port as described in the Change the default port (optional) section, the RPC port defaults to 61657. You can view the port you defined in the ~/.initia/config/config.toml configuration file.
You can visit the block browser to view the latest height. When the current height queried by this command is consistent with the official height, you can create a validator.
git clone https://github.com/initia-labs/initia.git
cd initia
git checkout v0.2.21
make install # Or execute make build and move the generated binary to your $PATH path
initiad version
initiad init $moniker --chain-id=initiation-1
initiad config set client chain-id initiation-1
PEERS="<Put the peer list output from the previous command here>"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" ~/.initia/config/config.toml