-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
91 lines (74 loc) · 3.25 KB
/
.env.example
File metadata and controls
91 lines (74 loc) · 3.25 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Seamless Protocol Environment Variables
# Copy this file to .env.local and fill in your values
#
# SECURITY NOTE: All VITE_* variables are embedded in the client bundle
# and visible to users. Never put sensitive secrets here!
# ============================================
# REQUIRED - These must be set for the app to work
# ============================================
# WalletConnect Project ID (required for wallet connections)
# Get yours at https://cloud.walletconnect.com/
VITE_WALLETCONNECT_PROJECT_ID=your_project_id_here
# RPC Endpoints (required for blockchain interactions)
# You can use public RPCs or get your own from providers like Infura, Alchemy, etc.
VITE_BASE_RPC_URL=https://mainnet.base.org
VITE_ETHEREUM_RPC_URL=https://eth.llamarpc.com
# Alchemy API Key
# REQUIRED FOR TESTING: Integration and E2E tests use Anvil with mainnet fork via Alchemy
# OPTIONAL FOR PRODUCTION: If set, Alchemy endpoints are preferred in the fallback list
# Get your key at https://www.alchemy.com/
VITE_ALCHEMY_API_KEY=your_alchemy_key_here
# ============================================
# TESTS - These must be set for integration tests to work
# ============================================
# RPC for Anvil forking
VITE_BASE_FORK_RPC_URL=
VITE_ETHEREUM_FORK_RPC_URL=
# ============================================
# OPTIONAL - Add these as features are implemented
# ============================================
# ANALYTICS
# VITE_SENTRY_DSN=https://your-key@sentry.io/project-id
# VITE_GA4_MEASUREMENT_ID=G-XXXXXXXXXX
# Feature Flags (control feature visibility for phased releases)
# VITE_DISABLE_LEVERAGE_TOKENS=true
# VITE_DISABLE_VAULTS=true
# VITE_DISABLE_PORTFOLIO=true
# VITE_DISABLE_ANALYTICS=true
# VITE_DISABLE_STAKING=true
# VITE_DISABLE_GOVERNANCE=true
# VITE_DISABLE_FEATURED_LEVERAGE_TOKENS=true
# Override API Endpoints (optional - defaults are in src/lib/config/api.ts)
# Only set these if you need to use different endpoints than production
# VITE_MORPHO_API_URL=https://api.morpho.org
# VITE_LEVERAGE_TOKENS_SUBGRAPH_ETHEREUM=
# VITE_LEVERAGE_TOKENS_SUBGRAPH_BASE=
# VITE_FUUL_API_URL=https://api.fuul.xyz
# VITE_FUUL_SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/fuul/fuul-rewards
# LiFi Aggregator (used for production swaps)
# Obtain an API key from https://li.fi/ and set an integrator slug for analytics.
# These reduce rate limiting during integration/E2E tests and production usage.
# VITE_LIFI_API_KEY=your_lifi_api_key_here
# VITE_LIFI_INTEGRATOR=seamless
# Enable to log LiFi quote URLs (never logs the key)
# VITE_LIFI_DEBUG=0
# Contract Addresses
# NOTE: Contract addresses are defined in src/lib/contracts/addresses.ts
# Environment variables are only used for testing/overrides
# VITE_OVERRIDE_FACTORY_ADDRESS=0x...
# VITE_OVERRIDE_MANAGER_ADDRESS=0x...
# Testing Environment
# VITE_INCLUDE_TEST_TOKENS=true # Include test-only tokens (set for integration/E2E tests)
# TENDERLY_PUBLIC_RPC=xxx
# TENDERLY_ADMIN_RPC=xxx
# E2E_TEST_TOKEN_ADDRESS=xxx
# E2E_TEST_ACCOUNT=xxx
# VITE_TEST_MODE=mock
# FEATURE FLAGS
# VITE_ENABLE_LEVERAGE_TOKEN_CREATION=false
# VITE_ENABLE_GOVERNANCE=false
# VITE_ENABLE_STAKING=false
# TheGraph API Key for leverage token data
VITE_THEGRAPH_API_KEY=your_thegraph_api_key_here
# Debug logs for balmy quotes
# VITE_BALMY_DEBUG='true'