Prysm VC
The Prysm validator client only works with a Prysm Consensus Client.
Download Prysm
Download the latest version of the Prysm validator client.
Run the checksum verification process.
Each downloadable file comes with it's own checksum. Replace the actual checksum and URL of the download link in the code block above.
Make sure to choose the amd64 version. Right click on the linked text and select "copy link address" to get the URL of the download link to curl
.
Expected output: Verify output of the checksum verification.
If checksum is verified, extract the files and move them into the (/usr/local/bin)
directory for neatness and best practice. Then, clean up the duplicated copies.
Create a new user account
Prepare the validator data directory
1) Create a new folders to store the validator client data, validator keystore, and the validator keystore password
2) Run the validator key import process.
Note: You will be prompted to accept the terms of use, create a new password for the Prysm wallet, and enter the password of your validator keystore.
Expected output:
3) Create a plain text password file for the Prysm wallet
Enter the password you set during the validator keystore import process. Then, save + exit with CTRL+O
, ENTER
, CTRL+C
.
4) Change the owner of this new folder to the prysmvalidator
user
5) Restrict permissions on this new folder such that only the owner is able to read, write, and execute files in this folder
Configure the validator client service
Create a systemd configuration file for the Lighthouse Validator Client service to run in the background.
Paste the configuration parameters below into the file:
Once you're done, save with Ctrl+O
and Enter
, then exit with Ctrl+X
. Understand and review your configuration summary below, and amend if needed.
Lighthouse Validator Client configuration summary:
--accept-terms-of-use
: Accept the terms and conditions.--holesky
: Run the validator client on the Holesky testnet--datadir
: Specify the directory for Lighthouse to store the validator info--enable-builder
: Required when using external builders to build blocks (e.g. MEV relays)--beacon-rpc-provider/beacon-rpc-gateway-provider
: URLs to connect to the main and backup Prysm consensus clients if any. This needs to be the same IP address set in your Prysm consensus client. Refer back here if you don't remember it. Use multiple comma-separated endpoints here to configure fallback beacon nodes for your validator.--wallet-dir
: Path to a wallet directory on-disk for Prysm validator accounts--wallet-password-file
: Path to a plain-text, .txt file containing your wallet password--monitoring-port
: Set the port for retrieving metrics--suggested-fee-recipient
: ETH wallet address to receive rewards from block proposals and MEV bribes--graffiti
: Optional text to display on-chain when your validator proposes a block--enable-doppelganger
: Helps prevents slashing due to double signing by checking if your validator keys are already active on the network. Not a fool-proof solution.
Start the Prysm Validator Client service
Reload the systemd daemon to register the changes made, start the Prysm Validator Client, and check its status to make sure its running.
The output should say the Prysm Validator Client is “active (running)”. Press CTRL-C to exit and the Prysm Validator Client will continue to run.
Use the following command to check the logs for any warnings or errors:
Expected output:
You will see some warnings if your beacon node (consensus client) is not yet synced.
Press CTRL-C
to exit.
If the Prysm Validator Client service is running smoothly, we can now enable it to fire up automatically when rebooting the system.
Expected output:
Remove duplicates of validator keystores
To prevent configuration mistakes leading to double signing in the future, remove duplicate copies of the validator signing keystores once everything is running smoothly.
Resources
Documentation: https://docs.prylabs.network/docs/getting-started
Discord: https://discord.gg/prysmaticlabs
Last updated