<aside> 💡

If you just want to check the games, you can do so here: https://jsfiddle.net/deca506/k4vdop8u/2/

</aside>

For our first seed round we populated the game database with 200k games. We anticipated this would last for about 60 days and we were close. Now, we have just seeded our second round of games as we are nearing the end of the first seed cycle.

Here are the high level steps of the process we followed to seed our next batch of provably fair games for BlastCrash, games 200001-500000.

High Level Steps

  1. Generate a secret 32 byte random number for the Server Seed. This number is the seed for our game chain.
  2. Generate 300K game hashes for this chain using the Server Seed and insert them into the games database.
  3. Initiate the generation of the Client Seed using our GameBrain dApp. The Client Seed generated on this step is used to salt the Server Seed hashes ensuring that neither the house (or anyone else) could have influenced this game chain.
  4. Finally, we tell the game that there is a new Client Seed to use for games 200001-500000!

Detailed Steps

  1. Generate Server Seed - 1st we use a script like this to generate the random seed value:
const crypto = require('crypto');
const serverSeed = crypto.randomBytes(32).toString('hex');
console.log(serverSeed);

The output from that script is an important secret called the Server Seed. That value is private/secret and not revealed to anyone.