Our games are provably fair and perpetuated by the blockchain. You can calculate the winning result for any block backwards, but you cannot know the outcomes for the future. The spinning wheel and the dice on our website are only a graphical representation of the result, that is actually calculated from the Chia blockchain block header hash and a secret plaintext, set in advance and valid 24h.
For the coin game, we calculate the result using your coin name and our secret plaintext.
A single game lasts 5 blocks of the Chia blockchain. We gather all bets made in each 5 blocks (transactions confirmed in blocks ending in 1 to 5 and blocks ending in 6 to 0). The result of the bets is than calculated from header hashes of blocks ending in 5 and in 0.
Example: you send your bet in XCH to our receive address and see the following in your Chia wallet:
Your transaction is confirmed in block 1,504,884, so we include it in the game of blocks from 1,504,881 to 1,504,885. The result for this block will be calculated from the header hash of block 1,504,885 and a secret plaintext generated in advance. Nobody can predict the outcome or change it.
In rare cases, where the blocks of the blockchain rearange themselves after we fist see the transaction (called the Foliage), the correct transaction block is the one where we first observed the transaction.
Here is how the result is calculated:
HMAC(algorithm=SHA256, data=header_hash, key=secret_plaintext). We take first 12 digits of the outcome, calculate it from hexadecimal to decimal and then:
For the Ultimate Wheel: We divide this number by 21 and then multiply the decimal part with 21.
We always add +1 to the result, to avoid 0.
For the Magic Dice: We divide this number by 6 and then multiply the decimal part with 6.
We always add +1 to the result, to avoid 0.
The table of winnings for each game is below:
Field number WHEEL | Multiplier |
---|---|
1 | 4 |
2 | 0 |
3 | 1.5 |
4 | 2 |
5 | 0 |
6 | 1.5 |
7 | 1.5 |
8 | 0 |
9 | 2 |
10 | 2 |
11 | 0 |
12 | 1 |
13 | 0.5 |
14 | 0.5 |
15 | 0 |
16 | 0.5 |
17 | 0 |
18 | 2 |
19 | 0 |
20 | 0.5 |
21 | 0 |
Field number DICE | Game | Multiplier |
---|---|---|
1 | Bet on Odd | 1.93 |
Bet on 1 and 2 | 2.75 | |
Bet on 1 | 5.55 | |
2 | Bet on Even | 1.93 |
Bet on 1 and 2 | 2.75 | |
Bet on 2 | 5.55 | |
3 | Bet on Odd | 1.93 |
Bet on 3 and 4 | 2.75 | |
Bet on 3 | 5.55 | |
4 | Bet on Even | 1.93 |
Bet on 3 and 4 | 2.75 | |
Bet on 4 | 5.55 | |
5 | Bet on Odd | 1.93 |
Bet on 5 and 6 | 2.75 | |
Bet on 5 | 5.55 | |
6 | Bet on Even | 1.93 |
Bet on 5 and 6 | 2.75 | |
Bet on 6 | 5.55 |
Formula to get the random winner:
HMAC(algorithm=SHA256, data=coin_name, key=secret_plaintext). We take first 12 digits of the outcome, calculate it from hexadecimal to decimal. If the number is divisable by 2 (even number), you win, if the number is odd, we win.
Here are the hashes for secret plaintexts by day. The secret plaintext will be released every day at midnight CET and you can check it against the hash using SHA256(secret_plaintext).
Date | Secret Plaintext | Secret Hash | Date / Secret Plaintext / Secret Hash |
---|---|---|---|
2025-02-10 | 0xbda39c225402c482e34297113cd6fe1cd41085e34d9d156f29ff83d86dff72d8 |
2025-02-10
0xbda39c225402c482e34297113cd6fe1cd41085e34d9d156f29ff83d86dff72d8
|
|
2025-02-09 | 0x0034e105556cb858da015ab1d730242cf76754b40d4b7d26bae8a7aa37e3588a |
2025-02-09
0x0034e105556cb858da015ab1d730242cf76754b40d4b7d26bae8a7aa37e3588a
|
|
2025-02-08 | 0x5e4ddaa45fceb6563e7dbd0fe1365fa3dc3b8c8d8400bcf8893356e45643babd | 0x80b0d2d167f2251a8c04b707a55e678994061e17d9f6dc31d4f866f633a27b6a |
2025-02-08
0x5e4ddaa45fceb6563e7dbd0fe1365fa3dc3b8c8d8400bcf8893356e45643babd
0x80b0d2d167f2251a8c04b707a55e678994061e17d9f6dc31d4f866f633a27b6a
|
2025-02-07 | 0x4af71ce1d81b019e291aed972e64d06fc80b320b28557cfa726043e6aff766bf | 0x18cdd5b3bd605fdfdd03bf43156e96d61029ae8e749f354a5d55c6b0a46de328 |
2025-02-07
0x4af71ce1d81b019e291aed972e64d06fc80b320b28557cfa726043e6aff766bf
0x18cdd5b3bd605fdfdd03bf43156e96d61029ae8e749f354a5d55c6b0a46de328
|
2025-02-06 | 0xd0259a8007d038636624de8471663d402b6bff741e6a75f4e6c419fbfa6fb850 | 0x9f52e555255a69f1a13e5f312711baee9ec68967f23dda89f0c9391a7cd8b135 |
2025-02-06
0xd0259a8007d038636624de8471663d402b6bff741e6a75f4e6c419fbfa6fb850
0x9f52e555255a69f1a13e5f312711baee9ec68967f23dda89f0c9391a7cd8b135
|
Each ticket is calculated into a numeric value. The prizes are than given out in a descending manner (highest number wins). The formula to get the value for each ticket is:
HMAC(algorithm=SHA256, data=coin_name, key=block_header_hash). We take first 12 digits of the outcome, calculate it from hexadecimal to decimal. If an user purchases multiple tickets, the data field in calculation is created from coin name and addition of a -$number. For example, first ticket is coin_name-1, second coin_name-2 and so on. The block_header_hash is taken from first block ending in 10 after the pay-in round is closed (for example, block 2,000,010).