What is a nonce in crypto dice and why is it important?
A nonce (number used once) is a critical component of the provably fair system in crypto dice: What it is: A counter that starts at 0 and increments by 1 with each bet. Combined with the server seed and client seed to generate unique results. Ensures that even with the same seeds, every bet produces a different outcome. Why it matters: Without a nonce, the same server seed + client seed would always produce the same result. The nonce guarantees uniqueness for every single bet. It creates a verifiable sequence — bet #1 uses nonce 0, bet #2 uses nonce 1, etc. How it works in the formula: Result = HMAC-SHA512(server_seed, client_seed:nonce:round). Example: HMAC-SHA512("abc123", "xyz789:0:0") → Roll #1. HMAC-SHA512("abc123", "xyz789:1:0") → Roll #2. Each produces a completely different result despite same seeds. Verification importance: The nonce allows you to verify any specific bet in your history. You can check bet #500 without needing to verify all previous bets. The sequential nature ensures no bets can be inserted or removed from the history.

