Logo Moneypot
Bet #1266407756
General
User adventure92
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.11 litebits
Placed
Profits
User Profit -0.11 litebits
Investor Profit 0.1095596035 litebits
App Profit 0.0004403965 litebits
MoneyPot Profit 0.0002201982 litebits
House Edge 1.00%
Total Expected Value -0.11009912 litebits
Provably Fair
Client Seed 1079990910
Server Secret cde45e4d5cf3ae3ccc24cfc10420d911faeddd4c0fe80f4edf62e42417c210b2
Server Salt ea0904542a614d75bdfdc44b0e663e08e33a902c07ee51f0f2b33be48ba0367b
Server Hash cd180fe12453587b7e8adeb594b03a528f5abd50f7f15c0d5c15a5b7d9f7d320
Raw Outcome 490395807
Method SHA-256
Payouts
From To Value Probability Expected Value
3869769403 4294967295 1.10 litebits 9.8999% 0.10889901
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);