Aztec Prover Documentation
ℹ️
Recommended Hardware: 32 Cores, 128GB RAM, 500GB of storage (NVME)
Prerequisite:
Docker & docker compose
Installation
You have to create the working directory first
mkdir -p $HOME/aztec-prover
cd $HOME/aztec-prover
These lists are what you need to change on docker-compose.yml file
<ETH_SEPOLIA_RPC>
<ETH_SEPOLIA_BEACON>
<PRIVATE_KEY>
<P2P_IP>
Get into the docker-compose.yml file
nano docker-compose.yml
And copy all of these things and Make sure you already
name: aztec-prover
services:
prover-node:
container_name: prover-node
image: aztecprotocol/aztec:latest
restart: unless-stopped
depends_on:
broker:
condition: service_started
required: true
environment:
# PROVER_COORDINATION_NODE_URLS: "IP:8080" #Fill this with your sequencer node
P2P_ENABLED: "true"
PROVER_NODE_POLLING_INTERVAL_MS: "1000"
DATA_DIRECTORY: /data
ETHEREUM_HOSTS: <ETH_SEPOLIA_RPC>
L1_CONSENSUS_HOST_URLS: <ETH_SEPOLIA_BEACON>
LOG_LEVEL: info
PROVER_BROKER_HOST: "http://broker:10100"
PROVER_PUBLISHER_PRIVATE_KEY: <PRIVATE_KEY>
P2P_IP: <P2P_IP>
entrypoint: >
sh -c 'node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js start --archiver --prover-node --network alpha-testnet'
ports:
- "8090:8080"
- "40400:40400"
- "40400:40400/udp"
volumes:
- ./data:/data
broker:
container_name: broker
image: aztecprotocol/aztec:latest
restart: unless-stopped
environment:
DATA_DIRECTORY: /data
ETHEREUM_HOSTS: <ETH_SEPOLIA_RPC>
LOG_LEVEL: info
AZTEC_PORT: 10100
entrypoint: >
sh -c 'node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js start --prover-broker --network alpha-testnet'
volumes:
- ./data:/data
ports:
- "10100:10100"
aztec-agent:
container_name: aztec-agent
image: aztecprotocol/aztec:latest
entrypoint: >
sh -c 'node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js start --prover-agent --network alpha-testnet'
environment:
PROVER_AGENT_COUNT: "1"
PROVER_AGENT_POLL_INTERVAL_MS: "1000"
PROVER_BROKER_HOST: http://broker:10100
PROVER_ID: <ETH_ADDRESS>
restart: unless-stopped
pull_policy: always
The last step you need to do is start the service by following this command
docker compose up -d
How to check logs?
cd $HOME/aztec-prover
docker compose logs -f