Logo Moneypot
Bet #61634667
User vi3olero
App Bit-Exo
Kind Custom
Wager 671.85 flashbits
User Profit 1,007.77 flashbits
Investor Profit -1,009.4499537199 flashbits
App Profit 1.6799537199 flashbits
MoneyPot Profit 0.0000000000 flashbits
House Edge 1.00%
Total Expected Value -671.98148795 flashbits
Provably Fair
Client Seed 1649975594
Server Secret 4e931edb67a21efcf7e42a56998bb8ee5b2462bd0d977b4ef305dfaea34ad466
Server Salt efe1fee35b461fa756c17188d3c0feea86851f75b0af5452d0fe3559d3371164
Server Hash 7a6bf4cb35f236f327a2fee070be3f3970438049efa18f6336988d2a50a86a15
Raw Outcome 62429352
Method SHA-256
From To Value Probability Expected Value
0 1700808750 1,679.63 flashbits 39.6000% 665.13216512
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);