Prepare your keys
Create a new folder "VALIDATOR_KEYS" to serve as local backup when updating:
cd ~mkdir -p ~/VALIDATOR_KEYS
Generate a certificate file containing your Validator key by running the
Copy the generated
validatorKey.pem file - in ZIP form - to the
. This is important for your node to be able to restart correctly after an upgrade.
zip node-0.zip validatorKey.pemmv node-0.zip $HOME/VALIDATOR_KEYS/
Repeat the above for all your “n” nodes. When complete, please refer to our Key management section for instructions about how to properly backup and protect your keys.
After preparing the user permissions, the script configurations and the keys, the actual node installation can begin.
cd ~/elrond-go-scripts-mainnet./script.sh install
When asked, indicate the number of nodes you want to run, i.e.
When asked, indicate the name for your validator, i.e.
Start the node(s)
cd ~/elrond-go-scripts-mainnet./script.sh start
Start the node visual interface
Once the node has started, you can check how it’s doing, using the
TermUI interface. Navigate to your
$HOME/elrond-utils folder and start the
, one for each of your nodes:
cd $HOME/elrond-utils./termui -address localhost:8080
Update your node
Run the following command to upgrade your node with the latest GitHub release.
Mandatory: Backup your keys
Your private keys are needed to run your node. Losing them means losing control of your node. A 3rd party gaining access to them could result in lost funds.
Find them in
$HOME/elrond-nodes/node-0/config [be mindful of your “