For the complete documentation index, see llms.txt. This page is also available as Markdown.

Step 4: Installing execution client

🛸 Install execution client (ETH1 node)

Pick an execution client

Your choice of either Geth, Besu, Nethermind, or Erigon.

To strengthen Ethereum's resilience against potential attacks or consensus bugs, it's best practice to run a minority client in order to increase client diversity. Find the latest distribution of execution clients here: https://clientdiversity.org

🛡️ Recommendation 🛡️: Nethermind

Geth - Go Ethereum is one of the three original implementations (along with C++ and Python) of the Ethereum protocol. It is written in Go, fully open source and licensed under the GNU LGPL v3.

Review the latest release notes at https://github.com/ethereum/go-ethereum/releases

🧬Install from the repository

sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update -y
sudo apt-get install ethereum -y

⚙️ Setup and configure systemd

Run the following to create a unit file to define your eth1.service configuration.

Simply copy/paste the following.

cat > $HOME/eth1.service << EOF
[Unit]
Description=Geth Execution Layer Client service
Wants=network-online.target
After=network-online.target
Documentation=https://www.coincashew.com

[Service]
Type=simple
User=ethereum
Restart=on-failure
RestartSec=3
TimeoutSec=690
ExecStart=/usr/bin/geth \
  --goerli \
  --metrics \
  --pprof \
  --authrpc.jwtsecret=/secrets/jwtsecret

[Install]
WantedBy=multi-user.target
EOF

Move the unit file to /etc/systemd/system and give it permissions.

Run the following to enable auto-start at boot time.

⛓️Start geth

Hyperledger Besu is an open-source Ethereum client designed for demanding enterprise applications requiring secure, high-performance transaction processing in a private network. It's developed under the Apache 2.0 license and written in Java.

🧬Install java dependency

🌜Download and unzip Besu

Review the latest release at https://github.com/hyperledger/besu/releases

Run the following to automatically download the latest linux release, un-tar and cleanup.

⚙️ Setup and configure systemd

Move the unit file to /etc/systemd/system and give it permissions.

Run the following to enable auto-start at boot time.

⛓️ Start besu

Nethermind is a flagship Ethereum client all about performance and flexibility. Built on .NET core, a widespread, enterprise-friendly platform, Nethermind makes integration with existing infrastructures simple, without losing sight of stability, reliability, data integrity, and security.

⚙️ Install dependencies

🌜Download and unzip Nethermind

Review the latest release at https://github.com/NethermindEth/nethermind/releases

Run the following to automatically download the latest linux release, un-zip and cleanup.

⚙️ Setup and configure systemd

Run the following to create a unit file to define your eth1.service configuration.

Simply copy/paste the following.

Move the unit file to /etc/systemd/system and give it permissions.

Run the following to enable auto-start at boot time.

⛓️ Start Nethermind

Erigon - Successor to OpenEthereum, Erigon is an implementation of Ethereum (aka "Ethereum client"), on the efficiency frontier, written in Go.

⚙️ Install Go dependencies

Verify Go is properly installed and cleanup files.

🤖 Build and install Erigon

Install build dependencies.

Review the latest release at https://github.com/ledgerwatch/erigon/releases

Verify the build completed successfully by displaying Erigon's version.

​ Example of version:

Make data directory and update directory ownership.

⚙️ Setup and configure systemd

Run the following to create a unit file to define your eth1.service configuration.

Simply copy/paste the following.

Move the unit files to /etc/systemd/system and give it permissions.

Run the following to enable auto-start at boot time.

⛓️Start Erigon

🛠️ Helpful execution client commands

Now that your execution client is configured and started, proceed to the next step on setting up your consensus client.

Last updated