Provably Fair
What is Provably Fair?
Provably Fair is a system that ensures the fairness and transparency of our box openings and battles. It allows users to verify that the outcomes were not manipulated and were truly random.
How It Works
Our Provably Fair system uses the following components:
- Server Seed: A secret random string generated by our server.
- Client Seed: A public string that you can view and change.
- Nonce: A number that increases with each roll to ensure uniqueness.
- Salt: An additional random string to enhance security.
The Algorithm
1. We combine the Server Seed, Client Seed, Salt, and Nonce using a cryptographic hash function (HMAC-SHA512).
2. The resulting hash is converted into a number between 1 and the total weight of the box or battle outcomes.
3. This number determines the outcome of the box opening or battle round.
Verifying Results
You can verify the results of your box openings and battles:
- For box openings, check your Box History.
- For battles, view the Provably Fair dialog in the battle results.
Both pages provide a "Verify" button that opens a CodePen with the verification code.
Transparency
The Server Seed is kept secret until after the roll to prevent manipulation. Once revealed, you can use it along with the other components to verify the outcome.