Logo Moneypot
Bet #58592297
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 105.00 garlicbits
Placed
Profits
User Profit 52.71 garlicbits
Investor Profit -52.9378500033 garlicbits
App Profit 0.2278500033 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.87%
Total Expected Value -91.14000132 garlicbits
Provably Fair
Client Seed 2069693652
Server Secret db406273c1b6bbf60ae63094af41a34e907a87c4a1793c4dd8f3a1ce4cc82287
Server Salt 6a474b3d4b504ffdca1dc14ea44ba25084470e06bc372d7ca43bbdbb7e604f60
Server Hash 72bab4d7f1bcf3e2e5bc602b8c7c2e62af4c2de4934aa62ebcb30adaf29d7a07
Raw Outcome 1477480190
Method SHA-256
Payouts
From To Value Probability Expected Value
1460288881 4294967296 157.71 garlicbits 66.0000% 104.08859999
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);