Logo Moneypot
Bet #58827619
User marti997
App Bit-Exo
Kind Custom
Wager 2.40 garlicbits
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 2458725151
Server Secret 0d3965e3a742813985b69f585f916ec74a27200ce6899dd8015dd02caa66b9ac
Server Salt 6d90518267166a19bd29ceb7d702a63237268e80912ff1c0081bf2f1314c3547
Server Hash 873f2503902a3a664a50cdba919f54bea824e7fc37ce25b7063328124330f61f
Raw Outcome 4271621290
Method SHA-256
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.

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

Javascript (cryptocoinjs / sha256)

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