Installation

🖥️System Requirements

- OS: Linux - CPU: 8 Core(s) - Memory: 16GB - Storage: 1TB SSD - Network: 25Mbps Minimum

💭Prerequisites

Have Docker installed in your system, if you don't, please follow this guide

🛠️Installation

  1. Install aztec cli

    bash -i <(curl -s https://install.aztec.network)
  2. Create folder for easier management

    mkdir -p aztec-docker/data
  3. Go inside the folder and create docker-compose.yml

    cd aztec-docker && vi docker-compose.yml
  4. Put this yml content in docker-compose.yml and modify accordingly

    name: aztec-sequencer
    services:
      aztec-sequencer:
        container_name: aztec-sequencer
        restart: unless-stopped
        image: aztecprotocol/aztec:alpha-testnet
        environment:
          ETHEREUM_HOSTS: "<your ETH RPC>"
          L1_CONSENSUS_HOST_URLS: "<your ETH Beacon>"
          DATA_DIRECTORY: /data
          VALIDATOR_PRIVATE_KEY: 0x<your private key hash>
          COINBASE: 0x<your address>
          P2P_IP: <your IP address>
          LOG_LEVEL: debug
        entrypoint: >
          sh -c 'node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js start --network alpha-testnet start --node --archiver --sequencer'
        ports:
          - 40400:40400/tcp
          - 40400:40400/udp
          - 8080:8080
        volumes:
          - ./data:/data
  5. Send some Sepolia ETH to your wallet address to get started

  6. Start the service with this command

    docker compose up -d

Last updated

Was this helpful?