Remove b7s and add support for offchain-node

This commit is contained in:
conache
2024-08-07 19:27:04 +03:00
parent 5d70e9feee
commit d2b1ff68f9
6 changed files with 53 additions and 118 deletions

View File

@ -0,0 +1,37 @@
ALLORA_OFFCHAIN_NODE_CONFIG_JSON='{
"wallet": {
"addressKeyName": "test",
"addressRestoreMnemonic": "",
"addressAccountPassphrase": "",
"alloraHomeDir": "",
"gas": "1000000",
"gasAdjustment": 1.0,
"nodeRpc": "http://localhost:26657",
"maxRetries": 1,
"delay": 1,
"submitTx": false
},
"worker": [
{
"topicId": 1,
"inferenceEntrypointName": "api-worker-reputer",
"loopSeconds": 5,
"parameters": {
"InferenceEndpoint": "http://source:8000/inference/{Token}",
"Token": "ETH"
}
}
],
"reputer": [
{
"topicId": 1,
"reputerEntrypointName": "api-worker-reputer",
"loopSeconds": 30,
"minStake": 100000,
"parameters": {
"SourceOfTruthEndpoint": "http://source:8888/truth/{Token}/{BlockHeight}",
"Token": "ethereum"
}
}
]
}'