forked from Rub-a-Dab-Dub/whspr_stellar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
73 lines (62 loc) · 1.88 KB
/
.env.example
File metadata and controls
73 lines (62 loc) · 1.88 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
# Server
NODE_ENV=development
PORT=3001
# Database
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_NAME=gasless_gossip
DATABASE_POOL_MIN=2
DATABASE_POOL_MAX=10
# JWT
JWT_SECRET=your_jwt_secret_minimum_32_characters_long_change_in_production
JWT_EXPIRES_IN=7d
# EVM
EVM_RPC_URL=https://mainnet.infura.io/v3/YOUR-PROJECT-ID
EVM_PRIVATE_KEY=your-private-key
EVM_ACCOUNT_ADDRESS=your-account-address
EVM_CONTRACT_ADDRESS=your-contract-address
EVM_NETWORK=base
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# Cache TTLs (seconds) — override defaults if needed
# CACHE_TTL_SHORT=60
# CACHE_TTL_MEDIUM=300
# CACHE_TTL_LONG=3600
# Rate Limiting
THROTTLE_TTL=60
THROTTLE_LIMIT=10
THROTTLE_LIMIT_SHORT=3
THROTTLE_LIMIT_MEDIUM=60
THROTTLE_LIMIT_LONG=1000
# CORS
CORS_ORIGIN=http://localhost:3000
# Attachments / Storage (AWS S3 or Cloudflare R2)
STORAGE_PROVIDER=s3
STORAGE_BUCKET=gasless-gossip-uploads
STORAGE_REGION=us-east-1
STORAGE_ENDPOINT=
STORAGE_ACCESS_KEY_ID=your-storage-access-key
STORAGE_SECRET_ACCESS_KEY=your-storage-secret-key
STORAGE_PUBLIC_BASE_URL=
ATTACHMENT_PRESIGN_EXPIRY_SECONDS=300
ATTACHMENT_MAX_SIZE_FREE_BYTES=10485760
ATTACHMENT_MAX_SIZE_PREMIUM_BYTES=26214400
ATTACHMENT_MAX_SIZE_VIP_BYTES=52428800
ATTACHMENT_ALLOWED_MIME_TYPES=image/jpeg,image/png,image/webp,image/gif,video/mp4,audio/mpeg,audio/wav,application/pdf
# Stellar / Soroban (local testnet defaults)
SOROBAN_NETWORK=local
SOROBAN_RPC_URL=http://localhost:8000/soroban/rpc
SOROBAN_NETWORK_PASSPHRASE=Standalone Network ; February 2017
FRIENDBOT_URL=http://localhost:8000/friendbot
# SEP-10 Web Authentication
SEP10_SERVER_SECRET=your_stellar_server_secret_key
SEP10_HOME_DOMAIN=localhost
SEP10_WEB_AUTH_ENDPOINT=http://localhost:3001/auth
# SEP-24 Fiat On/Off Ramp
SEP24_ANCHOR_URL=https://your-anchor.example.com
SEP24_ANCHOR_API_KEY=your_anchor_api_key