2022-11-30 10:51:24 +01:00
|
|
|
[service]
|
2023-02-02 13:29:43 +01:00
|
|
|
address = ":5000"
|
|
|
|
# Exposes Prometheus metrics
|
|
|
|
# /metrics endpoint
|
|
|
|
metrics = true
|
2022-11-30 10:51:24 +01:00
|
|
|
|
2023-02-02 13:29:43 +01:00
|
|
|
# System default values
|
|
|
|
# Valus are in wei unless otherwise stated
|
2022-11-30 10:51:24 +01:00
|
|
|
[system]
|
2023-02-02 13:29:43 +01:00
|
|
|
# Any account below 1 KES equivalent of CELO is topped up again
|
|
|
|
# 10000000000000000 = 1 KES
|
|
|
|
gas_refill_threshold = 10000000000000000
|
|
|
|
gas_refill_value = 10000000000000000
|
|
|
|
# Every custodial account is given 2 KES worth of CELO
|
|
|
|
giftable_gas_value = 20000000000000000
|
|
|
|
# The giftable token is a training voucher
|
|
|
|
# Every new user is given 5 DGFT
|
|
|
|
giftable_token_address = "0x486aD10d70107900546455F7a0e022c300F157Bf"
|
|
|
|
giftable_token_value = 5000000
|
|
|
|
# System private key
|
|
|
|
# Should always be toped up
|
|
|
|
private_key = "a6af6c597c614e3c8ee4b7638ab7c3f737aece3773a5413ca8caf4338e6b06d1"
|
|
|
|
lock_prefix = "lock:"
|
|
|
|
public_key = "0x80097c773B3E83472FC7952c5206a7DB35d42bEF"
|
|
|
|
token_decimals = 6
|
2022-11-30 16:16:58 +01:00
|
|
|
token_transfer_gas_limit = 100000
|
2022-11-30 10:51:24 +01:00
|
|
|
|
|
|
|
[chain]
|
|
|
|
rpc_endpoint = "https://alfajores-forno.celo-testnet.org"
|
2023-02-02 13:29:43 +01:00
|
|
|
testnet = true
|
2022-11-30 10:51:24 +01:00
|
|
|
|
|
|
|
[postgres]
|
|
|
|
debug = false
|
2023-02-02 13:29:43 +01:00
|
|
|
dsn = "postgres://postgres:postgres@localhost:5432/cic_custodial"
|
2022-11-30 10:51:24 +01:00
|
|
|
|
|
|
|
[redis]
|
2023-02-02 13:29:43 +01:00
|
|
|
debug = false
|
|
|
|
dsn = "redis://localhost:6379/1"
|
|
|
|
min_idle_conn = 5
|
2022-11-30 10:51:24 +01:00
|
|
|
|
|
|
|
[asynq]
|
2023-02-02 13:29:43 +01:00
|
|
|
worker_count = 15
|
|
|
|
debug = false
|
2023-02-03 10:29:27 +01:00
|
|
|
dsn = "redis://localhost:6379/0"
|
2023-02-02 13:29:43 +01:00
|
|
|
task_retention_hrs = 24
|