Logo Moneypot
Bet #1251891500
General
User helpmywallet
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin BTC
Wager 320,000.00 bits
Placed
Profits
User Profit -320,000.00 bits
Investor Profit 318,847.9999899860 bits
App Profit 1,152.0000100136 bits
MoneyPot Profit 576.0000050068 bits
House Edge 0.90%
Total Expected Value -288,000.00250340 bits
Provably Fair
Client Seed 1462043852
Server Secret 35de073b54ea75a5368d08531bbddff45e5b0906aec7ddda4b72326998d80206
Server Salt fcf1c314436d48d6f89f320f3a8368f9e947ee7f673d9efe0a72f90e78d5af45
Server Hash 8115fe2f721bd6d9f795517742a10c31e330c1627224a70e71fbe8f112cd9d48
Raw Outcome 1945591150
Method SHA-256
Payouts
From To Value Probability Expected Value
2166811001 4294967296 640,000.00 bits 49.5500% 317,119.99997497
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);