Logo Moneypot
Bet #58827630
User marti997
App Bit-Exo
Kind Custom
Wager 19.20 garlicbits
User Profit -19.20 garlicbits
Investor Profit 19.1507672496 garlicbits
App Profit 0.0492327504 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.03%
Total Expected Value -19.69310017 garlicbits
Provably Fair
Client Seed 3630957022
Server Secret fcb1c2c6523c54e2642b17519e5fcaed9adbed5ffdf0f988551148658e828831
Server Salt ac62b626df00c9b32928d2004ddfa2f97792d4e6a370b86d40685cc747199473
Server Hash 05bb79fc58001d3b978e99d42f011aaae80e51e4e5e65cc1cf1c0d89eb057298
Raw Outcome 738412083
Method SHA-256
From To Value Probability Expected Value
2168956358 4294967295 38.40 garlicbits 49.5000% 19.00801900
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);