MoneyPot is closing.
Logo Moneypot
Bet #67146640
General
User fagot
App DiceBot
Kind Custom
Coin BTC
Wager 0.20 bits
Placed
Profits
User Profit -0.20 bits
Investor Profit 0.1995498096 bits
App Profit 0.0004501904 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.90%
Total Expected Value -0.18007618 bits
Provably Fair
Client Seed 775249262
Server Secret 3c000503973efbb758cf3d6037a837cbb64335152844119408c7909678d71600
Server Salt a3095be47fb891db6028001b957bc8013eb22bdab8868a230c1f10db4060dbf8
Server Hash 7ce4d0f4a7b1b662db1e308868457180eb6d8887f0673c6520de760506053992
Raw Outcome 3578581026
Method SHA-256
Payouts
From To Value Probability Expected Value
3885708042 4294967295 2.08 bits 9.5288% 0.19819924
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);