Logo Moneypot
Bet #58827666
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 2.40 garlicbits
Placed
Profits
User Profit 2.39 garlicbits
Investor Profit -2.3972369074 garlicbits
App Profit 0.0072369074 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.21%
Total Expected Value -2.89476295 garlicbits
Provably Fair
Client Seed 1187778711
Server Secret aa0fb0c7c0e7cbd51f2080b5ca3f626c32949f02a909c2d8f60b5b1c0b00b96a
Server Salt 5f000be32d166e484bdc2b17318a250a7bc8890d12b8233cd3d16c1f1b94e89a
Server Hash 90e3dadb6630670137879c8cdaa8112f020e767598f0af8b8b5c8e76645348e4
Raw Outcome 920276687
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 4.80 garlicbits 49.5000% 2.37600238
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);