App creation has been re-enabled! Create your own MoneyPot App. Find out more information here.
Logo Moneypot
Bet #66832061
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 577586782
Server Secret b950881446770220ff856b68abcd7f9a8224a163e753e8b121ea70383230608f
Server Salt 83551993cfa6f88a53ccf626f6c4e5570ba0f42be206636ecf2d6644210718b5
Server Hash 58a1ba676099aa59ba5a03d354768d9cc3af8a820e4b832c458a100a12fe7a05
Raw Outcome 1828558259
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);