Logo Moneypot
Bet #1266407754
General
User adventure92
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.59 litebits
Placed
Profits
User Profit -0.59 litebits
Investor Profit 0.5876402334 litebits
App Profit 0.0023597666 litebits
MoneyPot Profit 0.0011798833 litebits
House Edge 1.00%
Total Expected Value -0.58994166 litebits
Provably Fair
Client Seed 340816607
Server Secret c555dfecfb5f3bd3aedb7dd06c7fd0cdd8547746b35ac38abc39250886bc42a3
Server Salt 0ef3f84bcd57dbb980022b433da70476c77bd7a771502257259c2d1d9c55e984
Server Hash e46a69d24a91d95d99ea48e7054c4c2e2398727b687e43831222923bfa43c54c
Raw Outcome 2411279007
Method SHA-256
Payouts
From To Value Probability Expected Value
0 425202187 5.90 litebits 9.9000% 0.58410058
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);