cashierd.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ## cashierd configuration file
  2. ##
  3. ## Please make sure you go through all the settings so you can configre
  4. ## your daemon properly.
  5. # The endpoint where cashierd will bind its RPC socket
  6. rpc_listen_address = "127.0.0.1:9000"
  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/cashierd_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 cashierd wallet
  24. cashier_wallet_path = "~/.config/darkfi/localdata/cashier_wallet.db"
  25. # Password for cashierd wallet
  26. cashier_wallet_password = "TEST_PASSWORD"
  27. # Path to client wallet
  28. client_wallet_path = "~/.config/darkfi/localdata/cashier_client_wallet.db"
  29. # Password for client wallet
  30. client_wallet_password = "TEST_PASSWORD"
  31. # Path to database
  32. database_path = "~/.config/darkfi/localdata/cashier_database.db"
  33. # The configured networks to use.
  34. [[networks]]
  35. name = "sol"
  36. blockchain = "devnet"
  37. # The path to a secret key (can be created with solana-keygen new --no-bip39-passphrase)
  38. keypair = ""
  39. [[networks]]
  40. name = "btc"
  41. blockchain = "testnet"
  42. keypair = ""