Author

Topic: Jonbetbr Crash seeding event (Read 55 times)

hero member
Activity: 2086
Merit: 761
Top-tier crypto casino and sportsbook
December 24, 2024, 05:39:42 PM
#3
Pardon my ignorance, but what exactly is a Crash seeding event? I''ve tried googling it, but came to a whole bunch of different results.
Is it when you give capital to cover house costs in exchange for profits or something else?
?
Activity: -
Merit: -
December 24, 2024, 10:19:03 AM
#2
Archived post: https://archive.ph/SHYsx

Client seed has been mined!
000000000000000000023cfb3891afa8d1b9eb32403c778c5b03b8e017342df1


https://www.blockchain.com/es/explorer/blocks/btc/876179
?
Activity: -
Merit: -
December 24, 2024, 09:33:50 AM
#1
We’re excited to announce that we’re releasing Crash game in jonbet.bet.br, so we welcome you to our seeding event for Crash which we would be releasing soon on the new website.

As part of our fairness we generated a chain of 10,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash. Being the last hash in the chain: a0c3dbfe51c300f4f2bbce7cafb845387151b2c90c96892b9fc06e62169bbd31


Script to calculate Crash point:

Code:
const divisible = (hash, mod) => {
  const value = parseInt(hash.slice(0, 13), 16); // Use first 13 hex chars
  return value % mod === 0; // Single modulus operation at the end
};

const calculateCrashPointFromHash = function (hash) {
  if (divisible(hash, 15)) return 0;

  const crashPointBytes = hash.slice(13, 26); // Next 13 hex chars
  const h = parseInt(crashPointBytes, 16);
  const e = Math.pow(2, 52);

  return (Math.floor((100 * e - h) / (e - h)) / 100).toFixed(2);
};

// these will be the 10M pre generated rolls to be used
const hashChain = ['random1', 'random2'];

const gameHash = hashChain.pop();

// It's the hash we're gonna be using of the result of a yet to be mined block on the blockchain #876,179
const blockHash = '';

const hash = createHmac('sha256', gameHash).update(blockHash).digest('hex');

const crashPoint = calculateCrashPointFromHash(hash);

console.log({ crashPoint });


We’re gonna be using a BlockHash that hasn’t been mined at the time of this post, we’re expecting to use Bitcoin block 876,179 this to prove we have no influence over the outcome of the game. Please guys feel free to quote this post so this will be all set in stone.

Looking forward to show you guys Crash very soon!
Jump to: