Logo Moneypot
Bet #34139630
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.50 litebits
Placed
Profits
User Profit 0.55 litebits
Investor Profit -0.5512497638 litebits
App Profit 0.0012497638 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -0.49990553 litebits
Provably Fair
Client Seed 527828077
Server Secret 6d1f863ca1bcf532a431e79c2604a82fe378c325fd19f4a40db2f5aa2ae3ece4
Server Salt ec092b61e50cb98bc32ec8e5c857c1e9d130f87d9dddfa876b53e2d8f816863f
Server Hash 9b604a322b1d71843d866075c98682a8d60a13ae7950cc70c62c98cb0d74fee3
Raw Outcome 4037163614
Method SHA-256
Payouts
From To Value Probability Expected Value
1777134690 2789523918 1.05 litebits 23.5715% 0.24750100
3282582363 4294967296 1.05 litebits 23.5714% 0.24749995
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);