Logo Moneypot
Bet #34139627
General
User tripleseven
App Bit-Exo
Kind Custom
Coin LTC
Wager 5.06 litebits
Placed
Profits
User Profit -5.06 litebits
Investor Profit 5.0473487220 litebits
App Profit 0.0126512780 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -5.06051119 litebits
Provably Fair
Client Seed 3148182550
Server Secret b2b99630d7dab09b29fe20ee6e57d2ecb105f1e75a43bb61ca9eaeaf81bd0d5e
Server Salt ffc466f68bf09baac2f1992bdbf6a7146ce24485d6a28258ce48814648718857
Server Hash a4b726f8b5e05523f790eb366f9f992bdb993ebef02df5d688c67775524ab4e9
Raw Outcome 1193014402
Method SHA-256
Payouts
From To Value Probability Expected Value
2168960653 4294967295 10.12 litebits 49.4999% 5.00939489
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);