-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
31 lines (25 loc) · 895 Bytes
/
.env.example
File metadata and controls
31 lines (25 loc) · 895 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
26
27
28
29
30
31
# Lighter RS SDK Environment Variables
# Copy this file to .env and fill in your actual values
# NEVER commit the .env file to git!
# Your Lighter API private key (hex format, MUST include 0x prefix)
# Example: 0xaf2e444ccf3f5ef5eb7315f9337e151b7192f6fc42dc1e52e24f8ca05582bf40
LIGHTER_API_KEY=0xyour_private_key_here
# Your Lighter account index
LIGHTER_ACCOUNT_INDEX=12345
# Your API key index (usually 0)
LIGHTER_API_KEY_INDEX=0
# API endpoint (uncomment one based on your network)
# Mainnet
LIGHTER_API_URL=https://mainnet.zklighter.elliot.ai
# Testnet
# LIGHTER_API_URL=https://api-testnet.lighter.xyz
# Chain ID (uncomment one based on your network)
# Mainnet
LIGHTER_CHAIN_ID=304
# Testnet
# LIGHTER_CHAIN_ID=300
# WebSocket endpoint (uncomment one based on your network)
# Mainnet
LIGHTER_WS_HOST=mainnet.zklighter.elliot.ai
# Testnet
# LIGHTER_WS_HOST=testnet.zklighter.elliot.ai