Boliche
USDT Number Pool Game — Live in Production
Boliche is a mobile-first web app built around a popular Cuban game: each player claims a number from 00 to 99 in a shared pool, and whoever lands closest to the night's result — the last two digits of the official Florida Pick 3 — takes the pot. I designed and built it end to end with Next.js and PostgreSQL: deposits through the QvaPay payment gateway and USDT on BNB Smart Chain, withdrawals confirmed from Telegram, a double-entry ledger, scheduled jobs that fetch the official result and settle every pool, a Telegram bot, and an admin panel where every money movement is audited and reconciled against the blockchain.
Key Features
Pools by Ticket Price
Players only compete with others at the same price ($1, $3, $5, $10), or open their own $20–$100 pool. Each number belongs to one player per pool; the closest number wins and ties split the pot.
Automatic Draws
Scheduled jobs read the official Florida Pick 3 result, settle every pool, pay winners and refund pools with fewer than two players — no manual step needed.
QvaPay Integration
Integrated with the QvaPay merchant API: players pay an invoice with their QvaPay balance and the deposit is credited automatically when the webhook arrives, re-checked against the status API so a forged call never credits money. Unpaid invoices expire after 24 h.
USDT & Double-Entry Ledger
USDT deposits on BNB Smart Chain verified on-chain, withdrawals with fees and safety holds, all recorded in a double-entry ledger so balances always add up.
Audited Money Flow
Append-only audit log, daily reconciliation against BNB Smart Chain, admin MFA, second-admin approval for manual results and row-level security in Postgres.
Telegram Bot
Every withdrawal must be confirmed from the player's linked Telegram chat before it is paid, and the bot reports when it was sent. It also reminds players before plays close, announces each paid draw, resets passwords and sends admins security codes and flagged-activity notices.
Installable PWA
Installs on the phone without an app store, works offline for the basics and sends Web Push reminders before plays close.
Screenshots
Today's Pools
Number Picker
Draw Results
Deposit with QvaPay
USDT Withdrawal
Telegram Bot: Withdrawals & Draws
How It Works