Files
darkfi/example/config/darkfid.toml
2021-10-04 09:14:17 +03:00

44 lines
1.3 KiB
TOML

## darkfid configuration file
##
## Please make sure you go through all the settings so you can configure
## your daemon properly.
# The address where darkfid should bind its RPC socket
rpc_listen_address = "127.0.0.1:8000"
# Whether to listen with TLS or plain TCP
serve_tls = false
# Path to DER-formatted PKCS#12 archive. (Unused if serve_tls=false)
# This can be created using openssl:
# openssl pkcs12 -export -out identity.pfx -inkey key.pem -in cert.pem -certfile chain_certs.pem
tls_identity_path = "~/.config/darkfi/darkfid_identity.pfx"
# Password for the created TLS identity. (Unused if serve_tls=false)
tls_identity_password = "FOOBAR"
# The RPC endpoint for a selected cashier
cashier_rpc_url = "tcp://127.0.0.1:9000"
#cashier_rpc_url = "tls://127.0.0.1:9000"
# The endpoint to a gatewayd protocol API
gateway_protocol_url = "127.0.0.1:3333"
# The endpoint to a gatewayd publisher API
gateway_publisher_url = "127.0.0.1:4444"
# Path to mint.params
mint_params_path = "~/.config/darkfi/mint.params"
# Path to spend.params
spend_params_path = "~/.config/darkfi/spend.params"
# Path to the client database
database_path = "~/.config/darkfi/darkfid_client.db"
# Path to the wallet database
wallet_path = "~/.config/darkfi/darkfid_wallet.db"
# The wallet password
wallet_password = "TEST_PASSWORD"