Logo Moneypot
Bet #58827625
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 1.20 garlicbits
Placed
Profits
User Profit -1.20 garlicbits
Investor Profit 1.1957627957 garlicbits
App Profit 0.0042372043 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.41%
Total Expected Value -1.69488172 garlicbits
Provably Fair
Client Seed 545403947
Server Secret 330ae36dd7be75529a1e6196df6d250542ff9224556e6b1f7aa26b985b959e8b
Server Salt b3bb1bde7784738f2a17e8a3d4af578cdec9cae5def8c2dabeb01933c3dcbb47
Server Hash 70191381895155c63b19f317ac3f66b5a93c53ba33c026592eb002282963d304
Raw Outcome 3565458429
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 2.40 garlicbits 49.5000% 1.18800119
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);