forked from frosty720/K_Oracles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (47 loc) · 1.58 KB
/
.env.example
File metadata and controls
55 lines (47 loc) · 1.58 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
# Network Configuration
KALYCHAIN_TESTNET_RPC=https://testnetrpc.kalychain.io/rpc
KALYCHAIN_MAINNET_RPC=https://rpc.kalychain.io/rpc
KALYCHAIN_API_KEY=your_explorer_api_key_here
# Wallet Configuration
PRIVATE_KEY=your_private_key_here
MNEMONIC=your_mnemonic_phrase_here
# Oracle Node Configuration
ORACLE_NODE_ID=node_1
ORACLE_UPDATE_INTERVAL=60000
ORACLE_STALENESS_THRESHOLD=3600
ORACLE_MAX_DEVIATION=1000
# API Keys for Price Sources
# Note: All sources work without API keys (public endpoints)
# API keys are optional but recommended for higher rate limits on some exchanges
BINANCE_API_KEY=your_binance_api_key
BINANCE_SECRET_KEY=your_binance_secret_key
COINBASE_API_KEY=your_coinbase_api_key
COINBASE_SECRET=your_coinbase_secret
CRYPTOCOMPARE_API_KEY=your_cryptocompare_api_key
KUCOIN_API_KEY=your_kucoin_api_key
KUCOIN_SECRET=your_kucoin_secret
KUCOIN_PASSPHRASE=your_kucoin_passphrase
# GeckoTerminal - No API key required (free DEX price data)
# Kraken - No API key required (free public API)
# OKX - No API key required (free public API)
# Redis Configuration (for caching)
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=your_redis_password
# Monitoring & Alerts
DISCORD_WEBHOOK_URL=your_discord_webhook_url
SLACK_WEBHOOK_URL=your_slack_webhook_url
EMAIL_SERVICE_API_KEY=your_email_service_key
# Contract Addresses (will be filled after deployment)
KUSD_ORACLE_FACTORY=
BTC_ORACLE_ADDRESS=
ETH_ORACLE_ADDRESS=
USDT_ORACLE_ADDRESS=
USDC_ORACLE_ADDRESS=
DAI_ORACLE_ADDRESS=
# Server Configuration
PORT=3000
NODE_ENV=development
LOG_LEVEL=info
# Security
JWT_SECRET=your_jwt_secret_here
API_RATE_LIMIT=100