forked from Betta-Pay/BettaPay-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (25 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
33 lines (25 loc) · 1.07 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
NODE_ENV=development
# Service ports
PORT=3000
FX_ENGINE_URL=http://localhost:3002
SETTLEMENT_ENGINE_URL=http://localhost:3001
INDEXER_URL=http://localhost:3003
# Fees — default basis points used when a merchant has no custom feeBps rule
FEES_DEFAULT_BPS=100
# Auth — generate a strong secret for production
JWT_SECRET=change-me-to-a-long-random-secret-before-production
JWT_EXPIRES_IN=24h
# CORS — comma-separated list of allowed origins
ALLOWED_ORIGINS=http://localhost:3000,https://betta-pay-frontend.vercel.app
# Stellar Testnet
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
# Contract addresses (testnet — update after each deploy)
SETTLEMENT_CONTRACT_ID=your_settlement_contract_id
GOVERNANCE_CONTRACT_ID=your_governance_contract_id
ADMIN_ADDRESS=your_stellar_admin_address
# Redis (required by settlement engine BullMQ worker)
REDIS_URL=redis://localhost:6379
# Database (required)
DATABASE_URL=postgresql://user:password@localhost:5432/bettapay