Logo Moneypot
Bet #61634674
General
User vi3olero
App Bit-Exo
Kind Custom
Coin FLASH
Wager 115.20 flashbits
Placed
Profits
User Profit 172.80 flashbits
Investor Profit -173.0879714884 flashbits
App Profit 0.2879714884 flashbits
MoneyPot Profit 0.0000000000 flashbits
House Edge 1.00%
Total Expected Value -115.18859535 flashbits
Provably Fair
Client Seed 1649975594
Server Secret f266e2fa40410e814ed5a654a1d8b1a6f86566f5f04ac106284b56da0b8fd824
Server Salt 8a96e19644d2d988ec88278d97e7e9e5659add6e16a7d4176d298a81711acb7a
Server Hash a0286c7da22a0a2fd54e4d3086d1e75880ea0b90d425cfbee9d74a007699e730
Raw Outcome 1667528178
Method SHA-256
Payouts
From To Value Probability Expected Value
1571199392 3272008142 288.00 flashbits 39.6000% 114.04811405
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);