Logo Moneypot
Bet #58827623
User marti997
App Bit-Exo
Kind Custom
Wager 0.30 garlicbits
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 2285304907
Server Secret 7d6a3a6ada2dc7271c6f4406b5b5bdd55884b1796cad9c0b8075ccfa1fc725b9
Server Salt fd0b16c6c9f90bc180b921e581db37c39465dc101164d62dffb2b8518220d120
Server Hash e782eadb586579b0f67ff271282220f9b1375db4895871eefd42053c17a70da3
Raw Outcome 2366482946
Method SHA-256
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.

$outcome = intval(substr(hash('sha256', $serverSeed . $clientSeed), 0, 8), 16);

Javascript (cryptocoinjs / sha256)

var output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);