Logo Moneypot
Bet #34065278
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.25 litebits
Placed
Profits
User Profit 0.27 litebits
Investor Profit -0.2712142988 litebits
App Profit 0.0012142988 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.94%
Total Expected Value -0.48571950 litebits
Provably Fair
Client Seed 527828077
Server Secret 98f79211c6f5c07bf8cbae16b29121db2a32d8e5d798fcab037fe2e93060fd74
Server Salt 52b8c3fa89f9547d0ccc746887240c4f04b94dbc2edc318c99b0b00843a4780a
Server Hash 22ec4bc25d82f52afb64b5ee7e63ee86ac63c43ae4a6378f446b1df78d111655
Raw Outcome 773722611
Method SHA-256
Payouts
From To Value Probability Expected Value
557749306 1570134239 0.53 litebits 23.5714% 0.12374997
3282582363 4294967296 0.53 litebits 23.5714% 0.12374997
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);