Lighthouse

Installing and configuring the Lighthouse Beacon Node.

Lighthouse

Lighthouse is a leading Ethereum consensus client developed by Sigma Prime. It is written in Rust, making it highly secure and performant. It is a favorite among institutional operators for its stability and low resource footprint.

🛡️ Role: This service runs the Beacon Node. It connects to your Execution Client (e.g., Geth/Nethermind) to verify blocks and maintain synchronization with the Proof-of-Stake chain.


1. Download & Install

We will download the latest stable binary from the official Sigma Prime repository.

A. Create the Application Directory

Bash

# Create a folder for the binary
sudo mkdir -p /usr/local/lib/lighthouse

# Download the latest Linux release (Check https://github.com/sigp/lighthouse/releases)
# Example for v5.3.0:
sudo wget https://github.com/sigp/lighthouse/releases/download/v5.3.0/lighthouse-v5.3.0-x86_64-unknown-linux-gnu.tar.gz -O lighthouse.tar.gz

# Extract the archive
sudo tar -xvzf lighthouse.tar.gz -C /usr/local/lib/lighthouse

# Cleanup
rm lighthouse.tar.gz

B. Set Permissions Ensure the ethereum user owns the directory and the binary is executable.

Bash


2. Configure Systemd Service

We will configure Lighthouse to run as a background service.

⚡ Pro Tip: Checkpoint Sync Just like Prysm, Lighthouse supports syncing in minutes using a trusted checkpoint. We have included the --checkpoint-sync-url flag below.

Create the service file:

Bash

Paste the following configuration:

Ini, TOML

🔍 Flag Explanation:

  • bn: Tells Lighthouse to run in "Beacon Node" mode.

  • --execution-endpoint: The connection to Geth/Nethermind/Besu.

  • --http: Enables the REST API (Essential for checking sync status).

  • --metrics: Enables Prometheus metrics (Useful for Grafana dashboards).


3. Start the Service

Reload the systemd daemon and start the beacon node.

Bash


4. Verify Status

Check the logs to ensure Lighthouse is syncing and connected to the Execution Layer.

Bash

Expected Output:

  1. Connection: Connected to execution engine (Success! It found your EL).

  2. Sync: Starting checkpoint sync followed quickly by Synced.

  3. Peers: Peers connected: 50 indicates a healthy network connection.

📝 Note: Lighthouse logs are very readable. If you see "INFO Synced", your node is fully operational and following the head of the chain.

Last updated