Logo Moneypot
Bet #29494431
General
User TheBobHimself
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 400,000.00 garlicbits
Placed
Profits
User Profit -400,000.00 garlicbits
Investor Profit 397,840.0002215100 garlicbits
App Profit 1,439.9998523295 garlicbits
MoneyPot Profit 719.9999261648 garlicbits
House Edge 0.90%
Total Expected Value -359,999.96308237 garlicbits
Provably Fair
Client Seed 1460498788
Server Secret 68033a71507d06768bed406678850b84c062e49a2b20a81f5bc19f89f6f8ee5b
Server Salt d6be9890ed22eeeb8ef80f1a801c203084c75782277089924fd79f6655d4c0dc
Server Hash fa5e695e560a9b498d2da5954f697c6486c73404830fbfd80db8ca5da0c5f942
Raw Outcome 2592193735
Method SHA-256
Payouts
From To Value Probability Expected Value
0 42949673 39,640,000.00 garlicbits 1.0000% 396,400.00036918
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);