drk_config.toml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ## drk configuration file
  2. ##
  3. ## Please make sure you go through all the settings so you can configure
  4. ## your daemon properly.
  5. ##
  6. ## The default values are left commented. They can be overridden either by
  7. ## uncommenting, or by using the command-line.
  8. # Blockchain network to use
  9. network = "testnet"
  10. # Flag indicating whether you want some fun in your life
  11. fun = true
  12. # Localnet blockchain network configuration
  13. [network_config."localnet"]
  14. # Path to blockchain cache database
  15. cache_path = "~/.local/share/darkfi/drk/localnet/cache"
  16. # Path to wallet database
  17. wallet_path = "~/.local/share/darkfi/drk/localnet/wallet.db"
  18. # Password for the wallet database
  19. wallet_pass = "changeme"
  20. # darkfid JSON-RPC endpoint
  21. endpoint = "tcp://127.0.0.1:8240"
  22. # Testnet blockchain network configuration
  23. [network_config."testnet"]
  24. # Path to blockchain cache database
  25. cache_path = "~/.local/share/darkfi/drk/testnet/cache"
  26. # Path to wallet database
  27. wallet_path = "~/.local/share/darkfi/drk/testnet/wallet.db"
  28. # Password for the wallet database
  29. wallet_pass = "changeme"
  30. # darkfid JSON-RPC endpoint
  31. endpoint = "tcp://127.0.0.1:8340"
  32. # Mainnet blockchain network configuration
  33. [network_config."mainnet"]
  34. # Path to blockchain cache database
  35. cache_path = "~/.local/share/darkfi/drk/mainnet/cache"
  36. # Path to wallet database
  37. wallet_path = "~/.local/share/darkfi/drk/mainnet/wallet.db"
  38. # Password for the wallet database
  39. wallet_pass = "changeme"
  40. # darkfid JSON-RPC endpoint
  41. endpoint = "tcp://127.0.0.1:8440"