cic-custodial/config.toml
Mohammed Sohail 611addbf64
feat: add service mode flags, other refactors
* closes #32
* bin can now run in full (default), tasker, api mode
* move logg bootstrpping earlier
* config file loading via flag
* rename service to main
* graceful shutdown now in main and dependant on mode
2022-12-01 14:29:34 +00:00

34 lines
926 B
TOML

[service]
address = ":5000"
statsviz_debug = true
[system]
gas_refill_threshold = 100000000000000
gas_refill_value = 100000000000000
giftable_gas_value = 200000000000000
giftable_token_address = "0x486aD10d70107900546455F7a0e022c300F157Bf"
giftable_token_value = 5000000000000000000
private_key = "a6af6c597c614e3c8ee4b7638ab7c3f737aece3773a5413ca8caf4338e6b06d1"
lock_prefix = "lock:"
public_key = "0x80097c773B3E83472FC7952c5206a7DB35d42bEF"
token_decimals = 18
token_transfer_gas_limit = 100000
[chain]
rpc_endpoint = "https://alfajores-forno.celo-testnet.org"
testnet = true
[postgres]
debug = false
dsn = "postgres://postgres:postgres@localhost:5432/cic_custodial"
[redis]
debug = false
dsn = "redis://localhost:6379/1"
minconn = 5
[asynq]
concurrency = 25
debug = false
dsn = "redis://localhost:6379/0"