Logo Moneypot
Bet #363650
User shogunroller
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin BTC
Wager 2,048.00 bits
User Profit -2,048.00 bits
Investor Profit 2,040.6271999359 bits
App Profit 7.3728000641 bits
MoneyPot Profit 3.6864000320 bits
House Edge 0.90%
Total Expected Value -1,843.20001602 bits
Provably Fair
Client Seed 3620641564
Server Secret a9274532a02845449b7222f4744f381d64e32c5e2907ad42a514a5541e9b6ad0
Server Salt 0e0ee84de5ccbe5dc12724eccafb009f27bd935330156ecd9646dc1b2d11849a
Server Hash 4b04931942bdd551356ae288712fc1f84a1b69fa4ac5b6d418905f94515c2ad8
Raw Outcome 1525582370
Method SHA-256
From To Value Probability Expected Value
2166811001 4294967296 4,096.00 bits 49.5500% 2,029.56799984
Provably Fair Outcome

MoneyPot uses a Provably Fair algorithm that calculates raw outcomes from generated SHA-256 hashes. The Bet Hash is generated from the resulting hash of two unique hashes, the Server Seed and the Server Salt. The Server Seed and the Server Salt are both unique 64 character strings.

The Raw Outcome is based on a combination of the Server Seed and the Client Seed. After both are hashed together with SHA-256, we trim the resulting hash of the two to the first eight characters and then converted to an integer using Base16.

$outcome = intval(substr(hash('sha256', $serverSeed . $clientSeed), 0, 8), 16);

Javascript (cryptocoinjs / sha256)

var output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);