Logo Moneypot
Bet #58827626
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 2.40 garlicbits
Placed
Profits
User Profit -2.40 garlicbits
Investor Profit 2.3927630926 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 745368242
Server Secret 3bc5abff0842d5f72d0d2056c12a7d745108852110b3a300e270c2c69afe4bb0
Server Salt 36eb302e8e4b0e1e2dcafdc34608918abbaddb211daf4f467772332143d4e529
Server Hash 25bdd9d25d572b6b5f6a8eebba4ed688f52ef678fdf2b461af03d76e8cc66df3
Raw Outcome 1693175434
Method SHA-256
Payouts
From To Value Probability Expected Value
2168956358 4294967295 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);