Create a systemd configuration file for the Nimbus 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.
Nimbus Validator Client configuration summary:
--data-dir: Specify the directory for Nimbus to store the validator info
--payload-builder: Required when using external builders to build blocks (e.g. MEV relays)
--beacon-node: URLs to connect to the main and backup consensus clients if any. This needs to be the same IP address set in your consensus client. Refer back here if you don't remember it.
--metrics: Enable metrics for monitoring
--metrics-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
--doppelganger-detection: 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 Nimbus Validator Client service
Reload the systemd daemon to register the changes made, start the Nimbus Validator Client, and check its status to make sure its running.
The output should say the Nimbus Validator Client is “active (running)”. Press CTRL-C to exit and the Nimbus Validator Client will continue to run.
Use the following command to check the logs for any warnings or errors:
Expected output:
Press CTRL-C to exit.
If the Nimbus 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.