Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
46 lines (32 loc) · 1.67 KB
/
Copy path.env.example
File metadata and controls
46 lines (32 loc) · 1.67 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
# ─── Frontend (Vite) ────────────────────────────────────────────────
# Contract address for the ERC-20 token locker
VITE_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
# JSON RPC URL for Ethereum mainnet (must support CORS for browser use)
VITE_RPC_URL=https://cloudflare-eth.com
# API key sent with every request to the backend
VITE_API_KEY=your_frontend_api_key_here
# Backend API base URL (no trailing slash)
VITE_API_URL=https://your-backend-url.com/api
# Minimum locked tokens required to access the launchpad
VITE_PAD_TOKENS=1000000000
# Minimum remaining lock duration (seconds) required to access the launchpad
VITE_PAD_TIME=2592000
# Comma-separated whitelist of wallet addresses that bypass lock requirements
VITE_WHITELIST=0xYourAddress1,0xYourAddress2
# Token ticker symbol displayed in the UI
VITE_TOKEN_SYMBOL=TOKEN
# Tooltip text shown on the Lock page
VITE_LOCK_DESCRIPTION=Lock your tokens to access the launchpad.
# Tooltip text shown on the Withdraw page
VITE_WITHDRAW_DESCRIPTION=Withdraw your tokens after the lock period ends.
# ─── Backend (rest_api/) ────────────────────────────────────────────
# Key required by the /launch GET endpoint
API_KEY=your_api_key_here
# Key required by all admin endpoints (create, update, delete)
ADMIN_KEY=your_admin_key_here
# MySQL (production) -- omit DATABASE_HOST to use SQLite for local dev
DATABASE_USER=root
DATABASE_PASSWORD=your_database_password_here
DATABASE_DB=launchpad
DATABASE_HOST=localhost
DATABASE_PORT=3306