Logo Moneypot
Bet #3581890
General
User houseworxx
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.01 litebits
Placed
Profits
User Profit 0.00 litebits
Investor Profit -0.0000399960 litebits
App Profit 0.0000399960 litebits
MoneyPot Profit 0.0000199980 litebits
House Edge 1.00%
Total Expected Value -0.00999901 litebits
Provably Fair
Client Seed 1467145171
Server Secret 5cd3213f79a9d9e03d0d421373b48689fd5ebe8694c335750b7aae60899a6ab7
Server Salt c9506b207e5b13d21a2d4b206b9f5d8ae286d7b49eef032d1d71e2fe4d4d32fc
Server Hash e2f72fa95fa2f01a4485f6f8d156e9abd1f134554d4969483d5267f25c7a4426
Raw Outcome 2843269467
Method SHA-256
Payouts
From To Value Probability Expected Value
0 4252021874 0.01 litebits 99.0001% 0.00990001
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);