Logo Moneypot
Bet #61653769
General
User tripleseven
App Bit-Exo
Kind Custom
Coin BTC
Wager 1.50 bits
Placed
Profits
User Profit -1.50 bits
Investor Profit 1.4962503712 bits
App Profit 0.0037496288 bits
MoneyPot Profit 0.0000000000 bits
House Edge 1.00%
Total Expected Value -1.49985154 bits
Provably Fair
Client Seed 3166792264
Server Secret cb6170dc8ba4549e2fb00d8ee64b6e7c098587d6a5b304f7321b78a94857eda6
Server Salt c46c5a4eed493e686367eb1b67c2c9d975df5c2384fc267a3d907655a9d76c6a
Server Hash 8fa4b05eca39c8976fef0b2012c684a0928090ae8546a15d3e08c947b904c2b3
Raw Outcome 2417270556
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 3.00 bits 49.5000% 1.48500148
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.

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

Javascript (cryptocoinjs / sha256)

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