games_app/.env.testnet
2026-06-29 15:01:23 +02:00

41 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Docker Compose - copy to .env in this directory (repo root)
# Then: docker-compose up -d
# PostgreSQL (used by postgres service and DATABASE_URL for backend)
DATABASE_URL=postgresql://postgres@localhost:5432/crypto_wallet
DATABASE_PASSWORD=Japhni81!
POSTGRES_USER=postgres
POSTGRES_DB=crypto_wallet
POSTGRES_PORT=5432
# Backend
BACKEND_PORT=4000
JWT_SECRET=36763979244226452948404D635166546A576D5A7134743777217A25432A462D
JWT_ACCESS_EXPIRY=15m
JWT_REFRESH_EXPIRY=7d
# Allow more login attempts during testnet (default is 5 per 15 min)
LOGIN_RATE_LIMIT_MAX=20
# Required: 32-byte hex (64 chars) for AES-256 encryption
ENCRYPTION_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
# Required: BIP39 mnemonic (24 words) for HD wallet - keep secret
PLATFORM_MNEMONIC=world access act denial panther slab target snap frequent loyal pigeon soldier angry vanish reduce tomato praise educate convince copper mistake truck ordinary pelican
# TRON Shasta testnet (test TRX and USDT)
TRON_NODE_URL=https://api.shasta.trongrid.io
# Use fewer confirmations on testnet so deposits credit quickly (mainnet .env uses 20)
TRON_CONFIRMATIONS=3
# Shasta testnet USDT (TRC20) – required to detect USDT deposits on testnet
USDT_TRC20_CONTRACT=TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs
# Polygon Amoy testnet (test USDC)
POLYGON_RPC_URL=https://rpc-amoy.polygon.technology
USDC_POLYGON_CONTRACT=0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582
# Fewer confirmations on testnet so USDC deposits credit quickly (mainnet uses 64)
POLYGON_CONFIRMATIONS=8
# Email verification
APP_PUBLIC_URL=http://localhost:5173
EMAIL_TRANSPORT=console