cic-custodial/config.toml
Mohamed Sohail 9e1d62a014
feat: add transfer authorization (#100)
* 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
2023-07-10 14:32:05 +08:00

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 = ""