-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.example.json
More file actions
120 lines (120 loc) · 3.56 KB
/
config.example.json
File metadata and controls
120 lines (120 loc) · 3.56 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"db_path": "storage.db",
"log_path": "log.txt",
"log_level": 1,
"cache_path": "cache",
"solver": {
"enabled": true,
"commitments_and_solutions": "doboth",
"commitment_batch": {
"min_batch_size": 10,
"max_batch_size": 10,
"number_of_batches": 1
},
"solution_batch": {
"min_batch_size": 10,
"max_batch_size": 10,
"number_of_batches": 1
},
"profit_mode": "fixed",
"min_profit": 0,
"max_profit": 100,
"use_polling": true,
"polling_time": "1m",
"error_max_retries": 5,
"error_backoff": 425,
"error_backoff_multiplier": 1.5,
"metrics_sample_rate": "60s",
"enable_gas_estimation_mode": true,
"gas_estimation_margin": 100
},
"validator_config": {
"initial_stake": 0,
"stake_buffer_amount": 0,
"stake_buffer_topup_amount": 0,
"stake_buffer_percent": 2,
"stake_buffer_topup_percent": 1,
"stake_check": true,
"stake_check_interval": "120s",
"eth_low_threshold": 0.01,
"min_basetoken_threshold": 10,
"sell_interval": 0,
"sell_buffer": 0.5,
"sell_profit_in_eth": 0.01,
"sell_all_over_threshold": false,
"sell_min_amount": 0.001,
"sell_max_amount": 0,
"sell_eth_bal_target": 0,
"treasury_address": "0x0000000000000000000000000000000000000000",
"private_keys": [
"<validator-private-key>"
]
},
"batchtasks": {
"enabled": true,
"min_tasks_in_queue": 10,
"batch_mode": "normal",
"batch_size": 10,
"private_keys": []
},
"strategies": {
"model": "0x89c39001e3b23d2092bd998b62f07b523d23deb55e1627048b4ed47a4a38d5cc",
"strategy": "automine",
"automine": {
"owner": "SET_YOUR_WALLET_ADDRESS",
"version": 0,
"model": "0x89c39001e3b23d2092bd998b62f07b523d23deb55e1627048b4ed47a4a38d5cc",
"fee": 7000000000000000,
"input": {
"prompt": "What is the capital of the moon?"
}
}
},
"blockchain": {
"private_key": "CHANGEME",
"rpc_url": "CHANGEME",
"use_ethers_gas_oracle": false,
"cache_nonce": false,
"basefee_x": 2,
"gas_override": false,
"gas_override_gwei": 0
},
"claim": {
"enabled": true,
"max_claims_per_batch": 100,
"min_claims_per_batch": 10,
"delay": 60,
"claim_min_reward": 0.1,
"min_batch_profit": 0
},
"ml": {
"strategy": "cog",
"cog": {
"0x89c39001e3b23d2092bd998b62f07b523d23deb55e1627048b4ed47a4a38d5cc": {
"url": [
"<cog-url>"
]
}
}
},
"ipfs": {
"strategy": "http_client",
"http_client": {
"url": "/ip4/127.0.0.1/tcp/5001"
},
"pinata": {
"api_key": "",
"api_secret": "",
"jwt": "",
"base_url": "https://api.pinata.cloud"
},
"incentive_claim": true,
"claim_interval": "10s",
"oracle_url": "http://45.63.37.71:8444",
"timeout": "120s",
"use_bulk_claim": false,
"bulk_claim_batch_size": 10,
"max_single_claims_per_run": 10,
"min_aius_incentive_threshold": 0.0
}
}