/draw
Entropy you can verify. Randomness nobody controls.
Every 5-minute epoch, contributors submit SHA-256 proof-of-work. The oracle XORs all leaves, signs the result with a Schnorr key anchored to a live Bitcoin block hash, and publishes it. No trusted party. No committee. No PRNG.
Use cases
Provably fair giveaway
Announce the epoch ID before entries close. Use the signed result to pick the winner. Anyone can verify you didn't cherry-pick — the result is on-chain before you know who wins.
Waitlist / slot assignment
500 applicants, 50 slots. Post the epoch ID in advance. Sort registrations by hash(entry_id + draw_result) mod N. Completely auditable, nobody can accuse you of favoritism.
Unbiased audit sampling
Pick which records to review without being able to cherry-pick. Commit to the epoch ID before the draw, use the result to select the sample. Useful when showing a third party you didn't steer the audit.
Tie-breaker for automated systems
Two jobs compete for a resource. Two bids arrive at the same millisecond. Instead of first-come-first-served (gameable) or a PRNG (not auditable), use the epoch result as a public coin flip.
Game & app randomness
Dice rolls, loot tables, card shuffles — anywhere your users might question the RNG. Publish the epoch ID before the game starts, reveal the result after. Every player can audit it independently.
Scheduled random selection
Run a daily or weekly draw at a predictable epoch. Commit the epoch number in your terms. Your service never touches the RNG — the beacon is sovereign and external to you.
DLC oracle input
Block hashes are predictable to miners — anyone with hashrate can retry until a favorable hash appears. Reference the epoch ID in your DLC announcement instead. The signed beacon is the attestation; any counterparty verifies it offline against the oracle pubkey.
How it works
/api/v1/draw with your solved nonce. Your contribution is XOR-merged into the epoch's running state. Replay is impossible (the epoch ID is embedded in the hash input).
/api/v1/draw/:epoch_id for 50 sats (L402 Lightning payment). Returns the Schnorr signature, result hash, contributing leaf hashes, and the Bitcoin block anchor you can verify independently.
Contribute entropy — free
Retrieve the signed result — 50 sats
Pricing
| Action | Cost | Gate |
|---|---|---|
| Contribute entropy to any epoch | Free | PoW puzzle (~5–10s CPU) |
| Retrieve Schnorr-signed beacon | 50 sats | L402 Lightning payment |
| Oracle pubkey / verification data | Free | None — GET /api/v1/info |