Dream Village
A gamified metaverse village-building platform with a fully on-chain referral economy. Villagers register crypto wallets, earn LTC commissions through BTCPay Server pull-payments, and gameplay events are secured with HMAC-SHA256 webhook signatures.
On-Chain Referral Economy
Every referral automatically triggers a BTCPay Server pull-payment payout in LTC. Auto-approved claims mean zero manual intervention for commission processing.
Connection Pool
MySQL2 connection pool (10 concurrent) with promise wrappers ensures high-throughput game event writes without connection exhaustion under load.
Webhook Security
All BTCPay Server webhooks are verified with HMAC-SHA256 and timingSafeEqual to prevent timing attacks on signature validation.
React Frontend
Vite-powered React app with village builder UI, real-time LTC balance display, referral code sharing, and leaderboard — all connected to the Node.js API.