darkfid_config.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ## darkfid configuration file
  2. ##
  3. ## Please make sure you go through all the settings so you can configure
  4. ## your daemon properly.
  5. # Path to the client database
  6. database_path = "~/.config/darkfi/darkfid_client.db"
  7. # Path to the wallet database
  8. wallet_path = "~/.config/darkfi/darkfid_wallet.db"
  9. # The wallet password
  10. wallet_password = "TEST_PASSWORD"
  11. # Path to DER-formatted PKCS#12 archive. (used only with tls url)
  12. # This can be created using openssl:
  13. # openssl pkcs12 -export -out identity.pfx -inkey key.pem -in cert.pem -certfile chain_certs.pem
  14. tls_identity_path = "~/.config/darkfi/darkfid_identity.pfx"
  15. # Socks5 server url. eg. `socks5://127.0.0.1:9050` used for tor and nym protocols
  16. [socks_url]
  17. url = "socks5://127.0.0.1:9050"
  18. # The address where darkfid should bind its RPC socket
  19. [rpc_listener_url]
  20. url="127.0.0.1:8000"
  21. # Password for the created TLS identity or tor password
  22. password = "FOOBAR"
  23. # The endpoint to a gatewayd protocol API
  24. [gateway_url]
  25. url="tcp://testnet.gateway-protocol.dark.fi:3333"
  26. # The endpoint to a gatewayd publisher API
  27. [gateway_pub_url]
  28. url="tcp://testnet.gateway-publish.dark.fi:4444"
  29. # The configured cashiers to use.
  30. [[cashiers]]
  31. # Cashier name
  32. name = "testnet.cashier.dark.fi"
  33. # The selected cashier public key
  34. public_key = "129F9szk9CuMEzBb8VqnoWPuShxayUznAgUBZsGzLyMrkDBHxC3"
  35. # The RPC endpoint for a selected cashier
  36. [cashiers.rpc_url]
  37. url="tls://testnet.cashier.dark.fi:9000"