MoneyPot is closing.
Logo Moneypot
Bet #66490463
General
User guitarguy94
App Provably.io
Kind Simple_dice
Coin GRLC
Wager 100,000,000.00 garlicbits
Placed
Profits
User Profit -100,000,000.00 garlicbits
Investor Profit 99,774,999.9980439991 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 1427786268
Server Secret 2d1aa3c2b0d7fcd6f4aa08db541d06a838e76a03e3a51fab45e0e823f8714302
Server Salt d3ac909e6357ecde8990ea1998212cc7786acf629b0c9d4369c9e2d75666374d
Server Hash 5016c1825b30ed75c1559a1bc3fb57b2c515f631b8d1b8ac591ddf6a28733904
Raw Outcome 3653490556
Method SHA-256
Payouts
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.

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

Javascript (cryptocoinjs / sha256)

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