MoneyPot is closing.
Logo Moneypot
Bet #66490459
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 868673587
Server Secret 6d57ee7a120334a58409740ca5414207d06b8571fabea756cda7e3df96139479
Server Salt cc9f9c64d010848d87d7612a43a6d7714b61668ba4d33c5a7f6679f981656cb9
Server Hash 98d0a67228314b4531ff9a4bcd88a9ad795a1a67a8006eb380c45c6d8ec9839e
Raw Outcome 48971640
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);