-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy path.env.example
More file actions
144 lines (110 loc) · 4.38 KB
/
.env.example
File metadata and controls
144 lines (110 loc) · 4.38 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# ============================================
# TIKKA - Environment Configuration Example
# ============================================
# Copy this file to .env and fill in your actual values
# NEVER commit your .env file to version control!
# ============================================
# BACKEND API CONFIGURATION
# ============================================
# Backend API Base URL (NestJS backend runs on port 3001 by default)
# Development: http://localhost:3001
# Production: https://api.tikka.io
VITE_BACKEND_URL=http://localhost:3001
VITE_API_BASE_URL=http://localhost:3001
# Admin token for the oracle monitor dashboard (must match ADMIN_TOKEN in backend .env)
VITE_ADMIN_TOKEN=
# ============================================
# STELLAR NETWORK CONFIGURATION
# ============================================
# Network to use: 'testnet' or 'mainnet'
# For development, always use 'testnet'
VITE_STELLAR_NETWORK=testnet
# Stellar Horizon API URL
# Testnet: https://horizon-testnet.stellar.org
# Mainnet: https://horizon.stellar.org
VITE_STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
# Stellar Network Passphrase
# Testnet: Test SDF Network ; September 2015
# Mainnet: Public Global Stellar Network ; September 2015
VITE_STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
# ============================================
# SOROBAN SMART CONTRACT CONFIGURATION
# ============================================
# Soroban RPC URL for contract interactions
# Testnet: https://soroban-testnet.stellar.org
# Mainnet: https://soroban-mainnet.stellar.org
VITE_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
# Deployed Raffle Contract Address
# This will be available after deploying your contract to the network
# Example format: CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM
VITE_RAFFLE_CONTRACT_ADDRESS=
# Contract deployment transaction hash (optional, for reference)
VITE_CONTRACT_DEPLOYMENT_HASH=
# ============================================
# SUPABASE CONFIGURATION
# ============================================
# Supabase Project URL
# Find this in your Supabase project settings
# Format: https://your-project-id.supabase.co
VITE_SUPABASE_URL=
# Supabase Anonymous Key (Public Key)
# This is safe to expose in client-side code
# Find this in: Project Settings > API > Project API keys > anon public
VITE_SUPABASE_ANON_KEY=
# Database table name for raffle metadata
# Default: raffle_metadata
VITE_SUPABASE_TABLE=raffle_metadata
# ============================================
# WALLET CONFIGURATION (Optional)
# ============================================
# Default wallet provider
# Options: freighter, albedo, xbull
VITE_DEFAULT_WALLET=freighter
# Enable wallet auto-connect on page load
VITE_WALLET_AUTO_CONNECT=false
# ============================================
# APPLICATION CONFIGURATION
# ============================================
# Application environment
# Options: development, staging, production
VITE_APP_ENV=development
# Enable debug mode (shows additional logging)
VITE_DEBUG_MODE=true
# API request timeout in milliseconds
VITE_API_TIMEOUT=30000
# ============================================
# IPFS CONFIGURATION (Optional - Future Use)
# ============================================
# IPFS Gateway URL for image storage
# Example: https://ipfs.io/ipfs/
VITE_IPFS_GATEWAY=
# Pinata API Key (if using Pinata for IPFS)
VITE_PINATA_API_KEY=
# Pinata Secret Key
VITE_PINATA_SECRET_KEY=
# ============================================
# ANALYTICS & MONITORING (Optional)
# ============================================
# Google Analytics Measurement ID
VITE_GA_MEASUREMENT_ID=
# Sentry DSN for error tracking
VITE_SENTRY_DSN=
# ============================================
# FEATURE FLAGS (Optional)
# ============================================
# Enable/disable specific features during development
VITE_FEATURE_LEADERBOARD=true
VITE_FEATURE_SOCIAL_SHARE=true
VITE_FEATURE_EMAIL_NOTIFICATIONS=false
# ============================================
# DEVELOPMENT ONLY
# ============================================
# Use demo/mock data instead of real blockchain
# Set to false to use backend raffle API by default
VITE_USE_DEMO_DATA=false
# Show development tools and debugging info
VITE_SHOW_DEV_TOOLS=true
# Stellar Configuration
NEXT_PUBLIC_STELLAR_NETWORK=testnet
NEXT_PUBLIC_SOROBAN_RPC_URL=https://soroban-testnet.albedo.link:443
NEXT_PUBLIC_HORIZON_URL=https://horizon-testnet.stellar.org