RFWIN doesn't ask you to trust us. Every draw is a mathematical proof you can recompute yourself. Here's exactly how.
The fundamental problem with any random draw is: how do you know the organiser didn't pick their friend after seeing the list? RFWIN solves this with a two-phase protocol.
SHA-256(server_seed + drand_value + entrant_list), and publishes the full proof bundle.
Instant draw vs. step-by-step. The quick draw on the home page uses the current drand round for better UX. It's still cryptographically auditable, but the organiser could theoretically know the beacon value before submitting — so the trust model is weaker. Step-by-step via the API locks to a future round, providing the strongest guarantee.
RFWIN uses drand quicknet — a decentralised, publicly verifiable randomness beacon operated by a global consortium of independent nodes including universities, research labs, and infrastructure operators.
{
"round": 12345678,
"randomness": "a8f3c2...64 hex chars",
"signature": "92b1e0...BLS sig over SHA-256(prev_sig || round)",
"prev_sig": "f4d8a1...previous round signature"
}
// Verify: SHA-256(prev_sig || round_as_bytes) → BLS verify(signature, public_key)
RFWIN records the round and randomness value in every proof bundle. You can fetch the same data from any public drand league node (e.g. api.drand.sh) and compare.
Once the beacon value is available, RFWIN derives winners deterministically from a single formula. No randomness is introduced after the commit phase.
// 1. Build the entrant list (submitted order, lowercased emails) entrants = ["alice@example.com", "bob@example.com", ...] // 2. Hash each entrant for the ledger (one-way, no originals stored) entrant_hash[i] = SHA-256(email_lowercase) // 3. Derive a draw seed draw_seed = SHA-256(server_seed + "|" + drand_randomness) // 4. For each prize slot (unique-winners mode removes used indices) winner_index = BigInt(SHA-256(draw_seed + "|" + prize_index)) % entrant_count // 5. Winner is entrants[winner_index]
The full proof bundle from GET /api/draws/:id includes every value you need to re-run this yourself: server_seed, drand_value, entrant_hashes, and winners. The in-browser verifier on each certificate page runs this derivation client-side.
Every draw is written to an append-only distributed database at the time of creation. Records are permanent by design — this is not a feature you can opt out of, because permanence is what makes verification meaningful.
dusty-iguana-7c41f8) that identifies the record forever.The verification URL rfwin.uk/d/:id is permanent — it will show the same result five years from now as it does today.
RFWIN exposes a Model Context Protocol (MCP) server that lets AI agents run and verify draws as native tool calls — no web scraping, no manual steps.
MCP is an open standard that lets LLMs call structured tools with typed inputs and outputs, the same way a developer calls an API. An agent with RFWIN tools connected can run a complete verifiable draw in a single turn.
Run a complete draw in one call. Pass a title, contestants and prizes (plus optional backup winners, station/show and visibility: public or private). Returns a drawId, the winners and the public proof URL.
Who won: pass an RFWIN proof link or draw id. Returns title, organiser, date, entry count, masked winners and backup winners, the fairness verdict and a ready-to-quote answer.
Was it fair: recomputes the seed commitment, entry-list hash, drand beacon round (cross-checked with the drand network), draw digest and every winner. Returns each check, the verdict and what the check does and doesn't prove.
// Claude, Cursor, or any MCP-compatible client (free public server, no key) { "mcpServers": { "rewards-fuel": { "url": "https://app.rewardsfuel.com/api/mcp/public" } } } // Agent prompt example "Pick 3 winners from this list fairly. Here are 200 contestants: [...] Run the draw and give me the verification URL to share with entrants."
When an AI agent picks a winner autonomously, the question "did it cheat?" becomes unanswerable — unless the draw is cryptographically sealed. RFWIN gives agents the ability to produce a proof that neither they nor the organiser could have manipulated. The verify_draw tool lets any other agent, or an entrant's own AI assistant, check that proof independently. Discovery: /.well-known/mcp.json · /openapi.json.
All responses are JSON; errors carry {"error": string} with an HTTP status. Machine-readable spec: /openapi.json.
POST https://rfwin.uk/api/draws/instant Content-Type: application/json { "title": "June Podcast Giveaway", "contestants": ["alice@ex.com", "bob@ex.com", ...], "prizes": ["AirPods Pro", "$50 Gift Card"], "uniqueWinners": true, // optional, default true "visibility": "public" // optional: "public" (default) | "private" (alias "unlisted") } // Response { "result": true, "id": "k8m2x9p4q1", "url": "https://rfwin.uk/d/k8m2x9p4q1", "visibility": "public", "manageToken": "rfm_…" // shown once; keep it to switch visibility later }
Draws are public by default: the proof page is indexable and carries JSON-LD structured data. A private draw keeps the exact same proof, and anyone with the link can open it, ask an AI about it and verify it, but the page sends <meta name="robots" content="noindex, nofollow"> and X-Robots-Tag: noindex, nofollow, omits JSON-LD, and is never listed in a sitemap or directory. Its /d/{id}.json, /api/draws/{id} and /verify responses send X-Robots-Tag: noindex. Private is not secret: the link is the only key, so share it with the people who should see it.
PATCH https://rfwin.uk/api/draws/{drawId}/visibility X-RFWIN-Manage-Token: rfm_… // or Bearer RF session JWT of the draw's owner Content-Type: application/json { "visibility": "private" } // or "public"
GET https://rfwin.uk/api/draws/{drawId} // Returns full proof: server_seed, drand_value, entrant_hashes, winners
GET https://rfwin.uk/api/draws/{drawId}/verify GET https://rfwin.uk/d/{drawId}.json // verify: verdict (verified | verified_hash_level | partially_verified | mismatch | not_drawn_yet), // checks[], limits[], masked winners + backups, answerGuide. // .json: the proof page as data (draw, winners, backups, hashes, verification, recipe)
POST /api/draws // create, get drawId POST /api/draws/:id/entrants // add contestants POST /api/draws/:id/close // lock to a FUTURE drand round POST /api/draws/:id/draw // execute once beacon round arrives POST /api/draws/:id/reveal // publish server_seed, finalize proof
Authentication for step-by-step: Authorization: Bearer HOST_API_KEY (available on paid plans).
Run a free draw on the home page. Your result is permanently stored and independently verifiable in seconds.