Skip to main content
Clayquot Fog emblem Clayquot Fog Rain-Arch Spice Works
15,000 WM Open Demo
Engineering 2026-11-05 6 min read

Client-Side CSPRNG: Why Every Spin Happens Inside Your Browser

Written by Nolan Reyes, Lead Engineer

At Clayquot Fog Digital Studio in Toronto, one architectural principle guided the entire project from day one: every reel outcome should be generated transparently right inside the visitor’s own browser using standard cryptographic randomness, with zero opaque server hooks pulling strings behind the curtain.

Whenever you press Spin, our EventBus dispatches a draw request to the Canvas reel engine. Instead of using the predictable Math.random() helper, the engine invokes window.crypto.getRandomValues() on a 32-bit unsigned integer array. Each draw is mapped via rejection sampling onto the slot’s published symbol weight table so there is zero modulo bias.

Crucially, every spin is statistically independent. The engine does not inspect your current Wax Medallions balance, your Keeper Rank XP, whether you are playing on the Open Showcase, a 90-minute Rain Pass, or a local Ledger account, or whether your last ten spins won or lost. Keeper Ranks are strictly cosmetic herbarium titles and badges—they never tilt a single weight on a single drum.

To verify that all seventeen cabinets behave cleanly before publication, we run multi-million-spin automated verification batches over each grid geometry (3×3, 5×3, 5×4, and 6×4) and craft rule set, confirming that long-run virtual return settles right within the published 95.6%–96.4% band. In real life, a short fifty-spin visit will naturally experience variance far above or below that average—which is the hallmark of genuine unscripted randomness.

You can inspect your own local history anytime inside the Ledger History tab, which logs the exact slot, stake, feature state, and Wax Medallions tally of your sixty most recent rounds strictly on your own device.

Browse All 17 Reels ← Back to Field Notes

Continue Reading