Logo Moneypot
Bet #34139598
General
User tripleseven
App Bit-Exo
Kind Custom
Coin LTC
Wager 8.26 litebits
Placed
Profits
User Profit 8.26 litebits
Investor Profit -8.2806520862 litebits
App Profit 0.0206520862 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -8.26083448 litebits
Provably Fair
Client Seed 4086858003
Server Secret f08c60edf5fd3e6d931a9a55a3992fc66399942e5888326693e19218e5a66c41
Server Salt 3264149638d21f2b9a5c0b95fa789511cdcb884d2230d3971f2cb18827bf8b03
Server Hash 170c325bc39a0e714a5c7e4bfcf4668d9b37324f5ca8cdc0d52b3abc95b94ab8
Raw Outcome 3130098383
Method SHA-256
Payouts
From To Value Probability Expected Value
2168960653 4294967295 16.52 litebits 49.4999% 8.17739166
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);