ALL bets on CrypCade.io are provably fair.Each bet receives the hash before the bet is placed. This ensures you’re getting a lucky number before you place your bet, and you use your Secret Key to decode the result.
Check out our medium article for the method with images here :
https://medium.com/@CrypCade/how-to-check-your-bets-for-fairness-on-crypcade-io-80fb813007dHash is given BEFORE the bet is placed.
Lets say in this case, the result of the bet was 6. To check the fairness of the bet, you need to click the Fairness button.
The Fairness window will store the Secret Key and Hash of each bet individually.
By clicking the Check button, you will be redirected to a website that decodes the message+secret key. It is important to note that ANY hash decoding website can be used in this process. In the string field, you’ll write the bet result (lucky number for that bet round), in this case, 6. In the Secret Key field, you need to paste the Secret Key from the Fairness Window of said bet. Do not forget to select the algorithm, SHA-256 in this case. Click ‘Compute HMAC’ and the Computed HMAC needs to match the hash of your bet. Hash will remain stored in the Fairness Window of this bet, so you can check at any time.
Hash is given BEFORE the bet is placed.
What is a Hash?The Hash that we give you is the result of the next bet that you will place. The lucky number is encrypted using the SHA-256 algorithm and a “Secret Key” that is revealed to you after you received your pre defined bet result. This Secret Key is the only Key that, together with the lucky number, leads to the Hash that has been shown to you before you placed your bet.
Why must your hash be given BEFORE you place a bet?The way the hash is provided differentiates CrypCade in the DApp market. There are game providers (i.e. other DApps or casinos) that either don’t give the user a hash for every bet round at all, or, if they do, they show it to the user AFTER the bet has been placed. By not showing the hash before the bet has been placed, the house is able to change the lucky number to one that favors the house, thus influencing one’s bets results. Consequently, the provably fair system of said game providers cannot be considered as provably fair anymore because their Hashes could be pre-generated for every lucky number and given to the player afterwards. In this case, one must trust their method of generating lucky numbers on their servers and they could strategically manipulate bet results, since one cannot get an idea of what one’s bet hash should have been.
CrypCade is not able to manipulate any bet results because we don’t know which kind of bet the user will place, while the bet result is characterized by the unique bet hash. Changing the prediction won’t give the algorithm the ability to change a result. Nobody (not even CrypCade!) knows, which Lucky number leads to a win of one’s bet and which leads to a loss. Therefore, it only lays in our interest to give you the best possible Random Number Generator (RNG).
By using this approach, trust becomes obsolete.
You are able check every bet result. (Don’t trust blindly, check!)