Logo Moneypot
Bet #34139599
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 16.00 litebits
Placed
Profits
User Profit 17.60 litebits
Investor Profit -17.6399924403 litebits
App Profit 0.0399924403 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -15.99697612 litebits
Provably Fair
Client Seed 527828077
Server Secret 310dea5301b90a1713b0fcc381e3146fb4e561dd949ba4d96448f9ace2d8d0c4
Server Salt 95271dea8e68ddfeef2047c35612e37ab66bf9a7f318dbbe01ae4ba849d13f19
Server Hash 5808af0c63920887fa9b2cdba0c6403b6ce61138bdfab79fde9d664d3b5d3a03
Raw Outcome 1010895383
Method SHA-256
Payouts
From To Value Probability Expected Value
678888979 1691273913 33.60 litebits 23.5714% 7.91999832
1691273913 2703663141 33.60 litebits 23.5715% 7.92003192
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);