Logo Moneypot
Bet #1246640350
General
User vuiltje
App Bit-Exo
Kind Custom
Coin BTC
Wager 24.22 bits
Placed
Profits
User Profit 24.70 bits
Investor Profit -24.7977331812 bits
App Profit 0.0977331812 bits
MoneyPot Profit 0.0488665906 bits
House Edge 1.01%
Total Expected Value -24.43329530 bits
Provably Fair
Client Seed 4014414918
Server Secret ecc891ea5f11af07b0e062eca4add4fe1ba1a938af0b93a71195851248340f50
Server Salt 17904703e74de73ac7ed67659a317aa8758915629f60a183af17a83cc0f89e5c
Server Hash 09a105ab0272020772103c0006e2087a5f1b5e1867788ef6a4a1afc744f524f3
Raw Outcome 2663981378
Method SHA-256
Payouts
From To Value Probability Expected Value
2190006014 4294967295 48.92 bits 49.0099% 23.97782348
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);