Logo Moneypot
Bet #34065272
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.25 litebits
Placed
Profits
User Profit -0.25 litebits
Investor Profit 0.2487857012 litebits
App Profit 0.0012142988 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.94%
Total Expected Value -0.48571950 litebits
Provably Fair
Client Seed 527828077
Server Secret 7a1b67a1bc0f805ae2ac007f53f8811c0ff087d554f2d41b6153289c27cd20e9
Server Salt d282c724bc1704211e7a1bb65bd0b4bd477d44e376e231f048579cd024e29967
Server Hash 7a7800c4bfee0a9439793c7fa695dc5b9c0ca792e7f8117534693f2493909a7c
Raw Outcome 2801198739
Method SHA-256
Payouts
From To Value Probability Expected Value
557749306 1570134239 0.53 litebits 23.5714% 0.12374997
3282582363 4294967296 0.53 litebits 23.5714% 0.12374997
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);