/allora-worker

A Dockerized worker setup for the Allora network. This repository provides scripts to configure and run worker nodes, including wallet integration, API key setup, and interaction with the testnet faucet. Monitor worker performance and track points on the Allora leaderboard

Primary LanguagePython

ALLORA WORKER INSTALLATION GUIDE

1. Clone the code from this repository

git clone https://github.com/hiephtdev/allora-worker
cd allora-worker

2. Install Docker and necessary libraries

chmod +x init.sh
./init.sh

3. Perform faucet

Go to the link and paste your Allora wallet address in the format allo1jzvjewf0... https://faucet.testnet-1.testnet.allora.network/

4. Run the worker

  • Run the worker => wait until it reports success to complete the process
cd node

If this is the first time, enter the following command with the node_name, mnemonic - wallet seed phrase, and cgc_api_key - API key obtained from CoinGecko

./init.config.sh <node_name> <mnemonic> <cgc_api_key>
# example: ./init.config.sh "MysticWho" "gospel guess idle vessel motor step xxx xxx xxx xxx xxx xxx" "GC-xxxxxx"
  • If no changes are needed and you just want to recreate the config, enter the following command
./init.config.sh --i
  • If you need additional help with this file, enter
./init.config.sh --help

Run the worker

docker compose up -d

Check if each worker is running

docker logs source-01 -f
docker logs updater -f
docker logs node -f

5. Complete the process and wait for the points explosion at

https://app.allora.network/points/leaderboard