explorerd_config.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ## explorerd 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. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  11. # Localnet Configuration
  12. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13. [network_config."localnet"]
  14. # Path to daemon database
  15. database = "~/.local/share/darkfi/explorerd/localnet"
  16. # darkfid JSON-RPC endpoint
  17. endpoint = "tcp://127.0.0.1:8240"
  18. ## Localnet JSON-RPC settings
  19. [network_config."localnet".rpc]
  20. # JSON-RPC listen URL
  21. rpc_listen = "tcp://127.0.0.1:14567"
  22. # Disabled RPC methods
  23. #rpc_disabled_methods = []
  24. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  25. # Testnet Configuration
  26. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27. [network_config."testnet"]
  28. # Path to daemon database
  29. database = "~/.local/share/darkfi/explorerd/testnet"
  30. # darkfid JSON-RPC endpoint
  31. endpoint = "tcp://127.0.0.1:8340"
  32. ## Localnet JSON-RPC settings
  33. [network_config."testnet".rpc]
  34. rpc_listen = "tcp://127.0.0.1:14667"
  35. # Disabled RPC methods
  36. #rpc_disabled_methods = []
  37. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  38. # Mainnet Configuration
  39. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  40. [network_config."mainnet"]
  41. # Path to daemon database
  42. database = "~/.local/share/darkfi/explorerd/mainnet"
  43. # darkfid JSON-RPC endpoint
  44. endpoint = "tcp://127.0.0.1:8440"
  45. ## Localnet JSON-RPC settings
  46. [network_config."mainnet".rpc]
  47. rpc_listen = "tcp://127.0.0.1:14767"
  48. # Disabled RPC methods
  49. #rpc_disabled_methods = []