Miner Variables
Required
| Variable | Description |
|---|---|
PHYLAX_NETUID | Subnet UID. 486 on testnet. |
SUBTENSOR_NETWORK | test or finney. |
WALLET_NAME | Wallet folder under ~/.bittensor/wallets/. |
WALLET_HOTKEY | Hotkey under the wallet. |
PHYLAX_SERVER_URL | Server URL provided by the network operator. |
PHYLAX_SUPPORTED_TYPES | Comma separated list of skill types the miner declares. |
PHYLAX_SANDBOX_IMAGE | Registry URI for the sandbox image. |
PHYLAX_SANDBOX_DIGEST | sha256:... digest of the sandbox image. |
Optional
| Variable | Default | Description |
|---|---|---|
PHYLAX_SERVER_HOTKEY | empty | Pinned server signing key. Strongly recommended. |
PHYLAX_MINER_LABEL | hotkey ss58 | Friendly label for network dashboards. |
PHYLAX_LLM_PROVIDER | empty | LLM provider for llm_evidence. Only finding_enrichment, mitre_owasp_mapping, cve_explanation are allowed uses. |
PHYLAX_LLM_MODEL | empty | LLM model ID. |
PHYLAX_LLM_BASE_URL | empty | Override base URL (proxy support). |
PHYLAX_LLM_API_KEY | empty | API key for LLM provider. |
PHYLAX_AXON_PORT | 8091 | Port the miner axon listens on. |
PHYLAX_PIPELINE_WORKERS | 4 | Concurrent analyses. |
PHYLAX_SANDBOX_TIMEOUT_S | 600 | Per task sandbox wall clock. |
Set by install.sh
| Variable | Description |
|---|---|
HOST_UID | Container runs as this UID. |
HOST_GID | Container runs as this GID. |
DOCKER_GID | Container joins this docker group to reach the socket. |
PHYLAX_EVIDENCE_HOST_DIR | Host absolute path of the evidence bind mount. |
Validator Variables
Required
| Variable | Description |
|---|---|
PHYLAX_NETUID | 486 on testnet. |
SUBTENSOR_NETWORK | test or finney. |
WALLET_NAME | Wallet folder. |
WALLET_HOTKEY | Hotkey. |
PHYLAX_SERVER_URL | Server URL provided by the network operator. |
Recommended
| Variable | Default | Description |
|---|---|---|
PHYLAX_SERVER_HOTKEY | empty | Pinned server signing key. |
PHYLAX_VALIDATOR_LABEL | hotkey ss58 | Friendly label for network dashboards. |
Tunable
| Variable | Default | Description |
|---|---|---|
WEIGHT_UPDATE_INTERVAL | 360 | Blocks between set_weights pushes. One tempo on netuid 486; the chain rate-limit is 100 blocks so values below ~110 will return set_weights returned False: too soon to commit. |
EMA_ALPHA | 0.2 | EMA blending factor. |
QUERY_TIMEOUT | 150 | Dendrite call ceiling in seconds. |
PHYLAX_RERUN_QUEUE_PATH | ~/.phylax/rerun_queue.sqlite3 | Persistent rerun queue location. |
PHYLAX_COLLUSION_DB_PATH | ~/.phylax/collusion.sqlite3 | Persistent collusion sample DB. |
PHYLAX_INFERENCE_PROXY_URL | empty | Forwarded to miners as inference_config.proxy_url. |
PHYLAX_ALLOWED_MODELS | empty | Forwarded as allowed_models. |
PHYLAX_COMPOSITION_DEPTH | 5 | Default composition_depth for agent_composition. |
Set by install.sh
| Variable | Description |
|---|---|
HOST_UID | Container UID. |
HOST_GID | Container GID. |
DOCKER_GID | Docker group GID for socket access. |
PHYLAX_EVIDENCE_HOST_DIR | Host absolute path of evidence bind mount. |
Notes
.env Reload
Editing .env does not reload running containers. Use docker compose up -d --force-recreate to pick up changes.
Wallet Mounting
The install.sh scripts bind mount~/.bittensor/wallets/ into the container read only. Wallets created on the host are visible to the container without rebuilding.
Server Hotkey Pinning
PHYLAX_SERVER_HOTKEY is optional but strongly recommended. Without it, a rogue impostor with a valid TLS cert for PHYLAX_SERVER_URL could trick miners and validators into submitting to the wrong endpoint. Pinning the hotkey closes that gap. Obtain the value from the network operator when you receive your PHYLAX_SERVER_URL.
What’s Next
Protocol Reference
The wire types validators send to miners.
Miner Setup
Start a miner.
Validator Setup
Start a validator.
Scoring
Per axis formulas and emission detail.