forked from bakeronchain/learnvault
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
100 lines (82 loc) · 4.9 KB
/
.env.example
File metadata and controls
100 lines (82 loc) · 4.9 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
<<<<<<< feat/empty-and-error-states
[email protected] # comma-separated list of admin emails
# The environment to use `development`, `testing`, `staging`, `production`
STELLAR_SCAFFOLD_ENV=development
# Location of the config files for this project for the scaffold stellar CLI.
# Learn more at https://developers.stellar.org/docs/tools/cli/stellar-cli#stellar-config-dir
XDG_CONFIG_HOME=".config"
# Prefix with "PUBLIC_" to make available in frontend files
# Which Stellar network to use in the frontend: local, testnet, futurenet, or mainnet
# More on Stellar networks: https://developers.stellar.org/docs/networks
PUBLIC_STELLAR_NETWORK="LOCAL"
# The Stellar network passphrase, this is local
PUBLIC_STELLAR_NETWORK_PASSPHRASE="Standalone Network ; February 2017"
# The Stellar network RPC URL. this is local
PUBLIC_STELLAR_RPC_URL="http://localhost:8000/rpc"
# The Stellar Horizon URL. this is local
PUBLIC_STELLAR_HORIZON_URL="http://localhost:8000"
# PUBLIC_STELLAR_NETWORK="TESTNET"
# PUBLIC_STELLAR_NETWORK_PASSPHRASE="Test SDF Network ; September 2015"
# PUBLIC_STELLAR_RPC_URL="https://soroban-testnet.stellar.org"
# PUBLIC_STELLAR_HORIZON_URL="https://horizon-testnet.stellar.org"
# PUBLIC_STELLAR_NETWORK="MAINNET"
# PUBLIC_STELLAR_NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015"
# PUBLIC_STELLAR_RPC_URL=
# PUBLIC_STELLAR_HORIZON_URL=
# V1 Contract IDs (deployed to Testnet)
# These will be populated after running ./scripts/deploy-testnet.sh
# Core Platform Contracts
VITE_LEARN_TOKEN_CONTRACT_ID=""
VITE_GOVERNANCE_TOKEN_CONTRACT_ID=""
# Scholarship System Contracts
VITE_COURSE_MILESTONE_CONTRACT_ID=""
VITE_MILESTONE_ESCROW_CONTRACT_ID=""
VITE_SCHOLARSHIP_TREASURY_CONTRACT_ID=""
VITE_SCHOLAR_NFT_CONTRACT_ID=""
# Token Contract
PUBLIC_USDC_CONTRACT_ID="" # USDC token contract address (testnet or mainnet)
# Optional: Friendbot-funded deployer address for testing
# PUBLIC_DEPLOYER_ADDRESS=""
# Backend API URL
VITE_SERVER_URL=http://localhost:4000
VITE_API_URL=
RESEND_API_KEY=
FRONTEND_URL=http://localhost:3000
=======
# LearnVault environment template for local development. Copy this file to `.env`.
# Scaffold / local tooling
STELLAR_SCAFFOLD_ENV=development # Scaffold Stellar environment profile used by local scripts and CLI commands.
XDG_CONFIG_HOME=.config # Location where the Stellar CLI stores config files and identities on your machine.
# Stellar network
PUBLIC_STELLAR_NETWORK=TESTNET # Frontend Stellar network used by wallet and contract helpers.
PUBLIC_STELLAR_NETWORK_PASSPHRASE="Test SDF Network ; September 2015" # Stellar Testnet passphrase required by the frontend contract client.
PUBLIC_STELLAR_RPC_URL=https://soroban-testnet.stellar.org # Public Soroban RPC endpoint for Stellar Testnet.
PUBLIC_STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org # Public Horizon endpoint for Stellar Testnet.
# LearnVault contract IDs
VITE_LEARN_TOKEN_CONTRACT_ID= # LearnToken contract ID set after deployment.
VITE_GOVERNANCE_TOKEN_CONTRACT_ID= # Governance token contract ID set after deployment.
VITE_SCHOLAR_NFT_CONTRACT_ID= # Scholar NFT contract ID set after deployment.
VITE_COURSE_MILESTONE_CONTRACT_ID= # Course milestone contract ID set after deployment.
VITE_SCHOLARSHIP_TREASURY_CONTRACT_ID= # Scholarship treasury contract ID set after deployment.
VITE_MILESTONE_ESCROW_CONTRACT_ID= # Milestone escrow contract ID set after deployment.
# USDC on Stellar Testnet
VITE_USDC_CONTRACT_ID= # USDC contract ID used by frontend funding flows.
# Legacy frontend aliases still read by older screens/hooks
PUBLIC_LEARN_TOKEN_CONTRACT= # Legacy alias for the LearnToken contract ID.
PUBLIC_GOVERNANCE_TOKEN_CONTRACT= # Legacy alias for the governance token contract ID.
PUBLIC_SCHOLAR_NFT_CONTRACT= # Legacy alias for the Scholar NFT contract ID.
PUBLIC_COURSE_MILESTONE_CONTRACT= # Legacy alias for the course milestone contract ID.
PUBLIC_SCHOLARSHIP_TREASURY_CONTRACT= # Legacy alias for the scholarship treasury contract ID.
PUBLIC_MILESTONE_ESCROW_CONTRACT= # Legacy alias for the milestone escrow contract ID.
PUBLIC_SCHOLARSHIP_GOVERNANCE_CONTRACT= # Legacy governance/event contract ID used by profile and activity feeds.
PUBLIC_USDC_CONTRACT_ID= # Legacy alias for the USDC contract ID used by the current USDC utility.
# Backend API
VITE_API_URL=http://localhost:3001 # Base URL for frontend requests to the LearnVault backend when it runs locally.
VITE_API_BASE_URL=/api # Relative API prefix used by upload and scholar milestone pages in the frontend.
VITE_SERVER_URL=http://localhost:3001 # Backward-compatible alias still read by the current comment UI.
# IPFS / Pinata
PINATA_API_KEY= # Pinata API key used for authenticated file uploads to IPFS.
PINATA_SECRET= # Pinata API secret used for authenticated file uploads to IPFS.
VITE_IPFS_GATEWAY_URL=https://gateway.pinata.cloud/ipfs # Optional public IPFS gateway override for displaying uploaded files.
>>>>>>> main