Logo Moneypot
Bet #61584571
General
User Anubis
App Bit-Exo
Kind Custom
Coin DASH
Wager 0.64 dashbits
Placed
Profits
User Profit -0.64 dashbits
Investor Profit 0.6384001584 dashbits
App Profit 0.0015998416 dashbits
MoneyPot Profit 0.0000000000 dashbits
House Edge 1.00%
Total Expected Value -0.63993666 dashbits
Provably Fair
Client Seed 970594117
Server Secret 99fa0ddfa2af27708130cc4691c4f1f4cf4e18ba00688cea503a49576796d1b2
Server Salt 05d369aade0b1e3ed85e1835a11385d67d06e3b3f700b808b99ac92b39308b8a
Server Hash 9cae2c69b9e407ca29ccd79359621abfdc2d32b8b5d2dd88fd64b44f2c224644
Raw Outcome 3609996424
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 1.28 dashbits 49.5000% 0.63360063
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);