App creation has been re-enabled! Create your own MoneyPot App. Find out more information here.
Logo Moneypot
Bet #66277882
General
User CrazyCraig
App BTC Games 4U
Kind Simple_dice
Coin LTC
Wager 1.00 litebits
Placed
Profits
User Profit 1.00 litebits
Investor Profit -1.0012500000 litebits
App Profit 0.0012500000 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 0.50%
Total Expected Value -0.49999999 litebits
Provably Fair
Client Seed 2734789665
Server Secret 548215b9d72c2f4724191f72f72db5fe916b7fa15929948cce308bba6d0a323f
Server Salt ebb098281fa11dd2cdb3468221cb8b76fa5fe62a1fb64ffe310755a78ef9f365
Server Hash c25f8c4e26981f2afb377f79089623bca652272436f1ed5b325a33f06f0202f5
Raw Outcome 496813458
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2136746230 2.00 litebits 49.7500% 0.99500000
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);