Verified raffle infrastructure

Every draw.
Provably fair.

PaySmallWinBig is a cryptographic ledger purpose-built for raffles and competitions. Integrate once. Inherit a permanent, tamper-evident audit trail for every draw, forever.

pswb_intro.mp4
Watch the 90-second overview
Integrated with
KingRaffle CompFest WinnerHub PrizePool + your platform
Verify any draw

Check your raffle

Enter your raffle code or Merkle hash to independently verify your entry was included and the draw was conducted fairly.

No login required. All draws are publicly verifiable.

RAFF-2847-KR RAFF-1203-CF e9f2a1b4…
Verified RAFF-2847-KR
How it works

Transparent by design, not just policy

Every raffle on PaySmallWinBig produces a cryptographic receipt. Participants don't have to trust the operator — they can verify the outcome themselves using the public ledger.

This 3-minute walkthrough shows exactly how entries are committed, how the Merkle root seals the draw, and how anyone can replay the winner selection algorithm.

SHA-256 · Merkle tree · Commit-reveal scheme
3-min technical walkthrough
How a raffle is sealed and verified
Three steps

From ticket sale to sealed draw

Every entry is hashed and chained before any draw occurs. No retroactive changes. No ambiguity.

// step_01

Commit entries

Each ticket purchase is submitted to the ledger. Entries are hashed and chained into a tamper-evident sequence before the draw happens.

append-only log
// step_02

Seal the draw

A Merkle root is computed over all entries. This root plus a verifiable random seed is published immutably before any winner is selected.

merkle commitment
// step_03

Verify the result

Any participant can independently verify their entry was included and the winner selection followed the committed algorithm. No trust required.

public audit trail
Features

Built for operators who can't afford doubt

Append-only ledger

Entries cannot be modified or deleted once committed. Any tampering breaks the chain and is immediately detectable by any observer.

Verifiable random selection

Draws use a commit-reveal scheme. The seed is committed before entries close and revealed after — making pre-selection mathematically impossible.

Real-time audit access

Each raffle gets a public verification URL. Participants confirm their entry and replay the draw algorithm at any time — forever.

Compliance-ready exports

Signed PDF audit reports and machine-readable JSON exports. Meets ASA, CAP and major competition platform policy requirements.

Developer API

Integrate in an afternoon

A clean REST API with TypeScript SDK. Submit entries, seal draws, retrieve proofs. Full webhook support for real-time events.

  • TypeScript SDK with full type coverage
  • Idempotent entry submission — safe to retry
  • Webhooks for draw sealed & winner selected events
  • Public verification API requires no authentication
  • Merkle proof generation per entry on demand
raffle.ts
import { PaySmallWinBig } from '@pswb/sdk';

const client = new PaySmallWinBig({
  apiKey: process.env.PSWB_API_KEY,
});

// Create raffle & commit an entry
const raffle = await client.raffles.create({
  title: 'Summer Giveaway 2025',
  drawAt: new Date('2025-08-01'),
});

await client.entries.commit({
  raffleId: raffle.id,
  participantId: 'user_8f3a',
  ticketRef: 'TKT-00042',
});

// Seal draw — returns Merkle proof
const { winner, merkleRoot } =
  await client.raffles.draw({ raffleId: raffle.id });

console.log(winner, merkleRoot);
2.4M
Entries committed
18K
Draws sealed
0
Disputed results
100%
Audit pass rate
Ready to integrate?

Make your raffles impossible to question

Join KingRaffle and other leading platforms offering cryptographically verified draws. Your players deserve to trust the process — now they can verify it.