-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
62 lines (49 loc) · 1.97 KB
/
env.example
File metadata and controls
62 lines (49 loc) · 1.97 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
# L2 Flash Network Environment Configuration
# Copy this file to .env and fill in your values
# ============ RPC ENDPOINTS ============
ARBITRUM_HTTP_URL=https://arb1.arbitrum.io/rpc
ARBITRUM_WSS_URL=wss://arb1.arbitrum.io/ws
# ============ PRIVATE KEYS ============
# WARNING: Never commit real private keys to git!
PRIVATE_KEY=0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
# ============ API KEYS ============
ANKR_API_KEY=YOUR_ANKR_API_KEY_HERE
ETHERSCAN_API_KEY=YOUR_ETHERSCAN_API_KEY_HERE
ARBISCAN_API_KEY=YOUR_ARBISCAN_API_KEY_HERE
BASESCAN_API_KEY=YOUR_BASESCAN_API_KEY_HERE
COINMARKETCAP_API_KEY=YOUR_CMC_API_KEY_FOR_GAS_REPORTER
# ============ FLASH LOAN POOL CONFIG ============
# Fee rate in basis points (5 = 0.05%)
FLASH_LOAN_FEE_RATE=5
# Flash loan limits
MIN_FLASH_LOAN_AMOUNT=0.1
MAX_FLASH_LOAN_AMOUNT=1000
# Minimum profit threshold for MEV strategies
MIN_PROFIT_THRESHOLD=0.01
# ============ FLASH LOAN NETWORK ============
# FlashBank operates as a standalone flash loan pool
# MEV bots interact directly with the pool contract
# ============ TESTING ============
# Set to true to enable gas reporting
REPORT_GAS=false
# Set to true to run tests on Arbitrum fork
FORK_ARBITRUM=true
# ============ DEPLOYMENT ADDRESSES ============
# These will be populated after deployment
# Arbitrum (Live)
ARBITRUM_FLASHBANK_ADDRESS=0x5c0156da501BC97DD35017Fb20624B7f1Ce7E095
# Ethereum (To be deployed)
ETHEREUM_FLASHBANK_ADDRESS=
# Base (To be deployed)
BASE_FLASHBANK_ADDRESS=
# ============ MONITORING ============
# Set to true to enable detailed logging
DEBUG_MODE=false
# Slack/Discord webhook for profit notifications
NOTIFICATION_WEBHOOK=
# ============ FRONTEND (if deploying web interface) ============
# These need NEXT_PUBLIC_ prefix to be accessible in Next.js
NEXT_PUBLIC_ANKR_API_KEY=YOUR_ANKR_API_KEY_HERE
NEXT_PUBLIC_ARBITRUM_FLASHBANK_ADDRESS=0x5c0156da501BC97DD35017Fb20624B7f1Ce7E095
NEXT_PUBLIC_ETHEREUM_FLASHBANK_ADDRESS=
NEXT_PUBLIC_BASE_FLASHBANK_ADDRESS=