darkfid.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. # 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 endpoint to a gatewayd protocol API
  16. gateway_protocol_url = "tcp://testnet.gateway-protocol.dark.fi:3333"
  17. # The endpoint to a gatewayd publisher API
  18. gateway_publisher_url = "tcp://testnet.gateway-publish.dark.fi:4444"
  19. # Path to the client database
  20. database_path = "~/.config/darkfi/darkfid_client.db"
  21. # Path to the wallet database
  22. wallet_path = "~/.config/darkfi/darkfid_wallet.db"
  23. # The wallet password
  24. wallet_password = "TEST_PASSWORD"
  25. # The configured cashiers to use.
  26. [[cashiers]]
  27. # Cashier name
  28. name = "testnet.cashier.dark.fi"
  29. # The RPC endpoint for a selected cashier
  30. #rpc_url = "tcp://127.0.0.1:9000"
  31. rpc_url = "tls://testnet.cashier.dark.fi:9000"
  32. # The selected cashier public key
  33. public_key = "95MPgrASV5WQ6DgoVaWgamrnCFN3V5FZrJNCUWWhDEKz"