Lodestar client can be used for staking on various supported chains. Client installation is always only one, used by services with an individual configuration (different service name, data path and ports in use).
Update Lodestar client
One-page interactive complete guide to update Lodestar client.
Disclaimer
This guide is for informational purposes only. The author nor website owner does not guarantee accuracy of the information in this guide and is not responsible for any damages or losses incurred by following the guide.
Check current version of Lodestar running on the server:
cd /usr/local/bin/lodestar
./lodestar -v
-
Remove old repository clone
cd ~/downloads && sudo rm -r lodestar
Build Lodestar
Download latest Lodestar client from GitHub
cd ~/downloads && git clone -b stable https://github.com/chainsafe/lodestar.git
-
Install yarn
cd lodestar && yarn install
Build Lodestart client
yarn run build
-
Check builded Lodestar version
./lodestar -v
-
Stop Lodestar services
Stop Lodestar Beacon service and all validators-based services
sudo systemctl stop lodestarbeacon sudo systemctl stop lodestar-vi... sudo systemctl stop lodestar-vi... ...
Stop cosnsensus services
/usr/local/bin/staking.sh stop consensus
Check cosnsensus services status
/usr/local/bin/staking.sh check consensus
Remove old production Lodestar client
sudo rm -r /usr/local/bin/lodestar
Copy new production client to
/usr/local/bin
directorysudo cp -a ~/downloads/lodestar /usr/local/bin
Start the Lodestar services
Start Lodestar Beacon service and all validators-based services
sudo systemctl start lodestarbeacon sudo systemctl start lodestar-vi... sudo systemctl start lodestar-vi... ...
/usr/local/bin/staking.sh start consensus
Monitor
systemctl status lodestarbeacon lodestar-vi.. lodestar-vi..
journalctl -fu lodestarbeacon
journalctl -f -u lodestar-vi.. -u lodestar-vi..
/usr/local/bin/staking.sh check consensus
/usr/local/bin/staking.sh monitor consensus