Logo Moneypot
Bet #47618342
General
User helpmywallet
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin MBI
Wager 1,000,000.00 monbits
Placed
Profits
User Profit -1,000,000.00 monbits
Investor Profit 997,749.9999804400 monbits
App Profit 2,250.0000195578 monbits
MoneyPot Profit 0.0000000000 monbits
House Edge 0.90%
Total Expected Value -900,000.00782311 monbits
Provably Fair
Client Seed 722667314
Server Secret 3ef690037c0d5c0d92947eaacb982520029374d4dc723b33a6c343914776019f
Server Salt 02a10189de7cef310b5ac0cc5acd94c738cc13bd8540e5097e3134eb10d37ccc
Server Hash c0de5c3173f5dcbe4d12ed5809d71936bf7b6f6f91adf9a0c6bb765e415dca7f
Raw Outcome 1250300577
Method SHA-256
Payouts
From To Value Probability Expected Value
2166811001 4294967296 2,000,000.00 monbits 49.5500% 990,999.99992177
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);