2022-11-30 10:51:24 +01:00
|
|
|
[service]
|
2023-03-09 09:25:11 +01:00
|
|
|
address = ":5000"
|
2023-03-01 12:19:57 +01:00
|
|
|
# Exposes Go process Prometheus metrics
|
2023-02-15 08:05:43 +01:00
|
|
|
# /metrics endpoint
|
|
|
|
metrics = true
|
2022-11-30 10:51:24 +01:00
|
|
|
|
2023-02-20 10:56:30 +01:00
|
|
|
[chain]
|
2023-03-01 12:19:57 +01:00
|
|
|
rpc_endpoint = ""
|
2023-02-20 10:56:30 +01:00
|
|
|
testnet = true
|
2023-03-02 10:12:39 +01:00
|
|
|
devnet = false
|
2023-02-20 10:56:30 +01:00
|
|
|
|
2022-11-30 10:51:24 +01:00
|
|
|
[system]
|
2023-03-01 12:19:57 +01:00
|
|
|
# System default values
|
|
|
|
|
|
|
|
# Gas values are in wei with 18 d.p. precision unless otherwise stated
|
|
|
|
# Token values are in wei with 6 d.p. precision unless otherwise stated
|
|
|
|
|
|
|
|
# All addresses MUST be checksumed
|
|
|
|
account_index_address = ""
|
|
|
|
gas_faucet_address = ""
|
|
|
|
gas_refill_threshold = 2500000000000000
|
2023-03-08 13:09:34 +01:00
|
|
|
gas_refill_value = 15000000000000000
|
|
|
|
giftable_gas_value = 15000000000000000
|
2023-03-01 12:19:57 +01:00
|
|
|
giftable_token_address = ""
|
|
|
|
giftable_token_value = 5000000
|
2023-02-15 08:05:43 +01:00
|
|
|
# System private key
|
|
|
|
# Should always be toped up
|
2023-03-01 12:19:57 +01:00
|
|
|
private_key = ""
|
|
|
|
public_key = ""
|
2023-02-15 08:05:43 +01:00
|
|
|
token_decimals = 6
|
|
|
|
token_transfer_gas_limit = 200000
|
2022-11-30 10:51:24 +01:00
|
|
|
|
|
|
|
[postgres]
|
2023-03-01 12:19:57 +01:00
|
|
|
dsn = ""
|
2022-11-30 10:51:24 +01:00
|
|
|
|
|
|
|
[redis]
|
2023-03-01 12:19:57 +01:00
|
|
|
# Used for locks and the Noncestore
|
|
|
|
# Ideally use DB 1
|
|
|
|
dsn = ""
|
2023-02-15 08:05:43 +01:00
|
|
|
min_idle_conn = 5
|
2022-11-30 10:51:24 +01:00
|
|
|
|
|
|
|
[asynq]
|
2023-03-01 12:19:57 +01:00
|
|
|
# Exclusively used by the asynq tasker
|
|
|
|
# Ideally use DB 0
|
|
|
|
dsn = ""
|
2023-02-15 08:05:43 +01:00
|
|
|
task_retention_hrs = 24
|
2023-03-01 12:19:57 +01:00
|
|
|
worker_count = 15
|
2023-02-15 08:05:43 +01:00
|
|
|
|
|
|
|
[jetstream]
|
2023-03-01 12:19:57 +01:00
|
|
|
endpoint = ""
|
|
|
|
persist_duration_hrs = 48
|
|
|
|
dedup_duration_hrs = 6
|