click here if you want to see your banner on this site

Author Topic: ETCBets.com - Provably Fair iGaming for Ethereum Classic | Dice | Parabolic  (Read 6846 times)

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile
1) We have generated a chain of 10 million sha256 hashes, starting with a server secret that has been repeatedly fed the output of sha256 back into itself 10 million times. The sha256 of the final hash in the chain is: c56c9fe892bd23ff6d20da0b505c86db9acecb6a257a2b79b23dfface1d4ea75, by publicising it here we are preventing any ability to pick an alternate sha256 chain.


2) Parabolic will play through that chain of hashes, in reverse order, and use the hashes to determine the crash point in a probably fair manner.

3) To avoid criticism that the Bitcoin address used in step 1 was carefully chosen to generate lots of "bad" crash points, each hash in the chain will be salted with a client seed, which we have no control of. The client seed will be the block hash of a Bitcoin block that hasn't yet been mined: block 465525.


The reference code (javascript) is as follows:

The method to create the hash chain is simply sha256:
Code: [Select]
function genGameHash(serverSeed) {
  return crypto.createHash('sha256').update(serverSeed).digest('hex');
}

The method to convert a game hash, mix it with the picked client seed to a game multiplier:

Code: [Select]
function crashPointFromHash(serverSeed, clientSeed) {
  function divisible(hash, mod) {
    // We will read in 4 hex at a time, but the first chunk might be a bit smaller
    // So ABCDEFGHIJ should be chunked like  AB CDEF GHIJ
    var val = 0;
    
    var o = hash.length % 4;
    for (var i = o > 0 ? o - 4 : 0; i < hash.length; i += 4) {
      val = ((val << 16) + parseInt(hash.substring(i, i+4), 16)) % mod;
    }

    return val === 0;
  }

  var hash = crypto.createHmac('sha256', serverSeed).update(clientSeed).digest('hex');

  /* In 1 of 101 games the game crashes instantly. */
  if (divisible(hash, 101))
     return 0;

  /* Use the most significant 52-bit from the hash
     to calculate the crash point */
  var h = parseInt(hash.slice(0,52/4),16);
  var e = Math.pow(2,52);

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

The chain could be generated with code such as:

Code: [Select]
var serverSecret =  'If you knew this, you could steal all my money';
var clientSeed = '0000examplehash';

var gamesToGenerate = 1e7;

var serverSeed = serverSecret;

for (var game = gamesToGenerate; game > 0; --game) {
  serverSeed = genGameHash(serverSeed);
  console.log('Game ' +  game + ' has a crash point of ' + (crashPointFromHash(serverSeed, clientSeed) / 100).toFixed(2) +'x', '\t\tHash: ' + serverSeed);
}

var terminatingHash = genGameHash(serverSeed);

console.log('The terminating hash is: ', terminatingHash);


Using our chosen starting serverSeed, the hash terminating the chain is c56c9fe892bd23ff6d20da0b505c86db9acecb6a257a2b79b23dfface1d4ea75. That is to say, the first game's hash played under the new provably fair scheme, when hashed will be c56c9fe892bd23ff6d20da0b505c86db9acecb6a257a2b79b23dfface1d4ea75.

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile
Hi everyone, before someone starting spamming the same question, some things we ´ve planned won´t be fully operational at launch like Parabolic automatic bet feature or 2fa*, but will come later this week.

This is a  perfect window of time for our development team to wrap up the features not included at launch, also gives us time to test the site under much greater user bulky.

Good luck, and keep playing at ETCBets.com


- The ETCBets Team.


* We will enable 2fa within 24-48 hours.

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile
 


-The ETCBets Team

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile


-The ETCBets Team

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile


ETCBets.com  withdrawals have been re-enabled.

*If you are having trouble logging in to the site, clear cookies.

Thank you for your understanding. HAVE FUN!

-The ETCBets Team

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile
  

    - The ETCBets.com Team
« Last Edit: May 15, 2017, 08:20:46 PM by FloatingLamps »

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile



Come and play at ETCBets.com. Centric, Fast and Reliable provably fair casino gaming for ethereumclassic. Ride it!


-The ETCBets Team



FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile



Enjoy etcbets.com, HappyHour and take advantage of the reduction in the House Edge.

Extra Hour Bonus IN PLAY! Enjoy.

-The ETCBets Team

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile



Easy to use and variable makes #dice bets a FLASH! Try the classic autobet at ETCBets.com

HAVE FUN!

Help us promoting : https://twitter.com/ETCbets/status/864825850197409792

-The ETCBets Team

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile
Help us promoting: https://twitter.com/ETCbets/status/864946652280483841






Take the risk or lose the chance. ETCBets.com, Providing provably fair igaming experience for #ethereumclassic


-The ETCBets Team

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile


    HAVE FUN!

Help us promoting : https://twitter.com/ETCbets/status/865552396889370624

-The ETCBets Team

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile

FloatingLamps

  • Garden Hero
  • Hero Member
  • *****
  • Posts: 504
  • Karma: +0/-0
    • View Profile
Hi everyone,

Our team is wrapping up some fixes and changes for the ETC casino ETCBets.com

Major items are:

1. Parabolic game up and running with several upgrades and fixes;

2. Auto bet enabled on Parabolic;

3. Several mobile UI changes;

4. June launch of promotion bonuses and contests.


More details will follow soon, remember the site donates 10% monthly income to the two ETC development teams (5% per team).

Let's make this business a big success for ETC use case and entertainment. Get registered today and test out dice while waiting for the second game and upgrades to go live later this week.


Follow the Twitter account for up to date news:

https://twitter.com/ETCbets/status/867311008586629121


-The ETCBets Team
« Last Edit: May 25, 2017, 08:23:43 PM by FloatingLamps »

 

Bitcoin Garden 2013-2024, All rights reserved | Privacy Policy | DMCA | About Bitcoin Garden | Support & Services