Logo Moneypot
Bet #1266407761
General
User adventure92
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.12 litebits
Placed
Profits
User Profit -0.12 litebits
Investor Profit 0.1195195675 litebits
App Profit 0.0004804325 litebits
MoneyPot Profit 0.0002402163 litebits
House Edge 1.00%
Total Expected Value -0.12010814 litebits
Provably Fair
Client Seed 3027529064
Server Secret ad5caf541e0f36e6d8d6be82b1031548de596c0d74d914edacc0b749ef5900ff
Server Salt f7bd296b0f28bac2c7ac2eeaa6f0e5ca543896d62f33b9ae43db910eb59efd96
Server Hash 197203c19d0802f9f6cacb7b0eb5b1580d7631fbcff733411f8d488ad3e822bd
Raw Outcome 1279612513
Method SHA-256
Payouts
From To Value Probability Expected Value
3869769403 4294967295 1.20 litebits 9.8999% 0.11879892
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);