Validator Node Setup

Validators have weekly tasks, different tasks have different points, and the task list can be found here:

Official documentation:

Validator configuration requirements:

CPU: 4 cores

Memory: 32GB RAM

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.

Official block explorer:

If you still can't sync properly and have peer connection problems, you can use my addrbook or peer list here.

View currently active peers:

Edit the configuration file and add the persistent peer list

Then restart initiad:

Check again whether the log is synchronized normally:

Create validator

When the local height is consistent with the official height, you can create a validator. We need to create a wallet first.

Remember to back up the output mnemonic information.

Then copy the wallet address and go here to get faucet.

Execute the create operation

(1000000uinit is 1 token)

Optional parameters:

If created successfully, you can find your validator name in the block browser:

https://scan.testnet.initia.xyz/initiation-1

Useful commands

Stake more tokens to a validator

(1000000uinit is 1 coin, modify it according to your needs, and run initiad tendermint show-validator to view the validator address)

Unjail

Vote

Last updated