Unique winners
Draw without replacement from up to 500 unique addresses.
RANDOMNESS & RAFFLES / DRAW SIMULATOR
Prototype raffles, shuffled allowlists and randomized drops. Generate a draw, keep its seed, and replay the exact result before integrating an on-chain oracle.
Free beta demo. No wallet connection required.
Draw without replacement from up to 500 unique addresses.
Export the seed, canonical participant list and versioned algorithm.
Scope a Switchboard integration for verifiable on-chain settlement.
OPEN THE TOOL
Start with the example. Adjust the inputs. Export the result.
Simulate a winner selection with a reproducible seed.
Simulator · The operator can reroll or select a seed. This is not an oracle-verified public draw.
BUILD IT INTO YOUR APP
curl -X POST 'https://www.attn.money/api/build/random-draw' \
-H 'Content-Type: application/json' \
-d '{"participants":["HN5sexDdWmkBhF16gZx6vCRBUr5mncULmDT6rzLVrSr4","BPfsbKvfjXpYyQmizZEAYVjLncPep5L1JPTmwuzgaSPY","2bWVTYT2z1dX8WNnMwnkLuvZLcqAogb4JFa2ZzPEHjh4"],"winners":1}'participantswinnersseeddraw includes seed, sorted participants, participantsHash, ordered winners, algorithm and oracleVerified:false. drawHash hashes the versioned draw. The v1 algorithm uses SHA-256(seed bytes || u32be counter), starting at 0; reads u32be words, rejects values ≥ floor(2^32 / range) × range, and performs partial forward Fisher–Yates.
Invalid inputs return 400. JSON bodies are limited to 64 KB (413 if exceeded). Respect 429 and Retry-After; provider failures return 502 or 503. Limits and caches are per server process; a production pilot needs confirmed capacity.
BEFORE YOU INTEGRATE
No. This working prototype is a replayable simulator. A public on-chain draw needs an oracle-backed integration with a fixed eligibility set and settlement rules.
An app program and state, a Switchboard randomness account, a committed eligibility set, verified commitment and reveal state, funded transactions and one-time settlement. Those pieces are not activated here.
Prototype randomized allowlist order, reward selections, reveal ordering or game mechanics. Use independent oracle verification where an outcome controls something of value.
Integration reference: Switchboard’s Solana randomness tutorial ↗. Oracle integration is not active in this demo.
MAKE IT PART OF YOUR PRODUCT
Discuss an integration for your app, bot or launch. We’ll confirm the scope, usage and costs before a paid pilot.
Demo access is free. Paid keys and automatic billing are not active.
KEEP BUILDING