Provably Fair
To prove that the system is truely random and fair we utilize a provably fair system.
In this page you can find more informations on what you need and how you can calculate the winner with the hash given at the beginning of the round.
How to validate the fairness of a round?There are three elements that allow you to verify that a round was fair, they are:
The winner percentage
The winner percentage allows you to discover the winning ticket number.
To uncover the number the system uses the formula
floor( ( NumberOfTicket - 0.0000000001 ) * ( (WinnerPercentage / 100) ) ), where the floor function rounds a number downward to its nearest integer.
After doing the math you'll end up with a integer that contains the number of the winning ticket, from there you will only need to count the number of tickets, starting at the beginning of the round (being that we give 1 ticket per each 0.01฿ deposited) and you'll find the fair winner - please note the fair winner is zero based, so the first ticket starts on zero, and goes from there (in the example bellow we are already incrementing the ticket number for you).
The round secret
The round secret is generated at the beginning of the round but only shown at the end, and it's meant to encrpyt the winner percentage and allow you to verify the winning ticket via the round identifier.
The round hash
The round hash is an md5 string that is given at the beginning of the round, it is generated by joining the round secret with the winner percentage, separated by a "-", so a round hash is an md5 encrypted string of
"[roundSecret]-[winningPercentage]".
Check our Provably Fair page