The node reads environment variables and/or a YAML file (see
config.example.yaml).
Env vars take precedence.
| Variable | Default | Description |
|---|
PORT | 8080 | HTTP listen port. |
LOG_LEVEL | info | debug | info | warn | error | pretty. |
DATA_DIR | ./data | Directory for durable state. |
SEED_NODES | [] | JSON array of initial peer addresses. |
RATE_LIMIT_PER_MINUTE | 100 | Per-IP request cap. |
| Variable | Default | Description |
|---|
NODE_AUTH_SECRET | (unset) | 32-byte hex HMAC secret shared across consortium nodes. |
REQUIRE_NODE_AUTH | false | Reject inter-node traffic that isn’t HMAC-authenticated. |
| Variable | Default | Description |
|---|
IPFS_ENABLED | false | Enable CID-referenced event payloads. |
IPFS_GATEWAY_URL | http://localhost:5001 | IPFS API endpoint. |
| Variable | Default | Description |
|---|
SUPPORTED_DOMAINS | * | Comma-separated glob list (e.g. *.finance.example,*.ai.example). |
These flags gate protocol features that shipped under a fork-block so
operators can enable them in a coordinated way. See
QDP-0009.
Identical shape to the env vars (lowercase, underscore → section):
rate_limit_per_minute: 100
gateway_url: "http://localhost:5001"
supported_domains: ["*.finance.example", "*.ai.example"]