Full node build
Install Go and Cosmovisor
Feel free to skip this step if you already have Go and Cosmovisor.
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.
Install Cosmovisor
We will use Cosmovisor v1.0.0
as example here.
Install Node
Install the current version of node binary.
Configure Node
Initialize Node
Please replace YOUR_MONIKER
with your own moniker.
Download Genesis
The genesis file link below is Polkachu's mirror download. The best practice is to find the official genesis download link.
Configure Seeds and Peers
Using a seed node to bootstrap is the best practice in our view. Alternatively, you can use addrbook or persistent_peers.
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. Note: after the upgrade to v3.0.0 the binary will change from banksyd to centaurid.
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 customise 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 ~/.banksy/config/
:
priv_validator_key.json
node_key.json
It is recommended that you encrypt the backup of these files.
Last updated