Logo Moneypot
Bet #61584570
General
User Anubis
App Bit-Exo
Kind Custom
Coin DASH
Wager 5.12 dashbits
Placed
Profits
User Profit 5.12 dashbits
Investor Profit -5.1327987331 dashbits
App Profit 0.0127987331 dashbits
MoneyPot Profit 0.0000000000 dashbits
House Edge 1.00%
Total Expected Value -5.11949325 dashbits
Provably Fair
Client Seed 970594117
Server Secret 7be7a542538d1f72cf585c9f1e40d9867de929dfda57440ae121b85d4fd1e8aa
Server Salt 3f8714c7c07f17ce15d556c3927d4524cc56849a12458f77c032dfc9c77813fc
Server Hash 5ea7f6b0afe5f5f052fd233e8ae54f895bdb4c9c82dfabeadd15a7da2007822b
Raw Outcome 2596732344
Method SHA-256
Payouts
From To Value Probability Expected Value
2168956359 4294967296 10.24 dashbits 49.5000% 5.06880507
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);