Logo Moneypot
Bet #58827633
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 153.60 garlicbits
Placed
Profits
User Profit -153.60 garlicbits
Investor Profit 153.2148005053 garlicbits
App Profit 0.3851994947 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.00%
Total Expected Value -154.07979788 garlicbits
Provably Fair
Client Seed 3032140214
Server Secret a79b730934b5cf6fb0d90586b637e77f46926bbffd0bf96d5247249d6b1e5af6
Server Salt a33dc87945d7c50084a3e7d183104540ae0479f730db3ffdbd32216678a1fa3b
Server Hash 50491cd0a04bec31ad491645e3903fbd63999422f614678f48bb75d04cf02eae
Raw Outcome 3388562108
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 307.20 garlicbits 49.5000% 152.06415203
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);