Ultimate Dice Roller Gets a Blockchain Upgrade!

(edited)

Hey everyone,

I'm excited to announce a major update to the Ultimate Dice Roller. This update includes two key changes: a fresh coat of paint and, more importantly, its first real "blockchain feature" that makes every roll provably fair.

First off, the visual refresh. I have to be honest, the more I looked at the old purple and yellow color scheme, the more I hated it! :) The new design is much cleaner and easier on the eyes.

The blue is much easier on the eyes

But the real magic is under the hood. I wanted to add a layer of transparency to the randomness, and I've done that by integrating it with the Hive blockchain using a provably fair algorithm.

How It Works: Provably Fair Rolls

When you use a standard online dice roller, you have to trust that the server's random number generator is truly random. To remove that need for trust, this tool now uses public data from the Hive blockchain to generate results in a way that anyone can verify.

Here’s the complete step-by-step process:

  1. Fetch Live Blockchain Data: When you click "Roll," the server connects to Hive and fetches the latest irreversible block.
  2. Gather Public Seeds: It then pulls specific data from that block to use as the cryptographic inputs:
    • Server Seed: The block_id of the latest block.
    • Client Seed Base: The transaction_merkle_root of that same block.
    • Nonce: The block number (id) itself.
  3. Add a Pinch of Salt: To solve the problem of two people rolling at the exact same time and getting the same result, the server adds one final ingredient: a small, unique, and cryptographically secure "salt" is generated for every single roll request.
  4. Generate the Roll: This unique salt is appended to the Client Seed Base (transaction_merkle_root) to create a final, truly unique Client Seed. These three inputs (Server Seed, the salted Client Seed, and the Nonce) are then fed into a standard, deterministic provably fair algorithm to produce the dice roll.

Because the core seeds from the Hive blockchain are public, and the salt is now displayed after the roll, the entire process is transparent and verifiable. The same inputs will always produce the same result, but the salt ensures no two individual rolls are the same.

This was a really fun feature to build and refine, and it's a great example of using the blockchain for something practical beyond just finance. I hope you enjoy the new look and the added layer of trust!

EDIT: https://dice.thecrazygm.com/

As always,
Michael Garcia a.k.a. TheCrazyGM

0.11807678 BEE
2 comments

Congratulations @thecrazygm! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You got more than 1250 replies.
Your next target is to reach 1500 replies.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

0.00088355 BEE

That's an exceedingly cool way to generate a verifiably random roll. I know this tool can be found easily with the other tools on your site, but it might be helpful to add the link in this post, so that newcomers to your work can find it. Nice work, my friend! 😁 πŸ™ πŸ’š ✨ πŸ€™

0.00086582 BEE

Thanks man, I keep forgetting to do that.

0.00243335 BEE

You got it, my friend, and I figured. 😁 πŸ™ πŸ’š ✨ πŸ€™

0.00297280 BEE