darkfid.toml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ## darkfid configuration file
  2. ##
  3. ## Please make sure you go through all the settings so you can configure
  4. ## your daemon properly.
  5. # The address where darkfid should bind its RPC socket
  6. rpc_listen_address = "127.0.0.1:8000"
  7. # Whether to listen with TLS or plain TCP
  8. serve_tls = false
  9. # Path to DER-formatted PKCS#12 archive. (Unused if serve_tls=false)
  10. # This can be created using openssl:
  11. # openssl pkcs12 -export -out identity.pfx -inkey key.pem -in cert.pem -certfile chain_certs.pem
  12. tls_identity_path = "~/.config/darkfi/localdata/darkfid_identity.pfx"
  13. # Password for the created TLS identity. (Unused if serve_tls=false)
  14. tls_identity_password = "FOOBAR"
  15. # The endpoint to a gatewayd protocol API
  16. gateway_protocol_url = "tcp://127.0.0.1:3333"
  17. # The endpoint to a gatewayd publisher API
  18. gateway_publisher_url = "tcp://127.0.0.1:4444"
  19. # Path to mint.params
  20. mint_params_path = "/usr/local/share/darkfi/mint.params"
  21. # Path to spend.params
  22. spend_params_path = "/usr/local/share/darkfi/spend.params"
  23. # Path to the client database
  24. database_path = "~/.config/darkfi/localdata/darkfid_client.db"
  25. # Path to the wallet database
  26. wallet_path = "~/.config/darkfi/localdata/darkfid_wallet.db"
  27. # The wallet password
  28. wallet_password = "TEST_PASSWORD"
  29. # The configured cashiers to use.
  30. [[cashiers]]
  31. # Cashier name
  32. name = ""
  33. # The RPC endpoint for a selected cashier
  34. rpc_url = ""
  35. # The selected cashier public key
  36. public_key = ""