Follow the EthStorage official tutorial

The EthStorage tutorial is really professional and easy-to-follow for both beginners and experts.

Highlight of the steps

  1. Prepare machine

    1. CPU: 4 cores and 8 threads

    2. RAM: 8GB

    3. Disk: 550GB

    4. OS: Ubuntu 20+

    Despite the above minimum requirement, I prepare a 16 core CPU, 32GB RAM, 1TB NVMe and Ubuntu 22 machine.

  2. Prepare miner and signer accounts

    1. miner account is to receive reward. It is the address you input in the form.

    2. signer account is to provider fees to transaction, can be used by more than one nodes.

  3. Request test ETH for signer

  4. Prepare RPC

    1. BlockPI: execution layer endpoint

    2. QuickNode: beacon endpoint

  5. Install docker

sudo apt update
sudo apt install -y
  1. Run es-node container

There are 3 methods to run this node. Docker is the easiest way if you're familiar with it.

docker run --name es  -d  \
          -v ./es-data:/es-node/es-data \
          -e ES_NODE_STORAGE_MINER=<miner> \
          -e ES_NODE_SIGNER_PRIVATE_KEY=<private_key> \
          -p 9545:9545 \
          -p 9222:9222 \
          -p 30305:30305/udp \
          --entrypoint /es-node/ \
          --l1.rpc <el_rpc> \
          --l1.beacon <cl_rpc>
  1. Check sync status

docker logs -n 20 -f es | grep "progress="

CPU usage is 99.9% during data sync phase.

Progress=5% after the first 40 minutes. Usually such progress is fast at the beginning and will become slower. I assume this needs at least 1 day.

There are two parameters to speed up the data sync phase.

Last updated