MoneyPot is closing.
Logo Moneypot
Bet #66490456
User guitarguy94
Kind Simple_dice
Wager 10,000,000.00 garlicbits
User Profit -10,000,000.00 garlicbits
Investor Profit 9,977,499.9998043999 garlicbits
App Profit 22,500.0001955780 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.90%
Total Expected Value -9,000,000.07823110 garlicbits
Provably Fair
Client Seed 2084372265
Server Secret 2fe4f6261f8c9848474e233f891ee94d4a64e5313b9dcd649f2cdc91d09c7d05
Server Salt 3f4a9f6bbe7c3812c1f5742bb2cbbd48fac02cd6972cb96714511aa3bd7474ba
Server Hash b970eee6964257dd394261d299cdb3a368b6356ae1d1b8ffca3fe2030d4541dd
Raw Outcome 3371032559
Method SHA-256
From To Value Probability Expected Value
0 2128156295 20,000,000.00 garlicbits 49.5500% 9,909,999.99921769
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);