Provably Fair
Every BC Originals result can be checked with the server seed, the client seed and the nonce. Pick a game to see how its result is calculated.
Roulette Multiplayer
ValidateWhat is a roulette?
Roulette is a common quiz game with a total of 37 numbers, including numbers 1 to 36 and 0; The numbers on the wheel are spaced in red and black, but the numbers are not in order.
How does the roulette work?
There is a preparation time of 10s before the start of each game. After the game starts, the wheel will rotate at high speed and stop slowly. The final position of the pointer is the result of the game.
How should I play?
Side: 1-18, 19-36: The bet number can be in the upper half (small) or the lower half (large), and the odds are 1:2.
Number 0: Betting number 0, odds 1:36.
Game fairness?
The game is based on a hash hash ( https://dwz.cn/5f5VdLtp ). The designer generated a chain of hashes in advance (generating chain verifiable), and each hash corresponds to a roulette result.The game releases the hashes in reverse to correspond to each draw in the game.In other words, the number of roulette results for each issue of the game has long existed.
The result is calculated from HMAC_SHA256 with the hash (decoded from hexadecimal into bytes) as the message and a salt as the key. The salt is the hash of Bitcoin block 790,100 (0000000000000000000301e2801a9a9598bfb114e574a91a887f2132f33047e6), which had not been mined when the chain was published.
How to verify fairness?
The SHA256 of the hash from the game 23654 is:
33d8be75c9f6cb219a1763e77e307ac0a1107c85bd9fee53e81be0ec592ff4c5
The final hash of the game is SHA256:
5bf9a3fae704667be2d3704ea8b6e703796defaa5f328e1a8d46b3a0fa12269f
You can verify the SHA256 of the hash corresponding to any lottery period!
Verify address: http://www.ttmd5.com/hash.php?type=9
Verification result algorithm:
To generate a random number between 0 and 36, we take the first 3 characters of the salted hash (the HMAC_SHA256 output) and convert them to a decimal number from 0 to 4095 (16^3 - 1). If it is less than 3700, we divide it by 100 and round it down to use as a roulette result. Otherwise, we use the next 3 characters. We are able to repeat this process up to 21 times (characters 1 to 63).
In very rare cases, none of the 21 values is below 3700, and we convert the last character of the salted hash to a decimal number as the game result.
For example: 5bf9a3fae704667be2d3704ea8b6e703796defaa5f328e1a8d46b3a0fa12269f The salted hash is f1495bb4feac28990d1ed716f6eb844ae1d666c0a4c295c1c16a4748c3a9312e. The first 3 characters f14 convert to decimal 3860, which is not less than 3700, so we take the next 3 characters 95b, equal to 2395. 2395/100=23.95, after rounding down, the game result is 23.