-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (42 loc) · 1.38 KB
/
Copy path.env.example
File metadata and controls
53 lines (42 loc) · 1.38 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
# Ethereum RPC Configuration
ETHEREUM_RPC_URL=https://eth.llamarpc.com
ETHEREUM_WS_URL=wss://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}
SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/${INFURA_API_KEY}
SEPOLIA_WS_URL=wss://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_API_KEY}
# Alchemy / Infura keys (recommended for production)
ALCHEMY_API_KEY=your_alchemy_api_key_here
INFURA_API_KEY=your_infura_api_key_here
ETHERSCAN_API_KEY=your_etherscan_api_key_here
# Trace Protocol API
TRACE_API_PORT=3100
TRACE_API_HOST=0.0.0.0
TRACE_API_URL=http://localhost:3100
# API Authentication
TRACE_API_KEY=your_api_key_here
TRACE_API_SECRET=your_api_secret_here
# On-Chain Contract
TRACE_ATTESTATION_ADDRESS=0x0000000000000000000000000000000000000000
ATTESTER_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
# ML Inference Server
INFERENCE_SERVER_URL=http://localhost:8000
INFERENCE_BATCH_SIZE=32
INFERENCE_TIMEOUT_MS=5000
# ONNX Model Path
ONNX_MODEL_PATH=./models/training/exports/classifier_v4.onnx
# Database (optional, for caching verdicts)
REDIS_URL=redis://localhost:6379
REDIS_TTL_SECONDS=300
# Logging
LOG_LEVEL=info
LOG_FORMAT=json
# Scanner Configuration
SCANNER_BATCH_SIZE=50
SCANNER_POLL_INTERVAL_MS=1000
SCANNER_MAX_RETRIES=5
SCANNER_RETRY_DELAY_MS=2000
# Feature Extraction
FEATURE_LOOKBACK_BLOCKS=1000
FEATURE_MIN_TX_COUNT=5
# Monitoring
METRICS_ENABLED=true
METRICS_PORT=9090