Logo Moneypot
Bet #34139590
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 1.00 litebits
Placed
Profits
User Profit -1.00 litebits
Investor Profit 0.9975004725 litebits
App Profit 0.0024995275 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -0.99981101 litebits
Provably Fair
Client Seed 527828077
Server Secret 7688e5515123e49804d1f6f9e7d6d834a7975b1ec674e88ca0bc720c0df5a22a
Server Salt 3ef33a360dfa9d0f54d997bbb251b6ed7935d868cde7bb90447bea1a080a356c
Server Hash 23dddc7e429a7d1457c9ef631628dc68183c3cbe2bf34f52586a3c6a2f3af035
Raw Outcome 2919520090
Method SHA-256
Payouts
From To Value Probability Expected Value
678888979 1691273913 2.10 litebits 23.5714% 0.49499990
1691273913 2703663141 2.10 litebits 23.5715% 0.49500199
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);