Logo Moneypot
Bet #40382008
General
User CryptoCoins
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.58 litebits
Placed
Profits
User Profit -0.58 litebits
Investor Profit 0.5784994260 litebits
App Profit 0.0015005740 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.03%
Total Expected Value -0.60022962 litebits
Provably Fair
Client Seed 1165756207
Server Secret cf70cbdcef11d2b9cd19c679a4ec1feb5657f22b1381746204a947bcb1f056ca
Server Salt 5bb6fde315867e23dfa17eb622090076febf93b31eb91df38903a0c5100df5f3
Server Hash 213f2fc0ba9a28d9f491c303d89afc3bf7c6713a9898f5923b7909c39234704b
Raw Outcome 3197122283
Method SHA-256
Payouts
From To Value Probability Expected Value
3435977272 4294967295 2.87 litebits 19.9999% 0.57419770
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);