Run with Docker(recommended for multiple nodes)

If you don’t have Docker yet, download it here.

Step1: Create the .env file

NODE_OPERATOR_PRIVATE_KEY={put the private key of your node operator wallet here}
NODE_OWNER_PRIVATE_KEY={put the private key of your node owner wallet here}

Step2: Create the docker-compose.yml file

version: "3.5"
services:
  lumoz-zkVerifier-node:
    container_name: lumoz-zkVerifier-node
    image: lumozorg/lumoz-zkverifier-node:0.0.1
    environment:
      - WALLET_PRIVATE_KEY=${NODE_OPERATOR_PRIVATE_KEY(recommended) or NODE_OWNER_PRIVATE_KEY}
    command:
      - "/bin/sh"
      - "-c"
      - "/app/zkVerifier-node node-runner"
  lumoz-zkVerifier-node-claim:
    container_name: lumoz-zkVerifier-node-claim
    image: lumozorg/lumoz-zkverifier-node:0.0.1
    environment:
      - WALLET_PRIVATE_KEY=${NODE_OPERATOR_PRIVATE_KEY(recommended) or NODE_OWNER_PRIVATE_KEY}
    command:
      - "/bin/sh"
      - "-c"
      - "/app/zkVerifier-node reward-claimer"

Step3: Run your node.

sudo docker-compose -f docker-compose.yml up -d lumoz-zkVerifier-node

Step4: Run the reward claim program.

sudo docker-compose -f docker-compose.yml up -d lumoz-zkVerifier-node-claim

Congratulations, your node is running successfully.

Last updated