Merge pull request #13 from allora-network/diego/set-config-example-as-inference

set inference as node in the example
This commit is contained in:
Diego C 2024-08-09 19:43:51 +02:00 committed by GitHub
commit 0b9b0f9660
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ inference-data
config.json config.json
env env
env_file env_file
.env

View File

@ -16,7 +16,7 @@
"inferenceEntrypointName": "api-worker-reputer", "inferenceEntrypointName": "api-worker-reputer",
"loopSeconds": 5, "loopSeconds": 5,
"parameters": { "parameters": {
"InferenceEndpoint": "http://source:8000/inference/{Token}", "InferenceEndpoint": "http://inference:8000/inference/{Token}",
"Token": "ETH" "Token": "ETH"
} }
} }

View File

@ -1,4 +1,3 @@
ALLORA_OFFCHAIN_NODE_CONFIG_JSON='{"wallet":{"addressKeyName":"basic-coin-prediction-offchain-node","addressRestoreMnemonic":"rich note fetch lava bless snake delay theme era anger ritual sea pluck neck hazard dish talk ranch trophy clap fancy human divide gun","addressAccountPassphrase":"secret","alloraHomeDir":"","gas":"1000000","gasAdjustment":1,"nodeRpc":"https://allora-rpc.devnet.behindthecurtain.xyz","maxRetries":1,"minDelay":1,"maxDelay":2,"submitTx":false},"worker":[{"topicId":1,"inferenceEntrypointName":"api-worker-reputer","loopSeconds":5,"parameters":{"InferenceEndpoint":"http://inference:8000/inference/{Token}","Token":"ETH"}}]}' ALLORA_OFFCHAIN_NODE_CONFIG_JSON='{"wallet":{"addressKeyName":"test-basic","addressRestoreMnemonic":"your mnemonic will go here","alloraHomeDir":"","gas":"1000000","gasAdjustment":1,"nodeRpc":"https://allora-rpc.devnet.behindthecurtain.xyz","maxRetries":1,"delay":1,"submitTx":false},"worker":[{"topicId":1,"inferenceEntrypointName":"api-worker-reputer","loopSeconds":5,"parameters":{"InferenceEndpoint":"http://inference:8000/inference/{Token}","Token":"ETH"}}]}'
ALLORA_OFFCHAIN_ACCOUNT_ADDRESS=allo14wkkdeg93mdc0sd770z9p4mpjz7w9mysz328um NAME=test-basic
NAME=basic-coin-prediction-offchain-node
ENV_LOADED=true ENV_LOADED=true