darkfid.toml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 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/darkfid_client.db"
  25. # Path to the wallet database
  26. wallet_path = "~/.config/darkfi/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 = "testnet.cashier.dark.fi"
  33. # The RPC endpoint for a selected cashier
  34. #rpc_url = "tcp://127.0.0.1:9000"
  35. rpc_url = "tls://testnet.cashier.dark.fi:9000"
  36. # The selected cashier public key
  37. public_key = "2MezH7FrtzGwtEEeTU8anM2b67Nzfv8XsojggGUavCUd"