Logo Moneypot
Bet #58827656
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 0.30 garlicbits
Placed
Profits
User Profit -0.30 garlicbits
Investor Profit 0.2980125730 garlicbits
App Profit 0.0019874270 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 2.65%
Total Expected Value -0.79497080 garlicbits
Provably Fair
Client Seed 1178756292
Server Secret e85293fe2f859a0febae5a3103a0978c8af59703cfcbe1fd9d69c00d16a4d265
Server Salt 3453739719539b786dbe13bd6c41cfb6adcc6cd659b9f34b68a8dda8a8186dc8
Server Hash f8f59a705dccbd988334131b5da48b8a1268ce027931879c1d483a32ce1730f3
Raw Outcome 1566360845
Method SHA-256
Payouts
From To Value Probability Expected Value
2168956358 4294967295 0.60 garlicbits 49.5000% 0.29700030
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);