Logo Moneypot
Bet #34016397
General
User timace1978
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.10 litebits
Placed
Profits
User Profit -0.10 litebits
Investor Profit 0.0997500248 litebits
App Profit 0.0002499752 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -0.09999009 litebits
Provably Fair
Client Seed 3220282509
Server Secret 4da28aeed7fb5a63fd5903fe431201e69b1dfe287c3d0aa047dc9984ac62690b
Server Salt df5083a831f8d22746aaa8c1b4db69f59456ff3a36aa1ec23590b785093a5b53
Server Hash f6ff71891d7ebe98c35facddf65528dbd00610569dcbef3f21eb5588e00da33a
Raw Outcome 1054852769
Method SHA-256
Payouts
From To Value Probability Expected Value
1143441696 1852112009 0.30 litebits 16.5000% 0.04950005
2374217345 3082887658 0.30 litebits 16.5000% 0.04950005
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);