mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-06 21:34:00 -05:00
66 lines
1.6 KiB
TOML
66 lines
1.6 KiB
TOML
## explorerd configuration file
|
|
##
|
|
## Please make sure you go through all the settings so you can configure
|
|
## your daemon properly.
|
|
##
|
|
## The default values are left commented. They can be overridden either by
|
|
## uncommenting, or by using the command-line.
|
|
|
|
# Blockchain network to use
|
|
network = "testnet"
|
|
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# Localnet Configuration
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
[network_config."localnet"]
|
|
|
|
# Path to daemon database
|
|
database = "~/.local/share/darkfi/explorerd/localnet"
|
|
|
|
# darkfid JSON-RPC endpoint
|
|
endpoint = "tcp://127.0.0.1:28345"
|
|
|
|
## Localnet JSON-RPC settings
|
|
[network_config."localnet".rpc]
|
|
# JSON-RPC listen URL
|
|
rpc_listen = "tcp://127.0.0.1:14567"
|
|
|
|
# Disabled RPC methods
|
|
#rpc_disabled_methods = []
|
|
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# Testnet Configuration
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
[network_config."testnet"]
|
|
|
|
# Path to daemon database
|
|
database = "~/.local/share/darkfi/explorerd/testnet"
|
|
|
|
# darkfid JSON-RPC endpoint
|
|
endpoint = "tcp://127.0.0.1:18345"
|
|
|
|
## Localnet JSON-RPC settings
|
|
[network_config."testnet".rpc]
|
|
rpc_listen = "tcp://127.0.0.1:14667"
|
|
|
|
# Disabled RPC methods
|
|
#rpc_disabled_methods = []
|
|
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# Mainnet Configuration
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
[network_config."mainnet"]
|
|
|
|
# Path to daemon database
|
|
database = "~/.local/share/darkfi/explorerd/mainnet"
|
|
|
|
# darkfid JSON-RPC endpoint
|
|
endpoint = "tcp://127.0.0.1:8345"
|
|
|
|
## Localnet JSON-RPC settings
|
|
[network_config."mainnet".rpc]
|
|
rpc_listen = "tcp://127.0.0.1:14767"
|
|
|
|
# Disabled RPC methods
|
|
#rpc_disabled_methods = []
|