Provably fair
Every case, battle, dice roll, mine and tower on RAINBUX is generated by a verifiable seed system.
Server seed
Before a round starts we generate a random server seed and publish its SHA-256 hash. The hash proves the seed existed and was never changed after your bet.
Client seed
Your client seed is generated in your browser and can be rotated at any time. It guarantees that we cannot know the combined outcome in advance.
Nonce
Every bet increments a nonce, so the same seed pair produces a unique, reproducible result for each round.
Verification
After rotating your seed we reveal the previous server seed. Hash server seed + client seed + nonce with HMAC-SHA256 and convert to a number to reproduce every outcome.
Outcome formula
hash = HMAC_SHA256(serverSeed, clientSeed + ":" + nonce)
roll = parseInt(hash.slice(0, 8), 16) / 0xffffffff * 100