Show Posts
|
Pages: [1]
|
We’re excited to announce that we’re releasing Fortune double game (Room 1) in Jonbetbr , so we welcome you to our seeding event for Fortune double which we would be releasing soon. For this seeding event we are following the same approach we had for Crash, Slide and Double. 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: 24ed00de1d532dcb14464b4b00088f4c64004a846be13f736122bce8c3a55cd7 Script to calculate Fortune double roll: const ROULETTE_TILES = [ { number: 0, color: 'white' }, { number: 11, color: 'black' }, { number: 5, color: 'red' }, { number: 10, color: 'black' }, { number: 6, color: 'red' }, { number: 9, color: 'black' }, { number: 7, color: 'red' }, { number: 8, color: 'black' }, { number: 1, color: 'red' }, { number: 14, color: 'black' }, { number: 2, color: 'red' }, { number: 13, color: 'black' }, { number: 3, color: 'red' }, { number: 12, color: 'black' }, { number: 4, color: 'red' }, ];
module.exports.getColorByRoll = (roll) => { return ROULETTE_TILES.find((t) => t.number === roll).color; };
const getWhiteMultiplierFromHash = (hash) => { let h = parseInt(hash.slice(-52 / 4), 16); let e = Math.pow(2, 52);
let multiplier = Math.floor((100 * e - h) / (e - h)) / 100 + 7.5; multiplier = Math.max(8.5, Math.min(multiplier, 250));
return +multiplier.toFixed(2); };
module.exports.getRollFromHash = (hash) => { const integ = parseInt(hash, 16); const MAX_RANGE = Math.pow(2, 256); const randval = integ / MAX_RANGE; const n = Math.floor(randval * 15); const tile = ROULETTE_TILES.find((t) => t.number === n);
let color, multiplier; switch (tile.color) { case 'white': color = 0; multiplier = getWhiteMultiplierFromHash(hash); break;
case 'black': color = 2; multiplier = 2; break;
case 'red': color = 1; multiplier = 2; break; }
return { n: n, multiplier: multiplier, color: color, }; };
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 877644, 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 Fortune double very soon!
|
|
|
Welcome! In preparation for the upcoming launch of our original game Crash II in Jonbet.bet.br, we're performing this seeding event to ensure fairness and immutable rolls. For this seeding event we are following the same approach as above. 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: 4a29ecea57d8371fa8becec0e8d6d566a887173a30c2c37a14d653b9ba1d546e const { createHmac } = require('crypto');
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 = [];
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 # 877,240 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 877,240 this to prove we have no influence over the outcome of the game.
|
|
|
We’re excited to announce that we’re releasing Slide game in jonbet.bet.br, so we welcome you to our seeding event for Slide which we would be releasing soon. For this seeding event we are following the same approach we had for Crash and Double. 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: a5865d5586266905f416bcafa7744a6cf930cafa2581204ea56e3242941dc110 Script to calculate Slide point: const { createHmac } = require('crypto');
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 calculateSlidePointFromHash = function (hash) { return '10.5'; 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 # 877,075 const blockHash = '';
const hash = createHmac('sha256', gameHash).update(blockHash).digest('hex');
const slidePoint = calculateSlidePointFromHash(hash); console.log({ slidePoint });
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 877,075, 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 Slide very soon!
|
|
|
Welcome! In preparation for the upcoming launch of our original game Turbo Crash in jonbet.bet.br,, we're performing this seeding event to ensure fairness and immutable rolls. For this seeding event we are following the same approach as above. 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: 952ea9ca95f2feeafddb91e224a1a7cc4ab0d8aad697dd869552635ba3a868f1 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 # 877,072 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 877,072 this to prove we have no influence over the outcome of the game.
|
|
|
Welcome! In preparation for the upcoming launch of our original game Double in jonbet.bet.br, we're performing this seeding event to ensure fairness and immutable rolls. For this seeding event we are following a similar approach as Stake.com. 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: bbcaf4ca3abd0e43e253f20831d39313459a11d6570d4946456633c9ce3cc6f5 Script to calculate Double roll: const { createHmac } = require('crypto');
const TILES = [ {number: 0, color: 'white'}, {number: 11, color: 'black'}, {number: 5, color: 'red'}, {number: 10, color: 'black'}, {number: 6, color: 'red'}, {number: 9, color: 'black'}, {number: 7, color: 'red'}, {number: 8, color: 'black'}, {number: 1, color: 'red'}, {number: 14, color: 'black'}, {number: 2, color: 'red'}, {number: 13, color: 'black'}, {number: 3, color: 'red'}, {number: 12, color: 'black'}, {number: 4, color: 'red'} ];
const getRollFromHash = hash => { // random number from 0-15 const roll = parseInt(hash, 16) % 15; const tile = TILES.find(t => t.number === roll);
let color; switch (tile.color) { case 'white': color = 0; break;
case 'black': color = 2; break;
case 'red': color = 1; break;
}
return { tile: roll, color: color } }
// these will be the 10M pre generated rolls to be used const hashChain = [];
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 # 877,067 const blockHash = '';
const hash = createHmac('sha256', gameHash).update(blockHash).digest('hex');
const {tile, color}= getRollFromHash(hash); console.log({ tile, color });
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 877,067, 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 Double very soon!
|
|
|
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: 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!
|
|
|
|