forked from Nexacore-Org/NexaFx-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
66 lines (54 loc) · 1.84 KB
/
Copy path.env.example
File metadata and controls
66 lines (54 loc) · 1.84 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
# Application Configuration
NODE_ENV=development
PORT=3000
# Request Body Size Limits (in MB)
BODY_LIMIT_JSON=10
BODY_LIMIT_URLENCODED=10
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=your_secure_db_password
DB_NAME=nexafx_db
DB_SSL=false
# JWT Configuration
JWT_SECRET=your_super_secret_jwt_key_must_be_at_least_32_characters_long_for_security
JWT_EXPIRY=3600
# Refresh Token Configuration
REFRESH_TOKEN_SECRET=your_super_secret_refresh_token_key_must_be_at_least_32_characters_long
REFRESH_TOKEN_EXPIRY=604800
# OTP Configuration
OTP_SECRET=your_super_secret_otp_key_must_be_at_least_32_characters_long
OTP_EXPIRY=300
# Wallet Encryption Configuration (64-character hex string)
WALLET_ENCRYPTION_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
# External Service Credentials
EXTERNAL_API_KEY=your_external_api_key
EXTERNAL_API_URL=https://api.example.com
EXTERNAL_API_TIMEOUT=30000
# Mail Configuration
MAIL_HOST=smtp.example.com
MAIL_PORT=587
MAIL_USER=your_email@example.com
MAIL_PASSWORD=your_mail_password
MAIL_FROM=noreply@example.com
MAIL_SECURE=false
# Redis Configuration (optional)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# Rate Limiting Configuration
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX_REQUESTS=100
# Blockchain Configuration
# RPC endpoint for blockchain interaction (Ethereum mainnet, testnet, or custom node)
BLOCKCHAIN_RPC_URL=http://localhost:8545
# Number of confirmations required for transaction finalization
BLOCKCHAIN_REQUIRED_CONFIRMATIONS=12
# Payment Provider Configuration
# API endpoint for the payment provider (e.g., Stripe, PayPal, Square)
PROVIDER_API_URL=https://api.payment-provider.com
# API key for authentication with the payment provider
PROVIDER_API_KEY=your_provider_api_key_here
# Timeout in milliseconds for provider API calls
PROVIDER_API_TIMEOUT=30000