-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy path.env.example
More file actions
60 lines (49 loc) · 2.38 KB
/
Copy path.env.example
File metadata and controls
60 lines (49 loc) · 2.38 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
# ChainMove contributor environment example
# Copy this file to .env.local and replace placeholders with your own sandbox/test values.
# Never commit .env.local or any real private key.
# App
NEXT_PUBLIC_APP_URL=http://localhost:3000
NODE_ENV=development
# Database
MONGODB_URI=mongodb://localhost:27017/chainmove
# Auth / Session
JWT_SECRET=replace_with_local_dev_secret
AUTH_SESSION_SECRET=replace_with_optional_local_session_secret
KYC_DOCUMENT_ENCRYPTION_KEY=replace_with_optional_local_kyc_encryption_secret
# Privy
NEXT_PUBLIC_PRIVY_APP_ID=replace_with_privy_app_id
PRIVY_APP_ID=replace_with_privy_app_id_for_server_validation
PRIVY_APP_SECRET=replace_with_privy_secret
PRIVY_JWKS_URL=replace_with_privy_jwks_url
# Paystack
PAYSTACK_PUBLIC_KEY=replace_with_paystack_test_public_key
PAYSTACK_SECRET_KEY=replace_with_paystack_test_secret
PAYSTACK_DVA_PREFERRED_BANK=test-bank
# Email (mock mode below skips Resend and does not require this key)
RESEND_API_KEY=replace_with_resend_key
# File uploads / Vercel Blob
BLOB_READ_WRITE_TOKEN=replace_with_local_or_preview_blob_token
# Stellar Testnet (server-side public identifiers and URLs only; never add private keys)
# Mock mode accepts these safe placeholders. Set ENABLE_MOCK_STELLAR=false only
# after replacing issuer, distribution, and contract values with deployed testnet IDs.
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
STELLAR_ASSET_CODE=CMOVE
STELLAR_ISSUER_PUBLIC_KEY=replace_with_public_key
STELLAR_DISTRIBUTION_PUBLIC_KEY=replace_with_public_key
STELLAR_CONTRACT_ID=replace_after_deployment
# Legacy / transition aliases
# RPC_URL may be used by older chain experiments. Prefer STELLAR_RPC_URL for new Stellar code.
RPC_URL=https://soroban-testnet.stellar.org
CHAINMOVE_CA=replace_with_contract_or_asset_reference_if_needed
ACCOUNT_FACTORY_ADDRESS=replace_only_if_legacy_chain_code_requires_it
TREASURY_ADDRESS=replace_with_public_treasury_address_only
THIRDWEB_CLIENT_ID=replace_with_test_client_id_only_if_legacy_code_requires_it
# Contributor Mock Mode
ENABLE_MOCK_PAYMENTS=true
ENABLE_MOCK_EMAILS=true
ENABLE_MOCK_STELLAR=true
# Maintainer-only production secrets intentionally omitted:
# SECRET_KEY_HEX, TREASURY_PK_KEY, THIRDWEB_SECRET_KEY, real PAYSTACK_SECRET_KEY,
# real PRIVY_APP_SECRET, real RESEND_API_KEY, production MongoDB URI, and production signer keys.