Logo Moneypot
Bet #34139621
General
User tripleseven
App Bit-Exo
Kind Custom
Coin LTC
Wager 3.98 litebits
Placed
Profits
User Profit -3.98 litebits
Investor Profit 3.9700489948 litebits
App Profit 0.0099510052 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -3.98040208 litebits
Provably Fair
Client Seed 3064243861
Server Secret 02dabbcfe2e4a930475d0051cc6e7e8798c1e809fa3a6e2b590c12598ebb543e
Server Salt fdabea1074abe55e21973ca4aa93d8e45d3552fa012ea68e6353ace907797b84
Server Hash a240f9603383af3474d59bc459b44e63093a2a26998ac8a64d39e7d30e2ba2e0
Raw Outcome 253566100
Method SHA-256
Payouts
From To Value Probability Expected Value
2168960653 4294967295 7.96 litebits 49.4999% 3.94019598
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);