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:
commit
0b9b0f9660
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ inference-data
|
|||||||
config.json
|
config.json
|
||||||
env
|
env
|
||||||
env_file
|
env_file
|
||||||
|
.env
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user