Installation Setup

Operating System : Ubuntu 22.04
CPU: Minimum of 1/2 core.
Memory: 2 to 4 GB.
Storage: SSD or NVMe with at least 5GB of space.Deploy the Node

Last updated

Operating System : Ubuntu 22.04
CPU: Minimum of 1/2 core.
Memory: 2 to 4 GB.
Storage: SSD or NVMe with at least 5GB of space.
Last updated
cd $HOME
git clone https://github.com/allora-network/basic-coin-prediction-node
cd basic-coin-prediction-nodenano .envTOKEN=ETH
TRAINING_DAYS=30
TIMEFRAME=4h
MODEL=SVR
REGION=US
DATA_PROVIDER=Coingecko
CG_API_KEY=GETYOURAPIFROMCOINGECKO nano config.json{
"wallet": {
"addressKeyName": "WalletName",
"addressRestoreMnemonic": "SeedPhrase",
"alloraHomeDir": "",
"gas": "auto",
"gasAdjustment": 1.2,
"gasPrices": "10",
"gasPriceUpdateInterval": 60,
"maxFees": 25000000,
"nodeRpc": "https://allora-rpc.testnet.allora.network",
"maxRetries": 5,
"retryDelay": 3,
"accountSequenceRetryDelay": 5,
"submitTx": true,
"blockDurationEstimated": 10,
"windowCorrectionFactor": 0.8
},
"worker": [
{
"topicId": 1,
"inferenceEntrypointName": "apiAdapter",
"loopSeconds": 2,
"parameters": {
"InferenceEndpoint": "http://inference:8000/inference/{Token}",
"Token": "ETH"
}
},
{
"topicId": 2,
"inferenceEntrypointName": "apiAdapter",
"loopSeconds": 4,
"parameters": {
"InferenceEndpoint": "http://inference:8000/inference/{Token}",
"Token": "ETH"
}
},
{
"topicId": 7,
"inferenceEntrypointName": "apiAdapter",
"loopSeconds": 6,
"parameters": {
"InferenceEndpoint": "http://inference:8000/inference/{Token}",
"Token": "ETH"
}
}
]
}nano docker-compose.ymlchmod +x init.config
./init.config docker compose pull
docker compose up --build -ddocker compose logs -f worker