Logo Moneypot
Bet #58761115
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 0.30 garlicbits
Placed
Profits
User Profit -0.30 garlicbits
Investor Profit 0.2980125730 garlicbits
App Profit 0.0019874270 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 2.65%
Total Expected Value -0.79497080 garlicbits
Provably Fair
Client Seed 2568240938
Server Secret f73ac8f7713f80f40982567b1f574f9a635246a9c8d0648b6be77f666264ad9a
Server Salt 89a9e49134d0d3952f4b70efdae4e7335ee57967ec0895d3f78dbb57f6b7c881
Server Hash 47ab9bb1c003d92d2f10682ee71ff0845ba16a836eeceac6e80c9e743d06f874
Raw Outcome 3997433415
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 0.60 garlicbits 49.5000% 0.29700030
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);