# NeoRust Environment Configuration Example
# Copy this file to .env and update with your settings
# Environment: development, staging, production
NEORUST_ENV=development
# Configuration file to use
NEORUST_CONFIG_FILE=./config/development.toml
# Network selection: mainnet, testnet, local
NEORUST_NETWORK=testnet
# RPC endpoints (comma-separated for failover)
NEORUST_RPC_ENDPOINTS=https://testnet1.neo.coz.io:443,https://testnet2.neo.coz.io:443
# WebSocket endpoints
NEORUST_WS_ENDPOINTS=wss://testnet1.neo.coz.io:443/ws
# Database configuration
DATABASE_URL=sqlite://./data/neorust.db
DATABASE_MAX_CONNECTIONS=10
# Session configuration
SESSION_SECRET=change-this-to-a-secure-random-string
SESSION_TIMEOUT_MINUTES=30
# Security settings
ENABLE_2FA=false
ENABLE_HARDWARE_WALLET=false
USE_OS_KEYCHAIN=true
# Logging configuration
LOG_LEVEL=info
LOG_FORMAT=json
LOG_FILE=./logs/neorust.log
# Monitoring
ENABLE_METRICS=true
METRICS_PORT=9090
HEALTH_CHECK_PORT=8080
# Telemetry (optional)
ENABLE_TELEMETRY=false
TELEMETRY_ENDPOINT=
# API settings
API_PORT=3000
API_HOST=0.0.0.0
API_CORS_ORIGINS=http://localhost:3000,http://localhost:1420
# Rate limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_MAX_REQUESTS=60
RATE_LIMIT_WINDOW_SECONDS=60
# Cache settings
CACHE_ENABLED=true
CACHE_TTL_SECONDS=300
CACHE_MAX_SIZE_MB=100
# Backup settings
BACKUP_ENABLED=false
BACKUP_PATH=./backup
BACKUP_ENCRYPTION=false
# Update settings
AUTO_UPDATE_ENABLED=false
UPDATE_CHANNEL=stable
# Feature flags
FEATURE_HD_WALLET=true
FEATURE_WEBSOCKET=true
FEATURE_TX_SIMULATION=true
FEATURE_MULTI_SIG=true
# External services (optional)
SENTRY_DSN=
DATADOG_API_KEY=
SLACK_WEBHOOK_URL=
# Development settings
DEV_MODE=false
DEV_MOCK_DATA=false
DEV_SKIP_AUTH=false