Logo Moneypot
Bet #1246640345
User vuiltje
App Bit-Exo
Kind Custom
Coin BTC
Wager 24.21 bits
User Profit -24.21 bits
Investor Profit 24.1123460229 bits
App Profit 0.0976539771 bits
MoneyPot Profit 0.0488269886 bits
House Edge 1.01%
Total Expected Value -24.41349428 bits
Provably Fair
Client Seed 2736069299
Server Secret f46f0e7fad1edcd16343b0876906fa22a52e8af8cfcb5a38dcf7760ce0aea09a
Server Salt 61f3b565af8708b5f28e875e7850bd18e7818e9c7095bacc9ff18e152e502acf
Server Hash b76375f3948b1e306997e1dcad2c36305b52b2e6d074ad4227f6b3ffe6f67b9c
Raw Outcome 1054017952
Method SHA-256
From To Value Probability Expected Value
2190006014 4294967295 48.90 bits 49.0099% 23.96792348
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);