Logo Moneypot
Bet #61585786
User naranjomarkos
App Bit-Exo
Kind Custom
Wager 0.04 garlicbits
User Profit -0.04 garlicbits
Investor Profit 0.0393098943 garlicbits
App Profit 0.0006901057 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 6.90%
Total Expected Value -0.27604228 garlicbits
Provably Fair
Client Seed 3504051585
Server Secret 23e5abe834ee88f4f3465b350d5f7806d5b1d6df6fc6c61eedd11d8ae358e570
Server Salt 2a43de182be40abf3db99074aa2026fcbd9fbae4ad902016802fc0cc90e2d3af
Server Hash ac71c99ed2bc56a6641c1c577e19a597676e9dedfa548c22681707f7200af20b
Raw Outcome 2174942186
Method SHA-256
From To Value Probability Expected Value
3064638323 4294967295 0.14 garlicbits 28.6458% 0.03959999
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);