-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example.txt
More file actions
75 lines (55 loc) · 4.5 KB
/
Copy pathenv.example.txt
File metadata and controls
75 lines (55 loc) · 4.5 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
63
64
65
66
67
68
69
70
71
72
73
# ═══════════════════════════════════════════════════════════════════════════════
# DARK NULL PROTOCOL — Environment Configuration
# ═══════════════════════════════════════════════════════════════════════════════
#
# Copy this file to .env and fill in your values:
# cp env.example.txt .env
#
# ⚠️ NEVER commit .env to version control!
# ═══════════════════════════════════════════════════════════════════════════════
# ───────────────────────────────────────────────────────────────────────────────
# SOLANA CONFIGURATION
# ───────────────────────────────────────────────────────────────────────────────
# RPC URL (devnet for testing, mainnet for production)
SOLANA_RPC_URL=https://api.devnet.solana.com
# Program IDs
PROGRAM_ID_V18=7niGgy3EBVZtFjY1Gjx2hoeNHzeiJER76sEVhd4S5p6w
PROGRAM_ID_V17=Ajdw9GaNN39P9mj6uqiAxAnYRS4wC1rQh2C7wguvJArB
# Cluster (devnet, testnet, mainnet-beta)
SOLANA_CLUSTER=devnet
# ───────────────────────────────────────────────────────────────────────────────
# RELAYER CONFIGURATION
# ───────────────────────────────────────────────────────────────────────────────
# Relayer URL (use production URL or localhost for development)
RELAYER_URL=https://relayer-falling-dust-5746.fly.dev
# Relayer port (for local development)
RELAYER_PORT=3001
# Relayer keypair path (KEEP SECRET!)
# RELAYER_KEYPAIR_PATH=/path/to/keypair.json
# ───────────────────────────────────────────────────────────────────────────────
# IPFS / PINATA CONFIGURATION
# ───────────────────────────────────────────────────────────────────────────────
# Pinata credentials (get from pinata.cloud)
PINATA_API_KEY=your_api_key_here
PINATA_SECRET_KEY=your_secret_key_here
PINATA_JWT=your_jwt_token_here
# IPFS Gateway
IPFS_GATEWAY=https://gateway.pinata.cloud/ipfs/
# ───────────────────────────────────────────────────────────────────────────────
# ZK CIRCUIT PATHS
# ───────────────────────────────────────────────────────────────────────────────
# Circuit build artifacts
CIRCUIT_WASM_PATH=./circuits/build/paradox_js/paradox.wasm
CIRCUIT_ZKEY_PATH=./circuits/build/paradox_final.zkey
CIRCUIT_VKEY_PATH=./circuits/build/vkey.json
# ───────────────────────────────────────────────────────────────────────────────
# APPLICATION SETTINGS
# ───────────────────────────────────────────────────────────────────────────────
# Logging level (debug, info, warn, error)
LOG_LEVEL=info
# Node environment
NODE_ENV=development
# Rate limiting (requests per minute)
RATE_LIMIT=100
# Maturity delay (slots) — higher for mainnet
MIN_DELAY_SLOTS=40