Step-by-Step Guide
Onboarding for validators
It's always nice to see new users onboarding into the Testnet Oro.
This will guide you through the process of running your own node and becoming a validator.
Install
kiichaind
is the command-line interface (CLI) for interacting with the Kiichain blockchain. This section covers the installation of the necessary binaries to run a Kiichain node.
Requirements
Golang v1.22 linux/amd64
Linux build-essential
Binary installation
To install Kiichain, download the pre-built binaries:
Verify the installation by checking the version of kiichaind:
Joining the Testnet
To join the Testnet Oro, you must have the daemon kiichaind
installed in your machine.
Recommended configuration
For optimal performance, we recommend:
16 vCPU x86_64
64 GB RAM
1 TB NVME SSD
Quick bootstrap
The way best of preparing a node is using our scripts:
Join Testnet Oro Script: Use this script to quickly bootstrap a full node.
Join Testnet with Cosmosvisor Script: Use this script to set up a full node with Cosmosvisor for automated upgrades
Running your node
Prepare your system by backing up and removing old configurations:
Connect to the testnet with the following commands:
(Optional but recommended): Before running the chain you can also check the SHA256:
The expected SHA256 checksum is: e22442f19149db7658bcf777d086b52b38d834ea17010c313cd8aece137b647a
==NOTE==:
This configuration runs a full node. For validators, update the configuration accordingly.
Configure state sync
State sync significantly reduces the time required to synchronize a node by downloading and verifying state data from trusted peers rather than replaying every historical block. This is particularly beneficial for nodes joining the network late or recovering from a significant downtime.
Follow these steps to configure state sync for your Kiichain node:
Set Trust Height Delta and Fetch Block Information
Define a height delta and retrieve the latest block height and block hash from the primary RPC endpoint.
Enable State Sync in Configuration
Modify the config.toml
file to enable state sync and set the required parameters.
Becoming a validator
Validators are the main responsible of validating and committing blocks. The main advantages of becoming a validator are:
Fees: Each transaction has fees, and validators are the main entry points of fee distribution. And due to his help on decentralization, part of the fee is exclusive for validators.
Creating a validator
Key creation
To create a validator, you first must have a key available for transactions. A new key can be created with:
You will get an output such as:
Transfer funds
Ensure your account has sufficient funds for fees and self-delegation.
Create the validator
A validator will be created based on your consensus public key. You can check your current public key using:
To create a validator you can use the following command:
==NOTE==:
The transaction must be done on the machine running the node
An additional flag
--node
can be passed to point to an available RPC node
Further instruction on how to run a validator can be found at Running a Validator
Cosmosvisor
Cosmosvisor is a process manager for handling chain upgrades. It enables low maintenance and automatic updates for nodes.
If an upgrade is scheduled, cosmosvisor has the capability of automatically downloading binaries and restarting any Kiichain processes
This gives the node low maintenance and auto updates capabilities
More information about cosmovision can be found at Cosmosvisor Quick Start
Node Architecture for validators
Further instruction on how to build a great node architecture can be found on:
References
Last updated