-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
106 lines (78 loc) · 3.64 KB
/
.env.example
File metadata and controls
106 lines (78 loc) · 3.64 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# =============================================================================
# AEGIS NETWORK - ENVIRONMENT CONFIGURATION
# =============================================================================
# Copy this file to .env and fill in your values
# NEVER commit .env to version control!
# =============================================================================
# BLOCKCHAIN RPC ENDPOINTS
# =============================================================================
# Ethereum Mainnet (for production - DO NOT USE YET)
ETH_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_KEY
# Sepolia Testnet (for testing)
SEPOLIA_RPC_URL=https://eth-sepolia.g.alchemy.com/v2/YOUR_ALCHEMY_KEY
# WebSocket endpoints (for mempool monitoring)
ETH_WS_URL=wss://eth-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_KEY
SEPOLIA_WS_URL=wss://eth-sepolia.g.alchemy.com/v2/YOUR_ALCHEMY_KEY
# =============================================================================
# DEPLOYMENT KEYS (TESTNET ONLY - Use hardware wallet for mainnet)
# =============================================================================
# Deployer private key (for contract deployment)
# Generate a new key for testnet: cast wallet new
DEPLOYER_PRIVATE_KEY=0x...
# Oracle private key (for dispute resolution)
ORACLE_PRIVATE_KEY=0x...
# =============================================================================
# NODE OPERATOR KEYS
# =============================================================================
# Node operator private key (Ethereum)
NODE_PRIVATE_KEY=0x...
# BLS key path (will be auto-generated if not exists)
BLS_KEY_PATH=./data/bls_key.json
# =============================================================================
# API KEYS
# =============================================================================
# Etherscan (for contract verification)
ETHERSCAN_API_KEY=YOUR_ETHERSCAN_API_KEY
# Alchemy (alternative to public RPC)
ALCHEMY_API_KEY=YOUR_ALCHEMY_KEY
# Infura (alternative RPC provider)
INFURA_API_KEY=YOUR_INFURA_KEY
# =============================================================================
# SENTINEL BRAIN (AI/ML SERVICE)
# =============================================================================
# gRPC server address for inference
INFERENCE_GRPC_ADDRESS=localhost:50051
# Model path
MODEL_PATH=./packages/sentinel-brain/models/sentinel_model.joblib
# Anomaly threshold (0.0 - 1.0)
ANOMALY_THRESHOLD=0.65
# =============================================================================
# SENTINEL NODE (GO SERVICE)
# =============================================================================
# P2P configuration
P2P_LISTEN_ADDRESS=/ip4/0.0.0.0/tcp/9000
P2P_BOOTSTRAP_PEERS=
# Gossip topic
GOSSIP_TOPIC=sentinel/v1/alerts
# =============================================================================
# CONTRACT ADDRESSES (Filled after deployment)
# =============================================================================
# Sepolia testnet addresses (update after deployment)
SENTINEL_TOKEN_ADDRESS=
SENTINEL_REGISTRY_ADDRESS=
SENTINEL_SHIELD_ADDRESS=
SENTINEL_ROUTER_ADDRESS=
BLS_VERIFIER_ADDRESS=
# =============================================================================
# MONITORING & LOGGING
# =============================================================================
# Log level: debug, info, warn, error
LOG_LEVEL=info
# Metrics port
METRICS_PORT=9090
# =============================================================================
# MEV PROTECTION (Optional)
# =============================================================================
# Flashbots RPC for private transactions
FLASHBOTS_RPC_URL=https://relay.flashbots.net
FLASHBOTS_SIGNING_KEY=0x...