TopGame (OP)
Newbie
Offline
Activity: 8
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2024, 12:34:47 PM |
|
Hello world, We are about to launch a Crash game in Telegram. In order to provide an absolutely fair game, we will now announce the formula for fairness verification and how to determine the salt: GAME RESULT FORMULA:const gameResult = (seed, salt) => { const nBits = 52; // number of most significant bits to use
// 1. HMAC_SHA256(message=seed, key=salt) const hmac = CryptoJS.HmacSHA256(CryptoJS.enc.Hex.parse(seed), salt); seed = hmac.toString(CryptoJS.enc.Hex);
// 2. r = 52 most significant bits seed = seed.slice(0, nBits / 4); const r = parseInt(seed, 16);
// 3. X = r / 2^52 let X = r / Math.pow(2, nBits); // uniformly distributed in [0; 1) X = parseFloat(X.toPrecision(9));
// 4. X = 90 / (1-X) X = 90 / (1 - X);
// 5. return max(trunc(X), 100) const result = Math.floor(X); return Math.max(1, result / 100); }; GET SALT:Prior to being used for calculation, each game hash is salted with the lowercase + hexadecimal string representation of the hash from pre-selected TON Masterchain block 40,009,999. This block has not been mined yet as of this post, proving that we have not deliberately selected a mined block with a hash that could be favorable to the house. Once block 40,009,999 has been mined, the results will be posted to this thread as a reply. [/quote]
|
|
|
|
Upgrade00
Legendary
Offline
Activity: 2156
Merit: 2305
Playgram - The Telegram Casino
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2024, 12:43:16 PM |
|
Would you also have a website where this info will be readily available to users at anytime in the future, including those not active on the forum?
Welcome to the forum looking forward to seeing your casino make an official announcement.
|
|
|
|
▄▄███████▄▄███████ ▄███████████████▄▄▄▄▄ ▄████████████████████▀░ ▄█████████████████████▄░ ▄█████████▀▀████████████▄ ██████████████▀▀█████████ █████████████████████████ ██████████████▄▄█████████ ▀█████████▄▄████████████▀ ▀█████████████████████▀░ ▀████████████████████▄░ ▀███████████████▀▀▀▀▀ ▀▀███████▀▀███████ | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ Playgram.io ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ | ▄▄▄░░ ▀▄ █ █ █ █ █ █ █ ▄▀ ▀▀▀░░
| │ | ▄▄▄███████▄▄▄ ▄▄███████████████▄▄ ▄███████████████████▄ ▄██████████████▀▀█████▄ ▄██████████▀▀███▄██▐████▄ ██████▀▀████▄▄▀▀█████████ ████▄▄███▄██▀█████▐██████ ██████████▀██████████████ ▀███████▌▐██▄████▐██████▀ ▀███████▄▄███▄████████▀ ▀███████████████████▀ ▀▀███████████████▀▀ ▀▀▀███████▀▀▀ | | │ | ██████▄▄███████▄▄████████ ███▄███████████████▄░░▀█▀ ███████████░█████████░░█ ░█████▀██▄▄░▄▄██▀█████░█ █████▄░▄███▄███▄░▄██████ ████████████████████████ ████████████████████████ ██░▄▄▄░██░▄▄▄░██░▄▄▄░███ ██░░░█░██░░░█░██░░░█░████ ██░░█░░██░░█░░██░░█░░████ ██▄▄▄▄▄██▄▄▄▄▄██▄▄▄▄▄████ ███████████████████████ ███████████████████████ | | │ | ► | |
|
|
|
TopGame (OP)
Newbie
Offline
Activity: 8
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2024, 01:18:05 PM |
|
We are applying our online casino technology to TON. Please look forward to our games. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
Upgrade00
Legendary
Offline
Activity: 2156
Merit: 2305
Playgram - The Telegram Casino
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2024, 01:50:07 PM |
|
<snip>
So then this is the url; https://top.game/ and you're integrating your casino to the telegram app so users can choose to play there, am I correct?
|
|
|
|
▄▄███████▄▄███████ ▄███████████████▄▄▄▄▄ ▄████████████████████▀░ ▄█████████████████████▄░ ▄█████████▀▀████████████▄ ██████████████▀▀█████████ █████████████████████████ ██████████████▄▄█████████ ▀█████████▄▄████████████▀ ▀█████████████████████▀░ ▀████████████████████▄░ ▀███████████████▀▀▀▀▀ ▀▀███████▀▀███████ | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ Playgram.io ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ | ▄▄▄░░ ▀▄ █ █ █ █ █ █ █ ▄▀ ▀▀▀░░
| │ | ▄▄▄███████▄▄▄ ▄▄███████████████▄▄ ▄███████████████████▄ ▄██████████████▀▀█████▄ ▄██████████▀▀███▄██▐████▄ ██████▀▀████▄▄▀▀█████████ ████▄▄███▄██▀█████▐██████ ██████████▀██████████████ ▀███████▌▐██▄████▐██████▀ ▀███████▄▄███▄████████▀ ▀███████████████████▀ ▀▀███████████████▀▀ ▀▀▀███████▀▀▀ | | │ | ██████▄▄███████▄▄████████ ███▄███████████████▄░░▀█▀ ███████████░█████████░░█ ░█████▀██▄▄░▄▄██▀█████░█ █████▄░▄███▄███▄░▄██████ ████████████████████████ ████████████████████████ ██░▄▄▄░██░▄▄▄░██░▄▄▄░███ ██░░░█░██░░░█░██░░░█░████ ██░░█░░██░░█░░██░░█░░████ ██▄▄▄▄▄██▄▄▄▄▄██▄▄▄▄▄████ ███████████████████████ ███████████████████████ | | │ | ► | |
|
|
|
TopGame (OP)
Newbie
Offline
Activity: 8
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2024, 01:51:44 PM |
|
Yes I'm glad you're interested in our platform. Stay tuned!
|
|
|
|
seoincorporation
Legendary
Offline
Activity: 3276
Merit: 3066
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2024, 02:12:12 PM |
|
(seed, salt) => { const nBits = 52; // number of most significant bits to use
// 1. HMAC_SHA256(message=seed, key=salt) const hmac = CryptoJS.HmacSHA256(CryptoJS.enc.Hex.parse(seed), salt); seed = hmac.toString(CryptoJS.enc.Hex); Just an observation, here is different the input seed than the last seed, so, why not use different names for that variable, like seed and serverSeed. And your provably fair has a problem, is not fair at all, let me explain why. A true provably fair engine needs a Nonse, that's a number that increases on each bet, that way your seed and salt are the same on each roll, but you provide a "secret seed", that way the user can't predict the next roll, and if the user want to reveal that secret seed, then he must ask for another seed. That's how the perfect provably fair system works. And since you only have a seed and salt that means your salt is dynamic, and you can manipulate that on each roll to decrease the user odds. The only protection for the user is to change the seed each roll.
|
|
|
|
|
TopGame (OP)
Newbie
Offline
Activity: 8
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 30, 2024, 01:59:28 AM |
|
(seed, salt) => { const nBits = 52; // number of most significant bits to use
// 1. HMAC_SHA256(message=seed, key=salt) const hmac = CryptoJS.HmacSHA256(CryptoJS.enc.Hex.parse(seed), salt); seed = hmac.toString(CryptoJS.enc.Hex); Just an observation, here is different the input seed than the last seed, so, why not use different names for that variable, like seed and serverSeed. And your provably fair has a problem, is not fair at all, let me explain why. A true provably fair engine needs a Nonse, that's a number that increases on each bet, that way your seed and salt are the same on each roll, but you provide a "secret seed", that way the user can't predict the next roll, and if the user want to reveal that secret seed, then he must ask for another seed. That's how the perfect provably fair system works. And since you only have a seed and salt that means your salt is dynamic, and you can manipulate that on each roll to decrease the user odds. The only protection for the user is to change the seed each roll. Let me answer your doubts. Players can compare the results of this round with the results of the last N rounds to confirm whether the dealer is cheating. Because we use continuously generated hashes to generate results. For the specific principle, you can refer to: https://top.game/help/provably-fair
|
|
|
|
seoincorporation
Legendary
Offline
Activity: 3276
Merit: 3066
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 30, 2024, 02:10:05 AM |
|
Let me answer your doubts. Players can compare the results of this round with the results of the last N rounds to confirm whether the dealer is cheating. Because we use continuously generated hashes to generate results. For the specific principle, you can refer to: https://top.game/help/provably-fairWell, this time i was wrong, if the result is based on the previous game then you are using a good provably fair engine, i have seen people doing this kind of provably fair for games like crash in the past. I got confused because i only saw the seed and salt, and for a moment i thought you were taking random salts for each round, casinos like freebitco do it, and i don't feel that's a good provably fair method, but you are implementing a good one, so, good luck with your project and thanks for offering a fair engine to the community, we need more of those.
|
|
|
|
TopGame (OP)
Newbie
Offline
Activity: 8
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 30, 2024, 02:35:49 AM |
|
Let me answer your doubts. Players can compare the results of this round with the results of the last N rounds to confirm whether the dealer is cheating. Because we use continuously generated hashes to generate results. For the specific principle, you can refer to: https://top.game/help/provably-fairWell, this time i was wrong, if the result is based on the previous game then you are using a good provably fair engine, i have seen people doing this kind of provably fair for games like crash in the past. I got confused because i only saw the seed and salt, and for a moment i thought you were taking random salts for each round, casinos like freebitco do it, and i don't feel that's a good provably fair method, but you are implementing a good one, so, good luck with your project and thanks for offering a fair engine to the community, we need more of those. Thank you. Our vision is to strive to create a fair gaming environment so that players can enjoy the real joy of the game!
|
|
|
|
|