Pots of Ether provably fair system

Mike
2 min readJun 20, 2018

Provably systems are a must, especially in crypto currency gambling. This system assures the user that nothing unfair happens while placing a bet and the chances of winning depends on pure luck.

I am the owner and the web developer of potsofether.com and i will explain the provably system we have in place right now.
At the beginning of every round, the server generates a server_secret string which is then hashed using the sha256 algorithm and revealed to the user.
At the end of the round, the server will reveal the unhashed server_secret string so users can verify that the winner was picked as intended and nothing unfair happened in the middle of the process. Each user that entered the round receives a sum of tickets based on their entry amount, the winning ticket is chosen by multiplying the total number of tickets with a random percentage (eg. 23.70%) and then divided by 100.

How’s the random percentage chosen and when does the provably fair system come to play, you may ask yourself. Well, the random percentage is picked up by converting from hexadecimal to decimal the first 5 characters of the hashed (unhashed server secret + total number of tickets) % (10000) / 100. The round hashes can be verified using the on-site round verifier or using an external script like this one https://jsfiddle.net/nfjzL869/

Have fun gambling and dont forget to gamble responsibly!

--

--