forked from Nova-reward/Nova-Rewards
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.vercel.example
More file actions
79 lines (61 loc) · 2.81 KB
/
Copy path.env.vercel.example
File metadata and controls
79 lines (61 loc) · 2.81 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
# Vercel Environment Variables Configuration
# Copy this file and fill in the actual values for your environment
# ============================================================================
# PREVIEW ENVIRONMENT (Pull Request Deployments)
# ============================================================================
# Backend API endpoint for preview/staging
NEXT_PUBLIC_API_URL_PREVIEW=https://api-preview.nova-rewards.xyz
# Stellar Horizon API for testnet
NEXT_PUBLIC_HORIZON_URL_PREVIEW=https://horizon-testnet.stellar.org
# NOVA asset issuer public key (testnet)
NEXT_PUBLIC_ISSUER_PUBLIC_PREVIEW=G...
# Stellar network (testnet for preview)
NEXT_PUBLIC_STELLAR_NETWORK_PREVIEW=testnet
# Soroban multisig contract ID (testnet)
NEXT_PUBLIC_MULTISIG_CONTRACT_ID_PREVIEW=C...
# ============================================================================
# PRODUCTION ENVIRONMENT (Main Branch Deployments)
# ============================================================================
# Backend API endpoint for production
NEXT_PUBLIC_API_URL_PRODUCTION=https://api.nova-rewards.xyz
# Stellar Horizon API for mainnet
NEXT_PUBLIC_HORIZON_URL_PRODUCTION=https://horizon.stellar.org
# NOVA asset issuer public key (mainnet)
NEXT_PUBLIC_ISSUER_PUBLIC_PRODUCTION=G...
# Stellar network (public for production)
NEXT_PUBLIC_STELLAR_NETWORK_PRODUCTION=public
# Soroban multisig contract ID (mainnet)
NEXT_PUBLIC_MULTISIG_CONTRACT_ID_PRODUCTION=C...
# ============================================================================
# GITHUB SECRETS (for automated deployments)
# ============================================================================
# Vercel authentication token
# Get from: https://vercel.com/account/tokens
VERCEL_TOKEN=...
# Vercel organization ID
# Found in: Vercel Dashboard → Settings → General
VERCEL_ORG_ID=...
# Vercel project ID
# Found in: Vercel Dashboard → Settings → General
VERCEL_PROJECT_ID=...
# ============================================================================
# NOTES
# ============================================================================
# 1. NEXT_PUBLIC_* variables are exposed to the browser
# Only use for non-sensitive data (public keys, network URLs)
#
# 2. Set these in Vercel Project Settings → Environment Variables
# - Select appropriate environment (Preview/Production)
# - Mark sensitive values as "Sensitive"
#
# 3. GitHub Secrets are used by GitHub Actions workflows
# - Set in: GitHub → Settings → Secrets and variables → Actions
# - Used by: .github/workflows/vercel-*.yml
#
# 4. Environment variables are automatically injected during build
# - Preview: Used for PR deployments
# - Production: Used for main branch deployments
#
# 5. For local development, use .env.local in novaRewards/frontend/
# - Not committed to git
# - Overrides .env.example