Files
darkfi/example/config/darkfid.toml
2021-12-02 21:24:15 +01:00

47 lines
1.4 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 endpoint to a gatewayd protocol API
gateway_protocol_url = "tcp://testnet.gateway-protocol.dark.fi:3333"
# The endpoint to a gatewayd publisher API
gateway_publisher_url = "tcp://testnet.gateway-publish.dark.fi:4444"
# 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"
# The configured cashiers to use.
[[cashiers]]
# Cashier name
name = "testnet.cashier.dark.fi"
# The RPC endpoint for a selected cashier
#rpc_url = "tcp://127.0.0.1:9000"
rpc_url = "tls://testnet.cashier.dark.fi:9000"
# The selected cashier public key
public_key = "95MPgrASV5WQ6DgoVaWgamrnCFN3V5FZrJNCUWWhDEKz"