Logo Moneypot
Bet #61634698
General
User vi3olero
App Bit-Exo
Kind Custom
Coin FLASH
Wager 671.85 flashbits
Placed
Profits
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 aaaf7840e04493dacccf00dbe63a8b41dc8488a501e134680629d439fa8dd5a2
Server Salt 2069b401c4256aa9b81f78310d8e237c4654802bfcdd10a04a2565d9a95143f8
Server Hash 99bd3b1972a4c20462df4ff3ed573e2474b14ed3a9befe316683d86e06d38e69
Raw Outcome 1357116446
Method SHA-256
Payouts
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.

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);