forked from soroventures/SoroMint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (45 loc) · 1.87 KB
/
Copy path.env.example
File metadata and controls
54 lines (45 loc) · 1.87 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
# Server Configuration
PORT=5000
MONGO_URI=mongodb://localhost:27017/soromint
NODE_ENV=development
# JWT Authentication Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_EXPIRES_IN=24h
# Stellar / Soroban Configuration
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
HORIZON_URL=https://horizon-testnet.stellar.org
NETWORK_PASSPHRASE=Test SDF Network ; September 2015
ADMIN_SECRET_KEY=${ADMIN_SECRET_KEY} # Set this in your .env file, do not hardcode in codebase
# Sentry Error Tracking
SENTRY_DSN= # https://<key>@o0.ingest.sentry.io/<project>
# Webhooks
# Clients supply their own per-webhook secret on registration (min 16 chars)
# Database Backup Configuration (issue #60)
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=your-access-key-id
AWS_SECRET_ACCESS_KEY=your-secret-access-key
AWS_S3_BACKUP_BUCKET=your-soromint-backups-bucket
BACKUP_CRON_SCHEDULE=0 2 * * * # Daily at 02:00 UTC (default)
# Blockchain Analytics Integration (issue #78)
ANALYTICS_WEBHOOK_URL=https://your-bubble-or-custom-webhook-url
ANALYTICS_WEBHOOK_KEY=your-optional-bearer-tokeny
DUNE_API_KEY=your-dune-api-key
DUNE_NAMESPACE=your-dune-username
DUNE_TABLE_NAME=soromint_tokens
# Notification Service
SENDGRID_API_KEY=your-sendgrid-api-key
NOTIFICATION_FROM_EMAIL=noreply@soromint.io
VAPID_PUBLIC_KEY=your-vapid-public-key
VAPID_PRIVATE_KEY=your-vapid-private-key
VAPID_SUBJECT=mailto:admin@soromint.io
# Stream Email Notifications (Task 1)
APP_URL=https://soromint.io
# BIP-39 Key Vault (Task 2)
# Use EITHER a BIP-39 mnemonic (preferred) OR a raw Stellar secret key
# Install optional deps for full BIP-39 support: npm install bip39 ed25519-hd-key
PLATFORM_MNEMONIC=word1 word2 ... word24
# PLATFORM_SECRET_KEY=S... # fallback if mnemonic not set
# Reconciliation Worker (Task 4)
ADMIN_EMAIL=admin@soromint.io
STREAMING_CONTRACT_ID=C...
RECONCILIATION_CRON=*/15 * * * * # every 15 minutes (default)