-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy path.env.example
More file actions
46 lines (41 loc) · 2.83 KB
/
Copy path.env.example
File metadata and controls
46 lines (41 loc) · 2.83 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
# ─── GuildPass Mobile Environment Variables ────────────────────────────────
# Copy this file to .env and fill in your values. Do NOT commit .env.
#
# Required variables:
# EXPO_PUBLIC_API_URL – Base URL for the GuildPass API (Must be a valid URL)
# EXPO_PUBLIC_CHAIN_ID – Default EVM chain ID (Must be a finite number, e.g. 1 = mainnet, 11155111 = Sepolia)
# EXPO_PUBLIC_APP_ENV – Environment label: development | preview | production
#
# Optional variables:
# EXPO_PUBLIC_WALLET_CONNECT_PROJECT_ID – WalletConnect v2 project ID (for wallet integration)
# EXPO_PUBLIC_QR_SIGNATURE_VERIFICATION – Set to "true" to enforce QR payload
# signature verification against the guild issuer public key. Leave unset
# (or "false") during the migration window so legacy unsigned QR codes
# still scan. Roll out per environment: development → preview → production.
# ─── API ───────────────────────────────────────────────────────────────────
EXPO_PUBLIC_API_URL=http://localhost:3000
EXPO_PUBLIC_CHAIN_ID=11155111
# ─── App Environment ───────────────────────────────────────────────────────
EXPO_PUBLIC_APP_ENV=development
# ─── WalletConnect (optional) ──────────────────────────────────────────────
# Get a project ID at https://cloud.walletconnect.com
# Required for Native Wallet Integration (MetaMask, Trust Wallet, etc.)
# Connected wallets can be cryptographically verified via signature.
# EXPO_PUBLIC_WALLET_CONNECT_PROJECT_ID=
# ─── Embedded Wallets — Privy (optional) ──────────────────────────────
# Enables social/email login with automatic wallet creation for non-crypto
# native users. When both values are set, the onboarding screen shows a
# "Get started without a wallet" option backed by Privy's MPC embedded wallets.
#
# Setup:
# 1. Create a Privy app at https://dashboard.privy.io
# 2. Enable "Email" and "Google" login methods
# 3. Enable "Embedded Wallets → Ethereum" with createOnLogin = users-without-wallets
# 4. Copy the App ID and Client ID below
#
# Both values are public (safe to ship in the app binary). Never put a Privy
# secret key here. See docs/embedded-wallet-provider.md for the full evaluation.
# EXPO_PUBLIC_PRIVY_APP_ID=
# EXPO_PUBLIC_PRIVY_CLIENT_ID=
# ─── QR Signature Verification (optional, off by default) ──────────────────
# EXPO_PUBLIC_QR_SIGNATURE_VERIFICATION=true