Logo Moneypot
Bet #34065275
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 1.00 litebits
Placed
Profits
User Profit -1.00 litebits
Investor Profit 0.9974999474 litebits
App Profit 0.0025000526 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -1.00002106 litebits
Provably Fair
Client Seed 527828077
Server Secret 1de4207cef72e988ab07a717620f782aba65829fb15cbd50dcd2ff672898ddcf
Server Salt 652dcd238f57b2a70d02bc36795c82414fe86820d47927a99d5ae31b630f1566
Server Hash 41ee3ec92ee635de4ef2631041d847c2fa8affdf0d7ce56dc9f481b6f1d97cab
Raw Outcome 2297197597
Method SHA-256
Payouts
From To Value Probability Expected Value
557749306 1570134239 2.10 litebits 23.5714% 0.49499989
3282582363 4294967296 2.10 litebits 23.5714% 0.49499989
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);