mirror of
https://github.com/transatoshi-mw/grin-explorer.git
synced 2025-08-30 16:22:45 +00:00
67 lines
1.5 KiB
TOML
67 lines
1.5 KiB
TOML
# Node address.
|
|
host = "127.0.0.1"
|
|
|
|
# Node port.
|
|
port = "3413"
|
|
|
|
# Node protocol. Either HTTP or HTTPS.
|
|
proto = "http"
|
|
|
|
# API username. Comment out if user is not required.
|
|
user = "grin"
|
|
|
|
# API secret path. Comment out if secret is not required.
|
|
api_secret_path = "~/.grin/main/.api_secret"
|
|
|
|
# Foreign API secret path. Comment out if secret is not required.
|
|
foreign_api_secret_path = "~/.grin/main/.foreign_api_secret"
|
|
|
|
# Path to Grin directory.
|
|
grin_dir = "~/.grin"
|
|
|
|
# Enable or disable CoinGecko API.
|
|
coingecko_api = "enabled"
|
|
|
|
# Enable or disable node POST API public access.
|
|
public_api = "enabled"
|
|
|
|
# List of external node endpoints, used for peer stats.
|
|
# Comment out if you wish, only local peer stats will be used then.
|
|
# external_nodes = ["https://grinnode.live:3413", "https://grincoin.org"]
|
|
|
|
# Database path.
|
|
# By default, it will be created in the current directory.
|
|
# Comment out if you don't want to use sqlite database
|
|
# database = "database.sqlite"
|
|
|
|
|
|
# Grinnode config
|
|
# host = "grinnode.live"
|
|
# port = "3413"
|
|
# proto = "https"
|
|
# coingecko_api = "enabled"
|
|
# public_api = "enabled"
|
|
# database = "database.sqlite"
|
|
|
|
|
|
# Grincoin config
|
|
# host = "grincoin.org"
|
|
# proto = "https"
|
|
# coingecko_api = "enabled"
|
|
# public_api = "enabled"
|
|
# database = "database.sqlite"
|
|
|
|
|
|
# Testnet config
|
|
# host = "127.0.0.1"
|
|
# port = "13413"
|
|
# proto = "http"
|
|
# user = "grin"
|
|
# api_secret_path = "~/.grin/test/.api_secret"
|
|
# foreign_api_secret_path = "~/.grin/test/.foreign_api_secret"
|
|
# grin_dir = "~/.grin"
|
|
# coingecko_api = "disabled"
|
|
# public_api = "enabled"
|
|
# database = "database.sqlite"
|
|
|