# Provably Fair

Provably Fair is a relatively new form of online gambling where the outcome of the round derives entirely from data that cannot be known in advance neither by the player nor by the provider of the game that is played.
You may be wondering what this mean and how it is different from the way outcomes are normally driven in online gambling.
When you play a game in an online Casino anytime you bet the result of the round is driven by the server of the game provider using a random number generator, therefore outcomes are driven in a random way or if you prefer, just follow chance. But this whole process is hidden from you and you have no way to verify that the outcome shown by the game has really been driven entirely by chance, or that it has no dependency on how much you are betting or how much you have won or lost up to that moment.
Because of this players often get suspicious and they start having doubts on the fairness and randomness of the games.
Provably Fair solves this by requiring game providers to use as the source of randomness for generating outcomes data that is known by both parties (the player and the server of the game provider) only when the bet of the player takes place, with no way to influence or guess the outcome in advance for any of the two parties.

In DeBets Provably Fair is an optional feature that the majority of game providers adopt.
Supporting Provably Fair is a way for a game provider to gain trust and exhibit fairness to the players. On top of this DeBets scoring system penalizes game providers that have few games or no game at all supporting Provably Fair as this can result in a drop up to 40% of the score.

# How does Provably Fair work in DeBets?

Technologies that are based on public-key cryptography like DeBets Payment Channel offer a natural way to implement Provably Fair.
Everytime the player bets a message whose content represents the balance of the active deposit is signed and shared by both parties, the player and the game provider. The two signatures when put together consist of a piece of data that represents a perfect source of randomness for Provably Fair because:

  • None of the two parties can determine the data before the bet takes place. In fact this data depends on the two signatures which are exchanged and verified by both parties in order for the bet to be accepted.
  • Both parties participate in forming the data with their respective signature. Therefore if the outcome of the round is derived entirely from this data then the player can be sure that the game provider can't cheat nor influence the outcome in any way

Obviously for the last point to be true the game provider must be able to prove to the player that for any round the outcome corresponds to the specific piece of data that was known to both parties after the bet. This is what game providers have to comply with in order to support Provably Fair in DeBets.

What was given is just a high level description of Provably Fair in DeBets. For a technical description read this page.

# How to know if a game supports Provably Fair

As explained, Provably Fair is an optional feature and game providers can support it in some games and not support it in others.
To know if a game supports Provably Fair look for the icon that appears near the game in the games listing on DeBets website.

# How to verify the outcome of your rounds

When the game that you are playing supports Provably Fair you can verify the outcomes of your rounds in DeBets App.
From the main page of DeBets App click on the BET/WIN HISTORY button and then click on the BET that you want to verify in the list.

You will be presented a page like the following:

BET transaction
BET transaction

From here click on the VERIFY WIN RESULT button to open the Provably Fair verification page.