|
1 | | -# Platform Chain Validator Configuration |
2 | | -# Copy this file to .env and fill in your values |
| 1 | +# ============================================================================= |
| 2 | +# Platform Validator Configuration |
| 3 | +# ============================================================================= |
| 4 | +# Copy this file to .env and configure your validator. |
| 5 | +# |
| 6 | +# Usage: |
| 7 | +# cp .env.example .env |
| 8 | +# nano .env # Edit with your values |
| 9 | +# docker compose up -d |
| 10 | +# ============================================================================= |
3 | 11 |
|
4 | | -# REQUIRED: Your validator secret key (hex encoded 32 bytes or BIP39 mnemonic) |
5 | | -VALIDATOR_SECRET_KEY=your_secret_key_here |
| 12 | +# ----------------------------------------------------------------------------- |
| 13 | +# REQUIRED: Validator Secret Key |
| 14 | +# ----------------------------------------------------------------------------- |
| 15 | +# Your validator hotkey as a BIP39 mnemonic (24 words). |
| 16 | +# This must match the hotkey registered on the Bittensor subnet. |
| 17 | +# |
| 18 | +# Example: |
| 19 | +# VALIDATOR_SECRET_KEY=word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word11 word12 word13 word14 word15 word16 word17 word18 word19 word20 word21 word22 word23 word24 |
| 20 | +# |
| 21 | +VALIDATOR_SECRET_KEY= |
6 | 22 |
|
7 | | -# Optional: Slack webhook for Watchtower notifications |
| 23 | +# ----------------------------------------------------------------------------- |
| 24 | +# Network Configuration (Optional) |
| 25 | +# ----------------------------------------------------------------------------- |
| 26 | +# Subnet UID (default: 100) |
| 27 | +# NETUID=100 |
| 28 | + |
| 29 | +# Bittensor RPC endpoint |
| 30 | +# SUBTENSOR_ENDPOINT=wss://entrypoint-finney.opentensor.ai:443 |
| 31 | + |
| 32 | +# ----------------------------------------------------------------------------- |
| 33 | +# Port Configuration (Optional) |
| 34 | +# ----------------------------------------------------------------------------- |
| 35 | +# JSON-RPC API port (default: 8080) |
| 36 | +# RPC_PORT=8080 |
| 37 | + |
| 38 | +# P2P libp2p port (default: 8090) |
| 39 | +# P2P_PORT=8090 |
| 40 | + |
| 41 | +# ----------------------------------------------------------------------------- |
| 42 | +# P2P Configuration (Optional) |
| 43 | +# ----------------------------------------------------------------------------- |
| 44 | +# Run integrated bootnode (default: false) |
| 45 | +# WITH_BOOTNODE=true |
| 46 | +# BOOTNODE_PORT=8090 |
| 47 | + |
| 48 | +# Public IP for P2P announcements (auto-detected if not set) |
| 49 | +# EXTERNAL_IP=1.2.3.4 |
| 50 | + |
| 51 | +# Bootstrap peers (auto-discovered from Bittensor if not set) |
| 52 | +# BOOTSTRAP_PEERS=/ip4/1.2.3.4/tcp/8090/p2p/12D3KooW... |
| 53 | + |
| 54 | +# ----------------------------------------------------------------------------- |
| 55 | +# Logging (Optional) |
| 56 | +# ----------------------------------------------------------------------------- |
| 57 | +# Log level: error, warn, info, debug, trace |
| 58 | +# RUST_LOG=info,validator_node=debug,platform_p2p_consensus=info |
| 59 | + |
| 60 | +# ----------------------------------------------------------------------------- |
| 61 | +# Notifications (Optional) |
| 62 | +# ----------------------------------------------------------------------------- |
| 63 | +# Slack webhook for Watchtower update notifications |
8 | 64 | # SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxx/xxx/xxx |
0 commit comments