Lighthouse 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).
Exit Lighthouse validator
One-page interactive guide to install Lighthouse client and configurate it for running on supported chain.
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.
Exit validator instance / validator(s)
A validator can be exited with following command:
lighthouse --network "$chain" account validator exit --keystore /path/to/keystore --password-file "$HOME/exit/keystore-password.txt" --beacon-node http://localhost:5052
Where:
--network
ismainnet
for Ethereum chain andgnosis
for Gnosis chain--keystore
is a path to the keystore file of specific validator--password-file
is a file with exit passowrd placed in--beacon-node
is a beaconnode url
Example request can look as below:
/usr/local/bin/lighthouse --network mainnet account validator exit --keystore /var/lib/lighthouse/vi1/validators/keystore... --beacon-node http://localhost:5052
/usr/local/bin/lighthouse --network gnosis account validator exit --keystore /var/lib/lighthouse/vi1/validators/keystore... --beacon-node http://localhost:5052
For confirmation, place exit phrase Exit my validator
Follow instructions from Exit Lighthouse validators on Github.
- Install a script for bulk exit
- Create
~/exit/keystore-password.txt
file with keystores password. It's the passowrd selected during validator keys generation. The passowrd can be also found atvalidator_definitions.yml
file, seesudo nano /var/lib/lighthouse-validatorInstance/validator_definitions.yml
- Perform the exit all validators in selected instance request
/usr/local/bin/lighthouse_exit_validators.sh mainnet /var/lib/ethereum/lighthouse/vi1/validators http://localhost:5052
/usr/local/bin/lighthouse_exit_validators.sh gnosis /var/lib/gnosis/lighthouse/vi1/validators http://localhost:5052
- Replace
chain
forethereum
/gnosis
- Replace
/var/lib/gnosis/lighthouse/vi1/validators/
for a path to your instance keystores
- Replace
- Remove the password from
~/exit/keystore-password.txt
See more at official documentation, if needed.