mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2024-11-01 13:36:46 +01:00
Mohamed Sohail
9e1d62a014
* wip: add transfer auithorization * feat: update transferAuthPayload * switch to MAX_INT for value and use revoke flag * tranfer handler: fix nonce rollback on EOA account * feat: switch to session based session transfer auth * Demurrage contracts require setting the approval value to 0 before updating the value after the initial limit is set * This implementation auto-revokes every 15 min after arequest is created. Subsequent requests will fail untill the value is set back to 0 * feat: settable approve session timeout
35 lines
551 B
TOML
35 lines
551 B
TOML
[service]
|
|
address = ":5000"
|
|
# Exposes Go process Prometheus metrics
|
|
# /metrics endpoint
|
|
metrics = true
|
|
docs = false
|
|
|
|
[chain]
|
|
rpc_endpoint = ""
|
|
testnet = true
|
|
registry_address = ""
|
|
|
|
[system]
|
|
private_key = ""
|
|
public_key = ""
|
|
approve_timeout = "30m"
|
|
|
|
[postgres]
|
|
dsn = ""
|
|
|
|
[redis]
|
|
# Used for locks and the Noncestore
|
|
# Ideally use DB 1
|
|
dsn = ""
|
|
min_idle_conn = 5
|
|
|
|
[asynq]
|
|
# Exclusively used by the asynq tasker
|
|
# Ideally use DB 0
|
|
dsn = ""
|
|
task_retention_hrs = 24
|
|
worker_count = 15
|
|
|
|
[jetstream]
|
|
endpoint = "" |