LIVE ON SOLANA · DEVNET

Anyone can run a raffle. The chain picks the winner.

Permissionless on-chain raffles. Deposit a prize, set a ticket price, let buyers enter from any wallet (or none at all). Switchboard VRF picks the winner. No operator. No “trust us.”

DevnetLive now
VRFRandom source
5%Protocol fee
VRF · Aio4…4ji2
Winning wedgeticket #1,847
Switchboard verified
Built on
Devnet · v0.1
/ how it works

Three steps. Zero trust required.

Every raffle lives entirely on-chain. The contract holds the prize, mints tickets, calls the VRF, and pays the winner. No operator in the middle.

01

Create & deposit

Creator sets prize, ticket price, and end time. Prize escrows into a PDA vault that no one, not even raffl, can drain.

create_raffle0.5 SOL
vault_deposit1,247 SOL
02

Buyers enter

Anyone connects with email, Google, or Phantom. Each ticket mints a PDA tied to their wallet. SOL flows to the vault.

buy_ticket×4
ticket_minted#1839–1842
03

Chain picks

Time elapses or tickets sell out. Switchboard VRF returns a verifiable random number. The winner claims the prize on-chain.

request_drawvrf:Aio4…
claim_prize✓ settled
/ why raffl

Built like a contract, not a casino.

Provably fairVRF receipt

Every draw is a public, verifiable transaction.

Switchboard signs the random number off-chain and writes it on-chain. Anyone can replay the math.

raffle001 · Patek 5711
tickets_sold2,500
vrf_resultAio4…4ji2
winning_ticket#1,847
winner9mNx…kP4r
No trust required

The protocol can't touch your prize.

Funds sit in a PDA vault that's program-locked. Even raffl admins can't drain it mid-raffle. Refunds run trustlessly if a raffle cancels.

PDA-escrowed prizes.Funds are program-owned, not custodial.
No seed phrase needed.Sign up with email or Google. Keys via Privy MPC.
Refunds are trustless.Buyer calls claim_refund. No admin.
Open-source program.Anchor IDL published. Re-verify the build hash.
/ for creators

Run a raffle in two minutes.

Drop a prize. Pick a price. Walk away. The contract handles ticketing, the draw, and payouts. You get 95% of the pot. We take 5% only when a raffle settles.

Example payout · 1,000 tickets at 0.1 SOL
Ticket revenue100.000 SOL
Protocol fee (5%)−5.000 SOL
Switchboard VRF−0.002 SOL
Network rent−0.012 SOL
You receive94.986 SOL