forked from Hahfyeex/Stellar-PolyMarket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
56 lines (49 loc) · 2.33 KB
/
Copy path.env.example
File metadata and controls
56 lines (49 loc) · 2.33 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
# Backend
PORT=4000
DATABASE_URL=postgresql://user:password@localhost:5432/stella_polymarket
# Redis — used for rate limiting and market query caching.
# Use REDIS_URL for a full connection string (takes precedence over individual vars).
# Example: redis://user:password@host:6379
REDIS_URL=redis://localhost:6379
# Or use individual vars (used when REDIS_URL is not set):
# REDIS_HOST=localhost
# REDIS_PORT=6379
# REDIS_PASSWORD=
# Stellar
STELLAR_NETWORK=testnet
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
CONTRACT_ID=your_contract_id_here
# Oracle
API_URL=http://localhost:4000
SPORTS_API_KEY=your_api_football_key_here
FINANCIAL_API_KEY=your_key_here
SPORTS_API_URL=https://v3.football.api-sports.io
# CoinMarketCap API key — required for the 5th price feed in the multi-source aggregator.
# Get a free key at https://coinmarketcap.com/api/
# NEVER commit this value. Add to your secrets manager / CI env.
CMC_API_KEY=your_coinmarketcap_api_key_here
# Sports Oracle — Stellar on-chain resolution
# ORACLE_SECRET_KEY must NEVER be committed. Add to your secrets manager / CI env.
ORACLE_SECRET_KEY=your_stellar_oracle_secret_key_here
POLL_INTERVAL_MS=60000
# Firebase (Frontend)
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_firebase_app_id
# Firebase App Check
# reCAPTCHA Enterprise site key (from Google Cloud Console → reCAPTCHA Enterprise)
# Required in production. Leave empty to disable App Check (not recommended).
NEXT_PUBLIC_RECAPTCHA_ENTERPRISE_KEY=your_recaptcha_enterprise_site_key
# App Check debug token for local development ONLY.
# Generate one via: Firebase Console → App Check → Apps → your app → "..." → Manage debug tokens
# NEVER commit a real debug token. Add this file to .gitignore.
# Only active when NODE_ENV !== 'production'.
NEXT_PUBLIC_APPCHECK_DEBUG_TOKEN=your_debug_token_here
# Firebase Admin (Backend)
# Path to a service account JSON with "Firebase App Check Admin" role.
# In Cloud Run / Cloud Functions leave blank – ADC is used automatically.
GOOGLE_APPLICATION_CREDENTIALS=./service-account.json
FIREBASE_PROJECT_ID=your_project_id