Logo Moneypot
Bet #34139610
General
User tripleseven
App Bit-Exo
Kind Custom
Coin LTC
Wager 5.69 litebits
Placed
Profits
User Profit 5.69 litebits
Investor Profit -5.7042264371 litebits
App Profit 0.0142264371 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -5.69057484 litebits
Provably Fair
Client Seed 739421044
Server Secret 0aa649c4778e89099f9fb43111f1d8cdc4fdd7a87d5cd5faac614231f6880082
Server Salt 8de4c93bc638c4616d06ce8a3084c5f8eb93bc2c21db33c171c0192e3e4653bd
Server Hash 37b907a2245091c2c17e5927f7367b975fc9f0274748fb587ad5dc58bb133bab
Raw Outcome 3320480428
Method SHA-256
Payouts
From To Value Probability Expected Value
2168960653 4294967295 11.38 litebits 49.4999% 5.63309425
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);