Guide
How to verify a provably fair battle
Every SolRoll battle can be checked after it ends: the result comes from a secret seed fixed before anyone pays and from public drand randomness that did not exist yet. Here is what is published, when, and how to recompute the outcome yourself.
Why can a result be verified?
Two inputs decide a battle. The first is a secret server seed that SolRoll generates when the battle is created; only its SHA-256 hash is published, so the seed cannot be changed later without the hash giving it away. The second is a drand beacon: a random value published every few seconds by drand's quicknet network, run by the League of Entropy. The battle commits to a drand round that has not happened yet, so nobody, SolRoll included, can know the randomness when the stakes go in.
What is published, and when?
- Before funding: the server seed hash, shown on the battle.
- At the second deposit: the battle locks and commits to a future drand quicknet round number.
- When that round is published: drand's randomness for the round becomes public, and the bullet chamber and the first shooter are derived from it.
- After the final shot: the server seed itself is revealed, so you can recompute everything.
How is the bullet chosen?
The derivation, version solroll-drand-v1, is HMAC-SHA256 keyed by the server seed (its 64-character hex string) over this message:
solroll-drand-v1:{battleId}:{chainHash}:{round}:{randomness}:{draw}:{counter}draw is bullet for the chamber and starter for the first shooter, and counter starts at 0. The digest's bytes are read in order and the first byte below 252 (for six chambers) or 256 (for two players) gives the result as that byte modulo 6 or 2. This rejection sampling keeps every chamber exactly equally likely. If no byte qualifies, the counter goes up by one and a new digest is taken.
The cylinder starts at chamber 0 and each pull moves it one chamber on, so the bullet fires on pull number equal to its chamber, or on the sixth pull if it sits in chamber 0. The starter value says who pulls first: 0 is the creator and 1 the joiner.
How do I check a battle myself?
- Copy the battle ID from the battle or its result page and open the Provably Fair verification tool.
- Your browser checks that the revealed server seed hashes to the published hash.
- It fetches the committed round straight from public drand relays, checks its BLS signature against quicknet's public key and checks that the randomness is the SHA-256 of that signature.
- It recomputes the bullet chamber, the first shooter and the winner, and compares them with the recorded result.
The same page gives you a short Node.js script with the battle's values filled in, so you can run the derivation on your own machine without trusting any code served by SolRoll.
What does verification not tell me?
Verification proves that the outcome followed from inputs fixed before the battle and was not changed afterwards. It does not change the odds: each player still has a 50% chance, the house edge still applies, and a fair result is not a promise of winnings. Compare the creator and joiner wallets in the report with the deposits on a Solana explorer if you want to confirm who played.


