Guide | How to setup a validator for Ethereum staking on Pithos testnet in 10 minutes or less

Become a validator, start staking and help secure Ethereum, a proof-of-stake blockchain. Anyone with 32 ETH can join.

Your Mission

To participate in the public testnet known as Pithos, which is the public's first glimpse in helping Ethereum's journey towards "The Merge", where Ethereum will transition from proof of work to a much more sustainable proof of stake consensus model.

Major props and credits to parithosh for this knowledge share. Without his extensive work and dedication, this guide would not be possible.

The MergETHEREUM Panda

Learn more about the Merge: https://ethmerge.com/

Prerequisites

This guide was tested against Ubuntu 20.04.1 LTS client. You'll need a virtual machine or local desktop/server/laptop/RaspberryPi.

Minimum Hardware Requirements

  • Operating system: 64-bit Linux (i.e. Ubuntu 20.04 LTS Server or Desktop)

  • Processor: Dual core CPU, Intel Core i5–760 or AMD FX-8100 or better

  • Memory: 4GB RAM

  • Storage: 16GB SSD

For examples of actual staking hardware builds, check out RocketPool's hardware guide.

How to participate with Pithos

At present, only the consensus beacon client and execution client are available now. Consensus layer's validator client are coming soon.

1. Install dependencies and updates

Install packages and update OS

Install Docker

Install Docker Compose

Verify docker and docker-compose installed properly.

Sample output of known working versions.

Docker version 20.10.9, build c2ea9bc

docker-compose version 1.29.2, build 5becea4c

Reboot your machine to complete docker installation.

2. Configure Firewall

Initialize the firewall with Ethereum's p2p ports and ssh.

More comprehensive staking validator node security best practices also available.

Confirm the settings are in effect.

Example output:

For optimal connectivity, ensure Port Forwarding is setup for your router.

3. Setup Pithos ansible files

4. Set IP Address

Set your public IP address into the pithos.vars file. Ensure your IP address is correct by cross checking with https://www.whatismyip.com.

5. Run the execution and consensus clients

Choose and start up your execution client.

Choose and start up your consensus client.

Check your logs to confirm that the execution and consensus clients are up and syncing.

Syncing is complete when your slot number matches that of a block explorers. Check https://pithos-explorer.ethdevops.io/

Since the network is relatively new, syncing both the execution and consensus layers should take a few minutes or so.

Additional Information

Stopping the execution and consensus clients

To stop the clients, run

Troubleshooting

View the current running docker processes.

Example output:

Notice the column under NAMES. In this example, it's geth.

We can shutdown and clean the container by calling geth's yml filename (e.g docker-compose.geth.yml). Update this filename for your specific execution or consensus client.

Now start up the execution and consensus clients again.

Change Ports

Scenario: The default ports 30303 and 9000 are already in use and you need to change ports.

Edit the appropriate docker .yml file. e.g. docker-compose.geth.yml

Add this to the command line.

Update UFW firewalls and/or port forwarding rules accordingly.

Reference Material