Logo Moneypot
Bet #61634669
User vi3olero
App Bit-Exo
Kind Custom
Wager 64.00 flashbits
User Profit -64.00 flashbits
Investor Profit 63.8400158305 flashbits
App Profit 0.1599841695 flashbits
MoneyPot Profit 0.0000000000 flashbits
House Edge 1.00%
Total Expected Value -63.99366781 flashbits
Provably Fair
Client Seed 1649975594
Server Secret f476a5aa5791973ddfe0c46732e3255b2a1614fbc10f99b313db883312a832f3
Server Salt 3edebf25e960c860e83fed24031ab3bc58e86c09baa710064dc5f478176563be
Server Hash 0a6c5a1d4520c92d02185efeeba1482a215e6d1c5368509151f360915793e6b3
Raw Outcome 266410728
Method SHA-256
From To Value Probability Expected Value
339135252 2039944001 160.00 flashbits 39.6000% 63.36006332
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.

$outcome = intval(substr(hash('sha256', $serverSeed . $clientSeed), 0, 8), 16);

Javascript (cryptocoinjs / sha256)

var output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);