-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
25 lines (18 loc) · 835 Bytes
/
Copy path.env.example
File metadata and controls
25 lines (18 loc) · 835 Bytes
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
# Lighter TypeScript SDK Environment Variables
# Copy this file to .env and fill in your actual values
# Optional: Override the base URL for different environments
# Uncomment and modify as needed:
BASE_URL=https://testnet.zklighter.elliot.ai
#BASE_URL=https://mainnet.zklighter.elliot.ai
# Chain ID (304 for mainnet, 300 for testnet) - forces correct chain detection
LIGHTER_CHAIN_ID=300
# Stress test configuration (premium tier: 24k weighted req/min, sendTx weight=6 → ~4k tx/min max)
STRESS_COUNT=200
STRESS_DELAY_MS=300
API_PRIVATE_KEY=c8b96825f72c65037f555779c9c2f1d92712933d58372d26d0d85c41ca3a6c8f7e3ef836a5688d48 #API pv key generated when creates the api keys
ACCOUNT_INDEX=1000 #Account index
API_KEY_INDEX=6
# Market configuration for stress tests
ORDER_BOOK_INDEX=0
BASE_AMOUNT=1000
AVG_EXECUTION_PRICE=298000