Logo Moneypot
Bet #34016399
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.10 litebits
Placed
Profits
User Profit 0.20 litebits
Investor Profit -0.2002499752 litebits
App Profit 0.0002499752 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -0.09999009 litebits
Provably Fair
Client Seed 3220282509
Server Secret 8c68c2d0243071bd1aeaf449bcbe73c3b445691eb0ad53b696e74c3155e87b38
Server Salt bf8c340bff43c464406aabfc4dc893f4b0705ac82dd6c3c2a0b24ec6b06b59a7
Server Hash f6c464160aee897b193650b2a8863d964eb28b0482cdb88ac8d3e0381e68f8a7
Raw Outcome 2430312680
Method SHA-256
Payouts
From To Value Probability Expected Value
1143441696 1852112009 0.30 litebits 16.5000% 0.04950005
2374217345 3082887658 0.30 litebits 16.5000% 0.04950005
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);