Logo Moneypot
Bet #58591503
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 2.28 garlicbits
Placed
Profits
User Profit -2.28 garlicbits
Investor Profit 2.2739999999 garlicbits
App Profit 0.0060000001 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.05%
Total Expected Value -2.40000005 garlicbits
Provably Fair
Client Seed 397345912
Server Secret 22bf0c888b0383b197a966d35c560700bc35bb802b6b8dce5c8f4a362a68d1ce
Server Salt 184c583ba547cb9ddaa234ce19432b0a2ab7e44e87269febf7fab2cd6ba0be6b
Server Hash dd395ae75c07082a4f57aee1fd88421c211a4364803becfdb910fe1de760f007
Raw Outcome 2822646442
Method SHA-256
Payouts
From To Value Probability Expected Value
0 1717986918 5.64 garlicbits 40.0000% 2.25600000
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);