lighthouse/book/src/become-a-validator.md
Paul Hauner 698af6d7ec
Update docs for testnet3 (#773)
* Start docker docs

* Add progress

* Update docker.md

* Add note about geth syncing

* Fix env to use geth

* Update docs

* Remove sigp goerli node

* Change text about eth1 syncing

* Address comments from @pscott

* Add links to beaconcha.in

* Add instructions for starting an eth1 node

* Fix typo

* Re-organise Syncing log
2020-01-10 13:56:48 +11:00

3.4 KiB

Become an Ethereum 2.0 Validator*

* Testnet validator

Running Lighthouse validator is easy if you're familiar with the terminal. It runs on Linux, MacOS and Windows and we have a Docker work-flow.

Before you start, you'll need Metamask and 3.2 gETH (Goerli ETH). We recommend the mudit.blog faucet for those familiar with Goerli, or goerli.net for an overview of the testnet.

1. Install and start Lighthouse

There are two, different ways to install and start a Lighthouse validator:

Once you have completed only one of these steps, move onto the next step.

2. Submit your deposit to Goerli

Upload the eth1_deposit_data.rlp file from your validator directory (created in Step 1) to submit your 3.2 Goerli-ETH deposit using Metamask.

Hint: the method used in Step 1 will determine where this file is located.

Upload and Submit Deposit

Your validator deposit was submitted and this step is complete.

See the transaction on Etherscan or reload to perform another deposit.

Error

Unknown error.

This deposit is using gETH (Goerli ETH) which has no real value. Don't ever send real ETH to our deposit contract!

3. Leave Lighthouse running

Leave your beacon node and validator client running and you'll see logs as the beacon node keeps synced with the network and the validator client produces blocks and attestations.

It will take 4-8+ hours for the beacon chain to process and activate your validator, however you'll know you're active when the validator client starts successfully publishing attestations each slot:

Dec 03 08:49:40.053 INFO Successfully published attestation      slot: 98, committee_index: 0, head_block: 0xa208…7fd5,

Although you'll produce an attestation each slot, it's less common to produce a block. Watch for the block production logs too:

Dec 03 08:49:36.225 INFO Successfully published block            slot: 98, attestations: 2, deposits: 0, service: block

If you see any ERRO (error) logs, please reach out on Discord or create an issue.

Don't forget to checkout the open-source block explorer for the Lighthouse testnet at lighthouse-testnet3.beaconcha.in.

Happy staking!