Logo Moneypot
Bet #61585777
General
User naranjomarkos
App Bit-Exo
Kind Custom
Coin GRLC
Wager 0.02 garlicbits
Placed
Profits
User Profit -0.02 garlicbits
Investor Profit 0.0192968743 garlicbits
App Profit 0.0007031257 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 14.06%
Total Expected Value -0.28125028 garlicbits
Provably Fair
Client Seed 3504051585
Server Secret f54fa23ab1ccbb59f77f4b7c6302886c2559a18a52722822cf441645d21a6e89
Server Salt 39c5d2be0097efcfaae6515b5713fb2ba5050e458966331bc9121186faee266b
Server Hash 9d6d5f24813dbc8e62379609febb8700cd9047c8713f13af9b910fde6dc599c2
Raw Outcome 306661862
Method SHA-256
Payouts
From To Value Probability Expected Value
3064638323 4294967295 0.07 garlicbits 28.6458% 0.01980000
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);