Run zkSync Prover


To run a prover for zkSync-era-based networks, you are required to run an external-node, a circuit-synthesizer and several provers, to be specific:


  • Synchronizing necessary data from L1 and trusted L2 node

  • Managing and sending ready proofs to L1 to earn rewards


  • Distributing and collecting proof tasks


  • Performing ZKP calculation tasks


OS: Ubuntu 20.04 amd64 LTS and above

Prover GPU: GeForce 30 Series and above


The deploying steps mentioned in this documentation require docker and docker-compose to be previously installed. Check the following links if you haven't installed the dependencies yet.

Remember to set a proper directory for docker root.

Additionally, running a prover requires nvidia-container-toolkit / nvidia-docker2


Install nvidia-container-toolkit & Configuring Docker

You may skip this part if running with easy-installation scripts

$ curl -fsSL | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \&& curl -s -L | \
    sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
    sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list \&& \
    sudo apt-get update
$ sudo apt-get install -y nvidia-container-toolkit
$ sudo nvidia-ctk runtime configure --runtime=docker

$ sudo systemctl restart docker

Easy Installation

1. External-node

1.1 Install the Base Environment

Automatically check dependencies (including docker, docker-compose, nvidia-container-toolkit) and install missing ones.

wget -c -O ./ && chmod +x ./ && ./

1.2 Install the External-node

Automatically downloads docker images and modifies the configuration based on the network selected.

wget -c -O ./ &&  chmod +x ./ && ./

Enter after the instructions

  • Preferred network

  • Operator address (who submits proofs and receives rewards)

  • Private key of the operator

  • L1 RPC URL

2. Prover Group

2.1 Install the Base Environment

See 1.1 #1.1-install-the-base-environment

2.2 Install Prover

Automatically checks the graphic card driver version and downloads the corresponding docker image.

wget -c -O ./ && chmod +x ./ && ./

Enter after the instructions

  • Preferred network

  • IP address of the external-node

Last updated