Logo Moneypot
Bet #34065277
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 2.00 litebits
Placed
Profits
User Profit 2.20 litebits
Investor Profit -2.2050001053 litebits
App Profit 0.0050001053 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -2.00004212 litebits
Provably Fair
Client Seed 527828077
Server Secret 64911b6050039822b0b3a89cb9e8486beec4adc67fee220bd269c1b04c520a04
Server Salt 4f1682933911b986844155bf5f1b1f7a34f2422500950fd7ee2990ca8e51fbcf
Server Hash 76f1f3e70b1d45b13688bc3c5d370ba9f4318f3b7cb7d0e38695e23134de2ffc
Raw Outcome 3383392898
Method SHA-256
Payouts
From To Value Probability Expected Value
557749306 1570134239 4.20 litebits 23.5714% 0.98999979
3282582363 4294967296 4.20 litebits 23.5714% 0.98999979
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);