Logo Moneypot
Bet #1246640337
User vuiltje
App Bit-Exo
Kind Custom
Coin BTC
Wager 96.32 bits
User Profit 98.24 bits
Investor Profit -98.6264972963 bits
App Profit 0.3864972963 bits
MoneyPot Profit 0.1932486482 bits
House Edge 1.00%
Total Expected Value -96.62432408 bits
Provably Fair
Client Seed 3670081749
Server Secret 1b1c6944ee9ca463fe2b7a7c3d66410a0bc63f8bd6788260439f165d8d20a6dd
Server Salt eb8119eeaba299f1a513970d09217771a5dcc9543f59807b920cfefd311c96e7
Server Hash 0e088956648769061e362771918ef56b53e4276d7110e38acdd457910496bf0d
Raw Outcome 2070955320
Method SHA-256
From To Value Probability Expected Value
0 2104961281 194.57 bits 49.0099% 95.35689340
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);