Full node build
Install Go
Feel free to skip this step if you already have Go
Install Go
We will use Go v1.20.3
as example here. The code below also cleanly removes any previous Go installation.
Configure Go
Unless you want to configure in a non-standard way, then set these in the ~/.profile
file.
Build Daemon From Source
Install the current version of node binary.
Configure Node
Initialize Node
Please replace YOUR_MONIKER
with your own moniker.
Download Genesis
Set Persistent Peers
We can add these persistent_peers
to our config.toml
:
Set minimum gas price
Setup Cosmovisor
Follow the Setup Cosmovisor instructions to setup cosmovisor and start the node.
Upgrade to a validator
Do not attempt to upgrade your node to a validator until the node is fully in sync as per the previous step.
To upgrade the node to a validator, you will need to submit a create-validator
transaction:
The above transaction is just an example. There are many more flags that can be set to customize your validator, such as your validator website, or keybase.io id, etc. To see a full list:
Backup critical files
There are certain files that you need to backup to be able to restore your validator if, for some reason, it damaged or lost in some way. Please make a secure backup of the following files located in ~/.noria/config/
:
priv_validator_key.json
node_key.json
It is recommended that you encrypt the backup of these files.
Last updated