App creation has been re-enabled! Create your own MoneyPot App. Find out more information here.
Logo Moneypot
Bet #66832059
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 1217127507
Server Secret 9a6e173c0f5793d7dc75ed7348ef10533605030c83eedb45c41b381127079b46
Server Salt 3df09222443e87b730732ab35ba66beb766db829ec3e2921ee38eedd3ab0fcc5
Server Hash 5c45a2cdadfa9c15668881a44be8cf2b733ef4719657560deb2b6b6823d78474
Raw Outcome 368846595
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);