Sell tickets. Auto-confirm payments. Draw winners. All on your own wallets.
A production-ready crypto lottery app (Solana + XRP) with a clean admin panel, automatic draw rollover, and on-chain payment confirmation — no custodial payment processor required.
Node/React/Postgres
SOL + XRP
Admin commission per draw
Admin-ready
Non-custodial
Players pay a unique amount to your wallet. The app detects the transfer, tracks confirmations, and mints tickets automatically.
What it does
CryptoLotto is a self-hosted web app that lets you run ticket-based draws on Solana (SOL) and XRP. You set the prize, your commission, ticket supply, and winner split. When the draw sells out, it closes automatically and publishes the winners. Want the full technical breakdown? Read how it works.
Direct-to-wallet payments
No custodial gateway. Players pay your configured SOL/XRP address. Orders are matched by a tiny per-order nonce amount.
Confirmations + payment window
Track on-chain confirmations and enforce an expiry window for unpaid orders. Clean status flow from “awaiting” to “confirmed”.
Auto-close + optional auto-rollover
Draws close automatically when ticket supply is reached. Turn on auto-rollover to open the next draw instantly.
How it works (in practice)
From install → first draw, in a simple flow your customers understand.
Add your SOL address and XRP address in the admin panel. Choose minimum confirmations and the payment window.
Set prize amount, your commission amount, max tickets, and the 1st/2nd/3rd split (must total 100%).
Players enter their payout address. The app generates a unique amount to send to your wallet and tracks confirmations automatically.
When tickets sell out, the draw closes and three winners are selected and published. If enabled, the next draw opens automatically.
You pay winners manually from your wallet (non-custodial). The admin area keeps a winners list to track payouts.





Buy it now
Get the full script with unlimited sites, or a single-use installation option.
Source Code (Unlimited Sites)
- Full source code
- Unlimited-site license
- Self-hosted (Docker)
- Admin dashboard
- Lifetime updates
Installation (Single Use)
- Single-use license
- Install + configure
- First draw setup
- Admin dashboard
- 1 Year updates
FAQ
Is this “no third party”?
No payment gateway is required (no custodial processor). The app watches the blockchain via RPC APIs (public by default, or your own endpoints) to confirm payments and mint tickets.
Can I set my own commission?
Yes. Each draw has a configurable commission amount. Players see the prize target; the commission is added into the actual ticket payment behind the scenes.
Do draws start automatically?
When auto-rollover is enabled, the next draw is created automatically as soon as the previous draw sells out and closes.
How do players receive winnings?
Players enter a payout address when buying. Winners are published automatically; you pay winners from your wallet and can track paid/unpaid status.