Commitment Scheme in provably fair
Initial Commitment: When a bet is initiated, both the player and the operator generate a commitment. The commitment is hashed and is kept a secret to prevent tempering.
Betting: The game or bet proceeds as planned, with both parties aware of each other's commitments but not the secrets they conceal.
Reveal and Verify: After the game has ended, reveal any hashed values to obtain the original secret values so that you can verify the results.
Read more about how the commitment scheme works here
How do we reveal and verify the bets?
The goal here is to reveal the secrets of the bets and verify them.
Step 1: Open the bet modal and click on rotate pair
Step 2: Input your desired next client seed and click change. This will commit the new client seed and new server seed for the next bet.
Remember to complete any existing games before changing.
Step 3: Close the provably fair modal and return to the bet model. For that particular bet you made you would notice that the server seed has been unhashed and revealed to you. The Client Seed and Nonce for the bet does not change.
Step 4: Verify your bet. You could click Verify
Step 5: As you notice, by inputting the Client Seed, Server Seed, and Nonce of the bet made, you get the same output as the original bet result shown in your bet slip