The Ethereum Mainnet archive node has a size of 3.1TB on September 11th, 2024
Setup production Erigon
This guide covers the installation ofErigon, an implementation of Ethereum (execution layer), on the efficiency frontier, Archive Node by default, and Lighthouse(with historical blobs required for most L2 chains), as a Consensus Layer.
sudo systemctl daemon-reload #refresh systemd configuration when changes made
sudo systemctl enable erigon.service #enable erigon service at system startup
sudo systemctl start erigon.service #start erigon
sudo nano /etc/systemd/system/erigon.service #make changes in erigon.service file
Build Lighthouse
Go to the Releases page and select the latest release:
cd /root/
mkdir lighthouse_data
mkdir lighthouse && cd lighthouse
wget https://github.com/sigp/lighthouse/releases/download/v5.3.0/lighthouse-v5.3.0-x86_64-unknown-linux-gnu.tar.gz
tar -xzf lighthouse-v5.3.0-x86_64-unknown-linux-gnu.tar.gz #Extract the tar.gz archive
chmod +x /root/lighthouse/ #Grant execute permissions to the files in the directory
Create systemd file for Lighthouse
sudo nano /etc/systemd/system/lighthouse.service
Paste the configs and save by entering ctrl+X and Y+ENTER:
Sep 06 01:05:36.659 INFO New block received root: 0x9bf6a56781caf6b6e57cb6a0cead5e9ada0c417a36d4dd3d6924d07e5993935b, slot: 9896726
Sep 06 01:05:41.000 WARN Head is optimistic execution_block_hash: 0x613050be274505439dda4867d07840bd2e2e6e9ba0cddd96aada49449861bbb2, info: chain not fully verified, block and attestation production disabled until execution engine syncs, service: slot_notifier
Run curl command in the terminal to check the status of your node
curl -H "Content-type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' http://localhost:8545