-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
77 lines (66 loc) · 2.36 KB
/
Copy pathenv.example
File metadata and controls
77 lines (66 loc) · 2.36 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
# ============================================
# MarblePay Environment Configuration
# ============================================
# Copy this file to .env and fill in your values
# DO NOT commit .env to version control
# ============================================
# Environment
# ============================================
NODE_ENV=development
LOG_LEVEL=debug
PORT=4000
# ============================================
# Database
# ============================================
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=marblepay
DATABASE_PASSWORD=password
DATABASE_NAME=marblepay_dev
DATABASE_URL=postgresql://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}
DATABASE_SYNC=false
# ============================================
# Redis
# ============================================
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT}
# ============================================
# JWT & Authentication
# ============================================
JWT_SECRET=change-this-to-a-secure-random-string-min-32-chars
JWT_EXPIRATION=15m
REFRESH_TOKEN_SECRET=change-this-to-another-secure-random-string
REFRESH_TOKEN_EXPIRATION=7d
API_KEY_PREFIX=mp_test_
WEBHOOK_SECRET_PREFIX=whsec_
# ============================================
# Blockchain RPC Providers
# ============================================
INFURA_API_KEY=your-infura-api-key-here
ALCHEMY_API_KEY=your-alchemy-api-key-here
ETHEREUM_NETWORK=sepolia
BASE_NETWORK=base-sepolia
# ============================================
# Hot Wallet (TESTNET ONLY)
# ============================================
HOT_WALLET_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
HOT_WALLET_ADDRESS=0x0000000000000000000000000000000000000000
# ============================================
# Compliance APIs
# ============================================
SMILE_IDENTITY_API_KEY=test_key
CHAINALYSIS_API_KEY=test_key
TRM_API_KEY=test_key
# ============================================
# Email Service
# ============================================
SENDGRID_API_KEY=
FROM_EMAIL=noreply@marblepay.io
# ============================================
# Frontend URLs
# ============================================
NEXT_PUBLIC_API_URL=http://localhost:4000
NEXT_PUBLIC_WEBSOCKET_URL=ws://localhost:4000
# Add more environment variables as needed