Configuration
Order of resolving configuration
The configuration is resolved in the following priority
Configuration File
auth:
# xpub used for admin api authentication
admin_key: xpub661MyMwAqRbcFgfmdkPgE2m5UjHXu9dj124DbaGLSjaqVESTWfCD4VuNmEbVPkbYLCkykwVZvmA8Pbf8884TQr1FgdG2nPoHR8aB36YdDQh
# ...
# other auth options
cache:
# cache engine - freecache/redis
engine: freecache
# ...
# other cache options
db:
datastore:
# enable datastore debug mode
debug: false
# datastore engine - sqlite/postgresql/mysql/mongodb (experimental)
engine: sqlite
# in this section you can define details about your database
# ...
arc:
url: https://arc.taal.com
token: mainnet_06770f425eb00298839a24a49cbdc02c
# deployment id used annotating api calls in XDeployment-ID header - this value will be randomly generated if not set
_deployment_id: spv-wallet-deployment-id
callback:
enabled: false
host: https://example.com
# token to authenticate callback calls - default callback token will be generated from the Admin Key
_token: 44a82509
# custom fee unit used for calculating fees (if not set, a unit from ARC policy will be used)
_custom_fee_unit:
satoshis: 1
bytes: 1000
block_headers_service:
auth_token: mQZQ6WmxURxWz5ch
# URL used to communicate with Block Headers Service (BHS)
url: http://localhost:8080
paymail:
beef:
use_beef: true
domains:
- localhost
# Prometheus metrics configuration
metrics:
enabled: falseEnvironment Variables
Last updated
