CryptoLotto ScriptLaunch your own SOL + XRP lottery

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.

Docker installer
Node/React/Postgres
SOL + XRP
Admin commission per draw

Admin-ready

Non-custodial

Supported chains
SOL + XRP
Draw behavior
Auto close
Commission
Per draw
Payments
Confirmed

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.

1
Admin config

Add your SOL address and XRP address in the admin panel. Choose minimum confirmations and the payment window.

2
Create a draw

Set prize amount, your commission amount, max tickets, and the 1st/2nd/3rd split (must total 100%).

3
Players buy tickets

Players enter their payout address. The app generates a unique amount to send to your wallet and tracks confirmations automatically.

4
Draw closes & winners publish

When tickets sell out, the draw closes and three winners are selected and published. If enabled, the next draw opens automatically.

5
Admin pays winners

You pay winners manually from your wallet (non-custodial). The admin area keeps a winners list to track payouts.

Scripts running homepage
Homepage Clean landing + “How it works” panel
Live draw screen
Live draw Buy tickets + entrants panel
Admin enters crypto address and creates a draw
Admin setup Coin settings + round creation
Admin can change logo and see winners payouts list
Admin tools Branding + payouts list
Payment window with QR code
Payment modal QR + exact amount instructions
 

Buy it now

Get the full script with unlimited sites, or a single-use installation option.

Installation (Single Use)

$499 one-time
  • 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.