Logo Moneypot
Bet #58827635
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 307.20 garlicbits
Placed
Profits
User Profit 307.19 garlicbits
Investor Profit -307.9591614882 garlicbits
App Profit 0.7691614881 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.00%
Total Expected Value -307.66459526 garlicbits
Provably Fair
Client Seed 3682619355
Server Secret e8cd6962b60362de88f4c783d92081f4bb844eaeee83ccc0a636d9ac342aae90
Server Salt 2f196a8f1bf111cf126297f9d9d0c00978f5776945c2fd4f886e7c21d9394421
Server Hash 37f9fdffedaec1ed790674070aad313b0ea322b602b9f8b57cebcc3df2069bd3
Raw Outcome 4233286257
Method SHA-256
Payouts
From To Value Probability Expected Value
2168956358 4294967295 614.40 garlicbits 49.5000% 304.12830405
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);