-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathenv.example
More file actions
89 lines (69 loc) · 3.16 KB
/
env.example
File metadata and controls
89 lines (69 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Score Vision Validator Environment Configuration
# Copy this file to .env and update with your actual values
# =============================================================================
# REQUIRED CONFIGURATION
# =============================================================================
# OpenAI API Key (REQUIRED)
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your_openai_api_key_here
# =============================================================================
# BITTENSOR NETWORK CONFIGURATION
# =============================================================================
# Network ID for Subnet 44 (Score Vision)
# - Production mainnet: 44
# - Testnet: 261
NETUID=44
# Subtensor network
# - Production: finney
# - Testnet: test
# - Local development: local
SUBTENSOR_NETWORK=finney
# Subtensor endpoint address
# - Finney mainnet: wss://entrypoint-finney.opentensor.ai:443
# - Test network: wss://test.finney.opentensor.ai:443
# - Local development: ws://127.0.0.1:9944
SUBTENSOR_ADDRESS=wss://entrypoint-finney.opentensor.ai:443
# =============================================================================
# WALLET CONFIGURATION
# =============================================================================
# Bittensor wallet name (must exist in ~/.bittensor/wallets/)
# This should match the wallet directory name
WALLET_NAME=default
# Hotkey name within the wallet (must exist in wallet)
# This should match the hotkey file name without extension
HOTKEY_NAME=default
# =============================================================================
# VALIDATOR CONFIGURATION
# =============================================================================
# Minimum stake threshold for miners (in TAO)
# Miners below this threshold will be ignored
MIN_STAKE_THRESHOLD=2
# Validator HTTP server configuration
# Port for the validator's internal server
VALIDATOR_PORT=8000
# Host address to bind the validator server
# Use 0.0.0.0 to accept connections from any interface
VALIDATOR_HOST=0.0.0.0
# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
# Database file path
# - Default: validator.db (in current directory)
# - Custom path: /path/to/your/validator.db
# DB_PATH=validator.db
# =============================================================================
# LOGGING CONFIGURATION
# =============================================================================
# Log level for application logging
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
# - DEBUG: Detailed information for debugging
# - INFO: General information about validator operation
# - WARNING: Warning messages about potential issues
# - ERROR: Error messages about failures
LOG_LEVEL=INFO
# =============================================================================
# RUNTIME VARIABLES
# =============================================================================
# These variables are set automatically by the validator process
# You typically don't need to set these manually:
# VALIDATOR_HOTKEY - Set automatically by main.py with loaded hotkey