Logo Moneypot
Bet #34016405
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.75 litebits
Placed
Profits
User Profit 1.50 litebits
Investor Profit -1.5018748145 litebits
App Profit 0.0018748145 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -0.74992580 litebits
Provably Fair
Client Seed 3220282509
Server Secret 4c65780fdd34590f4c84d2a324628d4625bc84bbe6adce94fee1348bcf7c2357
Server Salt 333e2084f7a41adc1bb653f08dc7e6a65b729c69de018172ae2ce33cb3dd896a
Server Hash 1e1d2b144ac00af0424d794daa72d05eabd18e7fe6ec198a167b85dd30989bed
Raw Outcome 1957328378
Method SHA-256
Payouts
From To Value Probability Expected Value
0 708670312 2.25 litebits 16.5000% 0.37125037
1680033972 2388704284 2.25 litebits 16.5000% 0.37125037
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);