Logo Moneypot
Bet #34139613
General
User tripleseven
App Bit-Exo
Kind Custom
Coin LTC
Wager 7.11 litebits
Placed
Profits
User Profit -7.11 litebits
Investor Profit 7.0922232043 litebits
App Profit 0.0177767957 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -7.11071830 litebits
Provably Fair
Client Seed 1930545439
Server Secret 69567c04de3acf726bc08edb620827d4255a9cb0b2ba3408451958faa7120503
Server Salt c944dadeef7ce84cf9cc5a5d7d08cfae61e4d96f73a36ffe1bf9fb3d3db3b30b
Server Hash 8591b3bfd867f5b10fd70f7d1dee204f804a561f1c0174ac30fb2c8573cbe444
Raw Outcome 1122145227
Method SHA-256
Payouts
From To Value Probability Expected Value
2168960653 4294967295 14.22 litebits 49.4999% 7.03889282
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);