darkfid.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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/darkfid_identity.pfx"
  13. # Password for the created TLS identity. (Unused if serve_tls=false)
  14. tls_identity_password = "FOOBAR"
  15. # The RPC endpoint for a selected cashier
  16. cashier_rpc_url = "tcp://127.0.0.1:9000"
  17. #cashier_rpc_url = "tls://127.0.0.1:9000"
  18. # The endpoint to a gatewayd protocol API
  19. gateway_protocol_url = "127.0.0.1:3333"
  20. # The endpoint to a gatewayd publisher API
  21. gateway_publisher_url = "127.0.0.1:4444"
  22. # Path to mint.params
  23. mint_params_path = "~/.config/darkfi/cashierd_mint.params"
  24. # Path to spend.params
  25. spend_params_path = "~/.config/darkfi/cashierd_spend.params"
  26. # Path to the client database
  27. database_path = "~/.config/darkfi/darkfid_client.db"
  28. # Path to the wallet database
  29. wallet_path = "~/.config/darkfi/darkfid_wallet.db"
  30. # The wallet password
  31. wallet_password = "TEST_PASSWORD"