Logo Moneypot
Bet #34065283
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.50 litebits
Placed
Profits
User Profit 0.55 litebits
Investor Profit -0.5512500263 litebits
App Profit 0.0012500263 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -0.50001053 litebits
Provably Fair
Client Seed 527828077
Server Secret ae433b9500c4a8dab0d36b2e499795cad2e928db4bd83c87e04bc43226b99918
Server Salt 70253efc1aa21f97ce242d0d49a5c3a81ba5f23853ce64b1996ebd412e21a4b6
Server Hash dc41399c81b4ccdfd1913589b7355a9b7a7cd19f8beaab296632cae0d23cf8d9
Raw Outcome 855629609
Method SHA-256
Payouts
From To Value Probability Expected Value
557749306 1570134239 1.05 litebits 23.5714% 0.24749995
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);