Logo Moneypot
Bet #34139624
General
User tripleseven
App Bit-Exo
Kind Custom
Coin LTC
Wager 4.42 litebits
Placed
Profits
User Profit 4.42 litebits
Investor Profit -4.4310511163 litebits
App Profit 0.0110511163 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -4.42044654 litebits
Provably Fair
Client Seed 3868621186
Server Secret 0b90c9a7d95f533375d740aa1d91cdcffff72b2812006b522ebea4282659ae1d
Server Salt a550dc6d237e198fab30af7c70204112cdf7cf8b76a7acbd64920592ec02d8e4
Server Hash c5aeb248f6b8536490576addcb515e77341852fe04b09301d30bd54b0643b339
Raw Outcome 2503005728
Method SHA-256
Payouts
From To Value Probability Expected Value
2168960653 4294967295 8.84 litebits 49.4999% 4.37579553
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);