Logo Moneypot
Bet #34139623
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 2.00 litebits
Placed
Profits
User Profit 2.20 litebits
Investor Profit -2.2049990553 litebits
App Profit 0.0049990553 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -1.99962211 litebits
Provably Fair
Client Seed 527828077
Server Secret d55795dbc36293ecf8546ea53965beb9f8a0af7c2ce3f2f467f0cf150056a6fa
Server Salt ec7334aad8882b59b66316ffb6049727bd7e4b0d978495854ce2d385d4536e1d
Server Hash 9ddb3d5bc08fff2700038a8262f70f85acabbc3ae7b305f8955a5e6952aa7e31
Raw Outcome 2116219786
Method SHA-256
Payouts
From To Value Probability Expected Value
1777134690 2789523918 4.20 litebits 23.5715% 0.99000399
3282582363 4294967296 4.20 litebits 23.5714% 0.98999979
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);