ETH2 - Validator
Eth2 || Validator || Generate Keys
Eth2 keys should be generated in a safe environment.
Please see this guide on how to securely generate Eth2 keys offline using Ubuntu to boot into a live USB.
Once you have generated your keys, the next step is to submit a deposit using the Launchpad.
Eth2 || Launchpad

Upload Deposit File
Drag and drop your Deposit Data file onto the launchpad site:

Select Metamask Wallet

Be sure your Metamask wallets has more than 32 ETH to cover gas fees (about 0.1 ETH)
Accept the Risks and Continue

Create Deposit Transaction
Click "SEND DEPOSIT" to initiate the transaction in Metamask

Confirm Deposit Address is Correct:

Transaction Successful

Use https://beaconcha.in/ to search your validator and check the status

Click Deposits
Deposits
Eth2 || Validator || Import Keys
Change Ownership of Lighthouse Directory:
DO NOT JUST COPY THE NEXT COMMAND
You must change YOURUSERNAME:YOURUSERNAME to your username in the command below.
sudo chown -R YOURUSERNAME:YOURUSERNAME /var/lib/lighthouseNote: If you don't know your username, use the command whoami
Change directory to lighthouse
cd ~/lighthouseImport keystore into Lighthouse:
lighthouse account validator import --directory $HOME --datadir /var/lib/lighthouseKeys Successfully Imported

Change ownership of /var/lib/lighthouse back to root:
/var/lib/lighthouse back to root:sudo chown root:root /var/lib/lighthouseChange ownership of /var/lib/lighthouse/beacon :
/var/lib/lighthouse/beacon :sudo chown -R lighthousebeacon:lighthousebeacon /var/lib/lighthouse/beaconEth2 || Validator || Systemd
SystemdCreate lighthousevalidator user:
lighthousevalidator user:sudo useradd --no-create-home --shell /bin/false lighthousevalidatorCreate /var/lib/lighthouse/validators directory:
/var/lib/lighthouse/validators directory:sudo mkdir -p /var/lib/lighthouse/validatorsSet permissions for /var/lib/lighthouse/validators :
/var/lib/lighthouse/validators :sudo chown -R lighthousevalidator:lighthousevalidator /var/lib/lighthouse/validatorsCreate lighthousevalidator.service:
lighthousevalidator.service:sudo nano /etc/systemd/system/lighthousevalidator.servicePaste the following into the file:
[Unit]
Description=Lighthouse Validator
Wants=network-online.target
After=network-online.target
[Service]
User=lighthousevalidator
Group=lighthousevalidator
Type=simple
Restart=always
RestartSec=5
ExecStart=/usr/local/bin/lighthouse validator_client --datadir /var/lib/lighthouse
[Install]
WantedBy=multi-user.target
The file should look like this:

Reload Daemon:
sudo systemctl daemon-reloadETH2 || Validator || Run
Start lighthousevalidator.service:
lighthousevalidator.service:sudo systemctl start lighthousevalidatorCheck lighthousevalidator.service output:
lighthousevalidator.service output:sudo journalctl -fu lighthousevalidator.serviceValidator || Waiting for Beacon Node to Sync
If the beacon node has not finished syncing, the validator will provide a warning:

Validator || Awaiting Activation

Beaconcha.in || Awaiting Activation

Congratulations, you are officially ready to begin staking! Your validator will be assigned an activation epoch. Be sure you have all systems updated and online prior to activation!
Once your validator has activated and began attesting, no other action is needed. It's important to check for updates (both ETH1 and ETH2), and occassionally check your validator to ensure you are attesting.
Update Geth (and some other software packages)
sudo apt update && sudo apt upgradeUpdate Lighthouse
1. Stop lighthousebeacon and lighthousevalidator
lighthousebeacon and lighthousevalidatorsudo systemctl stop lighthousebeacon && sudo systemctl stop lighthousevalidator2. Change directories to lighthouse:
cd ~/lighthouse3. Pull Master:
git pull origin master4. Make:
make5. Copy into /usr/local/bin:
/usr/local/bin:sudo cp /$HOME/.cargo/bin/lighthouse /usr/local/bin6. Start beacon node and validator:
sudo systemctl start lighthousebeacon && sudo systemctl start lighthousevalidator7. Check Beacon Node Output:
sudo journalctl -fu lighthousebeacon.service8. Check Validator output:
sudo journalctl -fu lighthousevalidator.serviceLighthouse is updated! Check https://beaconcha.in/ to ensure you are attesting again.
Last updated
Was this helpful?