Validator Node
π οΈ Hardware Requirements
Full (Recommended)
8-core, x86-64 architecture processor
16 GB RAM
500GB SSD
Network of 500MB/s+
Additional requirements
nillion-chain-testnet-1
v0.2.1
nilchaind
$HOME/.nillionapp
β±οΈ Installation time: ~10-30 minutes
~10-30 minutes
The installation time depends on many factors, such as your skills, resources and characteristics of your server, the most important: disk speed, internet connection, server load CPU, RAM, so this value may differ from the one indicated by us.
β‘ Automatic installation
With the help of a one-line script, all the necessary commands will be executed automatically, you only need to check the operation of your node at the end
π Manual installation
πStep 1: Installation packeges and dependencies
πStep 2: Set moniker and install node
Give your validator a name by which you can find yourself in explorer, put it in ""
After that, insert the following node installation command
πStep 3: Node Health Check
Follow the commands to check if your node is working properly
Check version
View sync status
Blocks left - 0-1
everything is fine and your node catches up with the last block of the network.
Check logs
If your node is installed and fully synchronized with the network, proceed with the creation of the validator.
For any questions you may have during installation, please contact our chat team or other project validators.
[OPTIONAL] Change port
If you get an error that the default ports are busy, you can change them with the following command Example this error: ERR failure when running app err="failed to listen on 127.0.0.1:26657: listen tcp 127.0.0.1:26657: bind: address already in use"
π Create Validator
πStep 1: Create wallet
Save all information after entering the command, without this you will not be able to restore data to the wallet. SAVE SEED PHRASE (12 words). βΆοΈ Example:
address: nillion1xj36hh6ct6c5k93u5aj2lflltf383rvjey6qws name: wallet pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Awfbx56PmdCf7ogWAAFOXoO/KJl+QCNXpYONq7rdIebC"}' type: local
Important write this mnemonic phrase in a safe place. It is the only way to recover your account if you ever forget your password.
bone lava bamboo orange twist tell struggle twenty sort filter hand fan room arena version runway champion problem palm flash vibrant toast tooth valley
πStep 2: Request test tokens to your wallet address
Go to the Nillion Faucet and request test tokens to the address you created earlier.
After that, you can check your wallet balance with the following command.
If the node has synchronized and the tokens have arrived in the wallet, create a validator with the command below.
πStep 3: Create validator
Create a validator.json file
To find out your pubkey, use the command (Save your Pubkey)
Output Example:
The output will be similar to this (with a different key):
Open a validator.json file
Paste this into the open validator.json file, pre-replacing all values ββthat start with $ (you can do it in any convenient editor, not directly in nano mode)
After entering and changing all values, save the file with the key combination Ctrl + X and press Enter
β½ Replace the following values with your own: WALLET - usually it's 'wallet', or your wallet's name. MONIKER - any convenient name for your validator, displayed in the explorer. IDENTITY - validator's avatar, displayed in the explorer. Create a KeyBase ID following the instructions or leave it empty, and it will default to a standard one. DETAILS - details about your validator, also displayed in the explorer.
WEBSITE - your website/github/twitter, etc., if you don't want to specify anything - leave it blank
Replace all necessary values indicated above with the $ sign to successfully create your validator. β½ Example:
After creating the validator.json and entering all the necessary information, as well as provided that there are tokens in the wallet, run the create command:
πStep 4: Backup
If you have successfully created a validator, be sure to save your validator.
Show priv_validator_key.json
SAVE YOUR PRIVATE KEY AFTER ENTERING THE COMMAND The priv_validator_key.json is the key with which you can always restore the operation of your validator, so keep it and in case of reinstallation/transfer of the validator to another server - transfer it too.
Also remember, if you are a validator with a sufficient number of delegated tokens and you are in an active set, signing blocks, always save priv_validator_state.json - this file contains information about the signed blocks of your validators, and in case of restoring the validator after reinstallation or on another server , this file won't give you the old blocks again, otherwise you'll end up in jail with no way out π‘ Hint:
View private key:
cat $HOME/.nillionapp/config/priv_validator_key.json
View private state:
cat $HOME/.nillionapp/config/priv_validator_key.json
Private key directory:
$HOME/.nillionapp/config/priv_validator_key.json
Validator state directory:
$HOME/.nillionapp/data/priv_validator_state.json
All the useful commands to manage your node in the section - Useful commands
Last updated