Step-by-Step Guide
Onboarding for validators
Last updated
Onboarding for validators
Last updated
It's always nice to see new users onboarding into the Testnet Oro.
This will guide you through the process of running your own full node, then and finally running
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.
Golang version: v1.21.x
or v1.22.x
Build tools: build-essential
package (Linux)
Using Golang v1.23.x
or higher will result in compilation errors. Please ensure you install an appropriate version.
To install Kiichain, download the pre-built binaries:
Verify the installation by checking the version of kiichaind:
To join the Testnet Oro, you must have the daemon kiichaind
installed in your machine.
For optimal performance, we recommend:
16 vCPU x86_64
64 GB RAM
1 TB NVME SSD
The easiest way to prepare a node is by using our provided scripts.
Join Testnet Oro Script: Use this script to bootstrap a full node quickly.
Join Testnet with Cosmosvisor Script: Use this script to set up a full node with Cosmosvisor for automated upgrades
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
This configuration runs a full node. For validators, update the configuration accordingly!
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
A version of our node bootstrapper can install cosmosvisor for you:
First, you need to compile new binaries:
A new Kiichaind binary must be compiled with the target OS in mind
Ideally, you should compile all binaries on it’s own machines
The build must be done on top of the upgrade tag (E.g. v1.0.1, v2.0.0)
Make sure that the binary has the correct version with:
To add a new upgrade you must run the following command on Cosmovisor:
Where:
<upgrade-name>
is the on-chain upgrade name
<path-to-binary>
is the full path for the binary
Example:
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.
Newly created nodes have the pruning option configured as default. If you desire to turn your node into an archival node, the following flag must be changed:
Go to $NODE_HOME/config/app.toml
and update the following flag:
Other options available as default for pruning are:
default
: Keep the recent 362880 blocks and prune is triggered every 10 blocks
nothing
: all historic states will be saved, and nothing will be deleted (i.e. archiving node)
everything
: all saved states will be deleted, storing only the recent 2 blocks; pruning at every block
custom
: allow pruning options to be manually specified through 'pruning-keep-recent' and 'pruning-interval'
Further instructions on how to build a great node architecture can be found on:
More information about cosmovision can be found at .
Check the section on how to do it