App creation has been re-enabled! Create your own MoneyPot App. Find out more information here.
Logo Moneypot
Bet #66832060
General
User kaveh
App BTC Games 4U
Kind Simple_dice
Coin BTC
Wager 200.00 bits
Placed
Profits
User Profit 20.00 bits
Investor Profit -20.2500000002 bits
App Profit 0.2500000002 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.50%
Total Expected Value -100.00000009 bits
Provably Fair
Client Seed 815302276
Server Secret 961f3388b6f1e0821678a40ec48cdeba73589689a0a6d702fe805ec20a1c4be9
Server Salt b17b2c28e8ffe925e786a6f12acb3205cb97a0cc4742b5ec62a8571b3fface98
Server Hash 040fd972090948ad51bee56e6390aa97042fe02212bccbc382dbf4c1708035eb
Raw Outcome 129140751
Method SHA-256
Payouts
From To Value Probability Expected Value
0 3884993145 220.00 bits 90.4545% 199.00000000
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);