Logo Moneypot
Bet #28909105
General
User exohkayeang
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 20,000,000.00 garlicbits
Placed
Profits
User Profit 29,560,000.00 garlicbits
Investor Profit -29,665,600.0027689971 garlicbits
App Profit 70,400.0018462540 garlicbits
MoneyPot Profit 35,200.0009231270 garlicbits
House Edge 0.88%
Total Expected Value -17,600,000.46156400 garlicbits
Provably Fair
Client Seed 1001367202
Server Secret aa085a86f2e0d9b9eb0caaf7c7d2bc2ca6c7a5284f29b621e40f253eb4030fd9
Server Salt 2ef13cb9ea5cd83f70afd35101d188a2e70a4342bd82f1329c38ea69a1ea7013
Server Hash 096136789b23ba81c04f0bd6cf03ebc153f941cdd78ca26cdac292488939414b
Raw Outcome 3821581565
Method SHA-256
Payouts
From To Value Probability Expected Value
2576980378 4294967296 49,560,000.00 garlicbits 40.0000% 19,823,999.99538437
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);