Files
2026-03-18 21:02:48 +03:00

71 lines
1.8 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 node endpoints that used for collecting peer stats.
# Comment out if you wish, only local peer stats will be used then.
# Note that not all public nodes provide "get_connected_peers" owner API.
# stats_source = ["https://grinnode.live:3413", "https://grincoin.org"]
# List of piblic nodes
# public_nodes = ["https://grincoin.org", "https://main.gri.mw", "https://mainnet.grinffindor.org", "https://grinnode.live:3413", "https://scan.grin.money"]
# 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 = "disabled"
# 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"