App creation has been re-enabled! Create your own MoneyPot App. Find out more information here.
Logo Moneypot
Bet #66832257
General
User orkBTC
App DiceBot
Kind Custom
Coin BTC
Wager 8.00 bits
Placed
Profits
User Profit -8.00 bits
Investor Profit 7.9813632306 bits
App Profit 0.0186367694 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.93%
Total Expected Value -7.45470778 bits
Provably Fair
Client Seed 4136141038
Server Secret f65b21e637c7bd543b58776b689173d11e493fb92b5933a089de6a6de286ccf5
Server Salt 6e9cb469c52b80f6f713cda2b27e2ac7677f786074f7aca7b5cc00af5337cd61
Server Hash bf2c92ccee7083233136b0bf9ba58a12ec6b01139a0d5b141345107c087b9a2e
Raw Outcome 2197274929
Method SHA-256
Payouts
From To Value Probability Expected Value
0 1913409843 17.80 bits 44.5500% 7.92800792
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);