Provably Fair

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.

How do the games work?
The Ultimate Wheel and Magic Dice:

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
The Coin Toss game:

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
2023-03-30 0xf6b3807298bb237c27d02d51fa23c2b17cb5e018ac03396d0fbea22b8cfbde63
2023-03-30
0xf6b3807298bb237c27d02d51fa23c2b17cb5e018ac03396d0fbea22b8cfbde63
2023-03-29 0x3c4987ab77531ae00e9e1ae4c95cd20a0f45cdab3cf6531f5e0867edf335130c
2023-03-29
0x3c4987ab77531ae00e9e1ae4c95cd20a0f45cdab3cf6531f5e0867edf335130c
2023-03-28 0xe158c1c477069e53ba6203c24a6b1034dbf7ec79e2f1f33efc8dc8f822289202 0xff31e774199a651bd1e4c7f792e742f3c7f8ab224e266330b9c45bf8d4b72f55
2023-03-28
0xe158c1c477069e53ba6203c24a6b1034dbf7ec79e2f1f33efc8dc8f822289202
0xff31e774199a651bd1e4c7f792e742f3c7f8ab224e266330b9c45bf8d4b72f55
2023-03-27 0x313708dc67e46a4fe3abd16351f4eb951354fbd675f30b7b62cbed3c960ddab2 0xe89701d21d66149e97ce107600ae37b333021d05ca520cfb4721a3006084d9d4
2023-03-27
0x313708dc67e46a4fe3abd16351f4eb951354fbd675f30b7b62cbed3c960ddab2
0xe89701d21d66149e97ce107600ae37b333021d05ca520cfb4721a3006084d9d4
2023-03-26 0x5eb16fddf593a45c6963ffc84db148d85e05a4be48c9beb0b345bc82040f0d64 0xa296af606393b5362a13500041f87b76772822ce5ef5c65a207a303f99ce8b23
2023-03-26
0x5eb16fddf593a45c6963ffc84db148d85e05a4be48c9beb0b345bc82040f0d64
0xa296af606393b5362a13500041f87b76772822ce5ef5c65a207a303f99ce8b23
Lucky Draw game:

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).