cic-custodial/config.toml

53 lines
1.1 KiB
TOML
Raw Normal View History

2022-11-30 10:51:24 +01:00
[service]
address = ":5005"
# Exposes Go process Prometheus metrics
# /metrics endpoint
metrics = true
2022-11-30 10:51:24 +01:00
[chain]
rpc_endpoint = ""
testnet = true
2023-03-02 10:12:39 +01:00
devnet = false
2022-11-30 10:51:24 +01:00
[system]
# 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 = ""
lock_prefix = "lock:"
gas_faucet_address = ""
gas_refill_threshold = 2500000000000000
gas_refill_value = 10000000000000000
giftable_gas_value = 10000000000000000
giftable_token_address = ""
giftable_token_value = 5000000
# System private key
# Should always be toped up
private_key = ""
public_key = ""
token_decimals = 6
token_transfer_gas_limit = 200000
2022-11-30 10:51:24 +01:00
[postgres]
dsn = ""
2022-11-30 10:51:24 +01:00
[redis]
# Used for locks and the Noncestore
# Ideally use DB 1
dsn = ""
min_idle_conn = 5
2022-11-30 10:51:24 +01:00
[asynq]
# Exclusively used by the asynq tasker
# Ideally use DB 0
dsn = ""
task_retention_hrs = 24
worker_count = 15
[jetstream]
endpoint = ""
persist_duration_hrs = 48
dedup_duration_hrs = 6