The Ethereum Sepolia archive node has a size of 1TB on November 15th, 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, as a Consensus Layer.
Not advised to allow all or unknown IP address to RPC port
Enable Firewall
sudoufwenable
To check the status of UFW and see the current rules
sudoufwstatusverbose
Install GO
Go version 1.21+ is required
sudowgethttps://go.dev/dl/go1.21.6.linux-amd64.tar.gz&&sudorm-rf/usr/local/go&&sudotar-C/usr/local-xzfgo1.21.6.linux-amd64.tar.gz&&rmgo1.21.6.linux-amd64.tar.gzecho'export PATH=$PATH:/usr/local/go/bin:/root/.local/bin'>>/root/.bashrcsource/root/.bashrc#verify Go installationgoversion
sudosystemctldaemon-reload#refresh systemd configuration when changes madesudosystemctlenableerigon-sepolia.service#enable erigon-sepolia.service at system startupsudosystemctlstarterigon-sepolia.service#start erigon-sepolia.servicesudonano/etc/systemd/system/erigon-sepolia.service#make changes in erigon-sepolia.service file
Build Lighthouse
Go to the Releases page and select the latest release:
cd/root/mkdirlighthouse-sepolia_datamkdirlighthouse-sepolia&&cdlighthouse-sepoliawgethttps://github.com/sigp/lighthouse/releases/download/v5.3.0/lighthouse-v5.3.0-x86_64-unknown-linux-gnu.tar.gztar-xzflighthouse-v5.3.0-x86_64-unknown-linux-gnu.tar.gz#Extract the tar.gz archivechmod+x/root/lighthouse-sepolia/#Grant execute permissions to the files in the directory
sudosystemctldaemon-reload#refresh systemd configuration when changes madesudosystemctlenablelighthouse-sepolia.service#enable lighthouse-sepolia service at system startupsudosystemctlstartlighthouse-sepolia.service#start lighthouse-sepoliasudonano/etc/systemd/system/lighthouse-sepolia.service#make changes in lighthouse-sepolia.service file
Monitor the logs for errors
journalctl-uerigon-sepolia.service-f-n100#follow logs of erigon-sepolia.servicejournalctl-ulighthouse-sepolia.service-f-n100#follow logs of lighthouse-sepolia.service
During the synchonization, you are expected to get following log messages fromerigon: