Update: We are pleased to announce a major testnet upgrade that simplifies worker node deployment, ensuring a smoother and more efficient experience for users engaging with Allora Network's testnet.
Points: We’re also working on retroactively applying points for those who have been running nodes up until now. Additionally, we’ll be adjusting the scale of points received by workers over the next week for those who have been running nodes up to now. Workers that spin up a node using the new process should see points within an hour of running the node.
If you are new, make sure you installed dependecies here
cd $HOME && cd basic-coin-prediction-node
docker compose down -v
cd $HOME && rm -rf basic-coin-prediction-node
Check your wallet name and address
allorad keys list
- save wallet name for next steps
cd $HOME
git clone https://github.com/allora-network/basic-coin-prediction-node
cd basic-coin-prediction-node
# Remove config file
rm -rf config.json
# Create new config file
nano config.json
Paste below code in it
- Replace your wallet
Seed Phrase
addressKeyName
was set as testkey since we choose it in step: Add Wallet
{
"wallet": {
"addressKeyName": "testkey",
"addressRestoreMnemonic": "Seed Phrase",
"alloraHomeDir": "",
"gas": "1000000",
"gasAdjustment": 1.0,
"nodeRpc": "https://sentries-rpc.testnet-1.testnet.allora.network/",
"maxRetries": 1,
"delay": 1,
"submitTx": false
},
"worker": [
{
"topicId": 1,
"inferenceEntrypointName": "api-worker-reputer",
"loopSeconds": 5,
"parameters": {
"InferenceEndpoint": "http://inference:8000/inference/{Token}",
"Token": "ETH"
}
},
{
"topicId": 2,
"inferenceEntrypointName": "api-worker-reputer",
"loopSeconds": 5,
"parameters": {
"InferenceEndpoint": "http://inference:8000/inference/{Token}",
"Token": "ETH"
}
},
{
"topicId": 7,
"inferenceEntrypointName": "api-worker-reputer",
"loopSeconds": 5,
"parameters": {
"InferenceEndpoint": "http://inference:8000/inference/{Token}",
"Token": "ETH"
}
}
]
}
Ctrl+X+Y+Enter to save & exit
chmod +x init.config
./init.config
- If you need to make changes to your
config.json
, you must rerun this command again after your changes are done
docker compose up -d --build
Containers:
docker compose ps
worker:
docker compose logs -f worker
inference:
docker compose logs -f inference
updater:
docker compose logs -f updater
# Response:
# updater-basic-eth-pred | UPDATING INFERENCE WORKER DATA
# updater-basic-eth-pred | Response content is '0'