Logo Moneypot
Bet #1266407758
General
User adventure92
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.15 litebits
Placed
Profits
User Profit -0.15 litebits
Investor Profit 0.1493994593 litebits
App Profit 0.0006005407 litebits
MoneyPot Profit 0.0003002703 litebits
House Edge 1.00%
Total Expected Value -0.15013517 litebits
Provably Fair
Client Seed 120430410
Server Secret 14b288ad936b18f2b957f11cdcfe4c2168e11ecb78582170f0df2b6f6a43d80a
Server Salt 568befcbe8051b0533fb9c47f52fcb23a277af82359a894e4f72332ab4eef7fb
Server Hash 025631bc8128c2eb42f1e2d930c46f1a71fe1fcc2be0f2e63e63525e283fef69
Raw Outcome 134343489
Method SHA-256
Payouts
From To Value Probability Expected Value
3869769403 4294967295 1.50 litebits 9.8999% 0.14849865
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);