MoneyPot is closing.
Logo Moneypot
Bet #66490468
User guitarguy94
Kind Simple_dice
Wager 100,000,000.00 garlicbits
User Profit 100,000,000.00 garlicbits
Investor Profit -100,225,000.0019599944 garlicbits
App Profit 225,000.0019557800 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.90%
Total Expected Value -90,000,000.78230999 garlicbits
Provably Fair
Client Seed 1074508676
Server Secret 08a5d2941ae49d38495d5510065ae98d8742b6931dd6ae89bcd6b8f9c859403d
Server Salt 58c26d8c1f5a197ab2825d95b68e82ef200ec652904cc7aafb641d8f59fa314e
Server Hash 58e0271d022139d2902d7a8a6ba0e8d6b63a6c616718dfae3bb7a1d51712ea49
Raw Outcome 1596243534
Method SHA-256
From To Value Probability Expected Value
0 2128156295 200,000,000.00 garlicbits 49.5500% 99,099,999.99217689
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);