Wheel uses a Provably Fair system that makes every result transparent, independently verifiable, and fixed after a bet has been placed.
Each Wheel result is generated using three elements: a server seed, a client seed, and an incremental nonce. Before you place a bet, the server seed is shown as a hash. After the seed is revealed, you can check that it matches the hash shown earlier.
The result is calculated using HMAC-SHA256:
hmac = HMAC_SHA256(serverSeed, clientSeed:nonce:blockIndex)
The first four bytes are read as an unsigned number and converted into a value between 0 and 1:
float = uint32BE(hmac[0..3]) / 2^32
That value selects a segment on the wheel:
segment = floor(float * numberOfSegments)
The selected segment is an index from 0 to numberOfSegments - 1.
After the server seed is revealed, you can verify previous Wheel results using the Verify tab. Rotating the server seed creates a new seed pair for future rounds while keeping previous results available for verification.
This lets you check that the selected segment matches the seeds, nonce, and Wheel calculation.
