Run with Docker(recommended for multiple nodes)
Step1: Create the .env
file
.env
fileNODE_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}
JSONRPC_URL={your_rpc_url}
ADDRESS_OF_OWNER_OR_OPERSTOR={put the wallet address of your node owner or operator}
Step2: Create the docker-compose.yml
file
docker-compose.yml
fileversion: "3.5"
services:
lumoz-Verifier-node:
container_name: lumoz-Verifier-node
image: lumozorg/lumoz-verifier-node:latest
environment:
- WALLET_PRIVATE_KEY=${NODE_OPERATOR_PRIVATE_KEY}
- JSONRPC_URL=${JSONRPC_URL}
command:
- "/bin/sh"
- "-c"
- "/app/verifier-node node-runner"
lumoz-Verifier-node-claim:
container_name: lumoz-Verifier-node-claim
image: lumozorg/lumoz-verifier-node:latest
environment:
- JSONRPC_URL=${JSONRPC_URL}
- WALLET_PRIVATE_KEY=${NODE_OWNER_PRIVATE_KEY}
- OWNEROROPERATOR=${ADDRESS_OF_OWNER_OR_OPERSTOR}
command:
- "/bin/sh"
- "-c"
- "/app/verifier-node reward-claimer"
Step3: Run your node.
sudo docker-compose -f docker-compose.yml up -d lumoz-Verifier-node
sudo docker-compose -f docker-compose.yml up -d lumoz-Verifier-node
Step4: Run the reward claim program.
sudo docker-compose -f docker-compose.yml up -d lumoz-Verifier-node-claim
Congratulations, your node is running successfully.
Last updated