forked from Madisonw/allora-offchain-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
59 lines (59 loc) · 1.73 KB
/
config.example.json
File metadata and controls
59 lines (59 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"wallet": {
"chainId": "allora-testnet-1",
"keyringBackend": "test",
"keyringPassphrase": "",
"addressKeyName": "testkey",
"addressRestoreMnemonic": "your mnemonic here",
"feeGranterAddress": "",
"alloraHomeDir": "",
"gasPrices": "auto",
"gasPriceUpdateInterval": 5,
"maxFees": 50000000,
"gasAdjustment": 1.2,
"simulateGasFromStart": true,
"GasPerByte": 1,
"BaseGas": 200000,
"nodeRpcs": ["https://allora-rpc.testnet.allora.network"],
"nodegRpcs": ["allora-grpc.testnet.allora.network:443","testnet-allora.lavenderfive.com:443"],
"maxRetries": 5,
"retryDelay": 3,
"accountSequenceRetryDelay": 1,
"launchRoutineDelay": 5,
"submitTx": true,
"blockDurationEstimated": 6,
"windowCorrectionFactor": 0.8,
"timeoutRPCSecondsQuery": 60,
"timeoutRPCSecondsTx": 300,
"timeoutRPCSecondsRegistration": 300,
"timeoutHTTPConnection": 10
},
"worker": [
{
"topicId": 1,
"inferenceEntrypointName": "apiAdapter",
"parameters": {
"InferenceEndpoint": "http://source:8000/inference/{Token}",
"Token": "ETH"
}
}
],
"reputer": [
{
"topicId": 1,
"groundTruthEntrypointName": "apiAdapter",
"lossFunctionEntrypointName": "apiAdapter",
"minStake": 100000000,
"groundTruthParameters": {
"GroundTruthEndpoint": "http://localhost:8888/gt/{Token}/{BlockHeight}",
"Token": "ETHUSD"
},
"lossFunctionParameters": {
"LossFunctionService": "http://localhost:5000",
"LossMethodOptions": {
"loss_method": "sqe"
}
}
}
]
}