-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (29 loc) · 1.56 KB
/
.env.example
File metadata and controls
35 lines (29 loc) · 1.56 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
# CrediLab Environment Variables
# ⚠️ NEVER commit this file to Git — it's already in .gitignore
# Copy this file to .env and fill in your values
# Judge0 API
# FREE public endpoint (no credit card required): https://ce.judge0.com
# For production, self-host Judge0 or use RapidAPI paid tier
JUDGE0_URL=https://ce.judge0.com
# Firebase (Client-side — these are safe to expose, but keep in .env for easy config)
VITE_FIREBASE_API_KEY=your_firebase_api_key_here
VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id
# Firebase Admin (Server-side — for Vercel serverless functions)
FIREBASE_API_KEY=your_firebase_api_key_here
FIREBASE_SERVICE_ACCOUNT={"type":"service_account","project_id":"..."}
# WalletConnect (Student B — get free Project ID from https://cloud.walletconnect.com)
VITE_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_id_here
# Blockchain Configuration (Student B - Sepolia Testnet)
# Contract: CrediLabSystem (hybrid ERC20 CLB currency + ERC1155 soulbound badges)
# Public RPC: https://ethereum-sepolia-rpc.publicnode.com
VITE_SEPOLIA_RPC_URL=https://ethereum-sepolia-rpc.publicnode.com
VITE_CLB_CONTRACT_ADDRESS=
VITE_SYSTEM_WALLET_ADDRESS=
# Badge IDs: 1-99 = soulbound badges, 100+ = transferable frames
# System wallet private key — NEVER stored in frontend code
# Set in Vercel env vars (production) or local .env only
SYSTEM_WALLET_PRIVATE_KEY=paste_student_b_private_key_here