🐳Docker

Authors: [ Ankur | Dapplooker]

System Requirements

CPU
OS
RAM
DISK

4 vCPU

Ubuntu 22.04

16 GB

2TB (SSD)

circle-info

The zkEVM archival node has a size of 810 GB on January 16, 2025.

Pre-requisite

Before starting, clean the setup then update and upgrade. Install following:

  • Docker

  • Docker Compose

  • Git

  • Unzip

  • L1 Ethereum node RPC

Commands

sudo apt update -y && sudo apt upgrade -y && sudo apt auto-remove -y
sudo apt install docker.io docker-compose git ufw -y unzip -y 

Firewall Settings

Set explicit default UFW rules

Allow SSH, HTTP, and HTTPS

Allow Remote connection

Setup Instructions

  1. Set the variables :

  1. Download and extract zkEVM artifacts :

  1. Copy the example environment file :

  1. Update the following variables in .env file :

Example docker compose file:

  1. Start the Node:

Monitor Logs

Monitor Logs of Docker Container

circle-info

You should see the following containers

  • zkevm-rpc

  • zkevm-sync

  • zkevm-state-db

  • zkevm-pool-db

  • zkevm-prover

Sync Status

Run a query to check the latest synchronized L2 block:

Response should look like:

REFERENCES

Last updated