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.”
SolanaSwitchboard VRF
Privy
HeliusEvery raffle lives entirely on-chain. The contract holds the prize, mints tickets, calls the VRF, and pays the winner. No operator in the middle.
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 SOLvault_deposit1,247 SOLAnyone connects with email, Google, or Phantom. Each ticket mints a PDA tied to their wallet. SOL flows to the vault.
buy_ticket×4ticket_minted#1839–1842Time elapses or tickets sell out. Switchboard VRF returns a verifiable random number. The winner claims the prize on-chain.
request_drawvrf:Aio4…claim_prize✓ settledSwitchboard signs the random number off-chain and writes it on-chain. Anyone can replay the math.
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.
claim_refund. No admin.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.