pinkfloyd878 avatar

๐Ÿ”’ HASHSCORE Now Provably Fair

pinkfloyd878

Published: 14 Dec 2025 โ€บ Updated: 14 Dec 2025๐Ÿ”’ HASHSCORE Now Provably Fair

๐Ÿ”’ HASHSCORE Now Provably Fair

๐Ÿ”’ HASHSCORE Now Provably Fair - Thanks to minus-pi@minus-pi!

HASHSCORE Token

New Waiting

New Results

TL;DR

HASHSCORE games are now provably fair using cryptographic secrets that change every minute. Players can no longer predict scores before sending transactions, and every game result can be independently verified. This upgrade was inspired by feedback from minus-pi@minus-pi.


What Changed?

The Problem

minus-pi@minus-pi discovered that our hash scores could be predicted before sending transactions. Since transaction hashes are known immediately after signing (but before broadcasting), a clever player could:

  1. Sign a transaction locally
  2. Calculate the resulting hash score using our public algorithm
  3. Only broadcast transactions with favorable scores
  4. Reject unfavorable scores and try again

This defeated the randomness of the game. Props to minus-pi@minus-pi for bringing this to our attention and demonstrating it responsibly!

The Solution: Provably Fair Gaming

We've implemented a provably fair system inspired by magicdice@magicdice's approach:

How it works:

  1. Server-side secrets - Our server generates a random 16-character secret every minute
  2. Salted hash calculation - Your score is calculated from SHA256(transaction_hash + secret) instead of the raw transaction hash
  3. Unpredictable - Since you don't know the secret when you send your transaction, you can't predict your score
  4. Transparent - After your game completes, we reveal the secret in your reward memo
  5. Verifiable - You can independently verify your score was calculated fairly

The Formula:

salted_hash = SHA256(your_transaction_hash + server_secret)
your_score = sum of all hex characters in salted_hash

Instant Verification

Every reward transaction now includes:

Example memo:

Result: HASHSCORE Default | Win High | Your HASHSCORE: 463 | 
Secret: K1jyq5sV3PHZuhSs | 
Verify: https://hashscore.fun/verify.php?tx=abc123...&s=K1jyq5sV3PHZuhSs

Click the verify link and you'll see:

  • โœ… Your transaction hash
  • โœ… The secret used
  • โœ… Recalculated score (matches your result)
  • โœ… Proof the game was fair

Why This Matters

Before: Trust-Based

You had to trust that our system was fair. There was no way to verify.

After: Cryptographically Verifiable

  • Transparent - The exact formula is public
  • Unpredictable - Secrets change every minute
  • Verifiable - You can prove every game was fair
  • Fair - Neither player nor house can manipulate results

This is the same proven system used by other successful blockchain gaming platforms like magicdice@magicdice.


Real-Time Results

We've also upgraded the user experience:

Old way: Instant preview showing predicted score (now we know this was wrong!)

New way:

  • Transaction sent โ†’ Shows "Processing..."
  • Polls server every 10 seconds
  • When complete โ†’ Shows real results:
    • Your actual hash score (with secret)
    • Win result (High/Low/Average)
    • Reward amount
    • Secret and verification link
    • One-click to verify fairness

Technical Details (For the Nerds ๐Ÿค“)

Secret Rotation:

  • New secret generated every 60 seconds
  • Secrets are cryptographically random (16 alphanumeric characters)
  • Secret determined by transaction timestamp, not processing time
  • Same transaction always uses same secret (deterministic)

Database Storage:

  • Every transaction stores which secret was used
  • Full audit trail for transparency
  • Secrets stored in indexed table for fast verification

Verification Process:

// What you can verify:
$salted_hash = hash('sha256', $your_tx_hash . $revealed_secret);
$your_score = calculate_score($salted_hash);
// Compare with the score we gave you - they match!

Shoutout to minus-pi@minus-pi ๐ŸŽ‰

Big thanks to minus-pi@minus-pi for:

  • Discovering the vulnerability
  • Reporting it responsibly
  • Demonstrating it clearly (even spelling "Rising" to prove it!)
  • Recommending the provably fair approach
  • Pointing us to magicdice@magicdice's implementation

This is exactly the kind of community feedback that makes Hive projects better. Thank you! ๐Ÿ™


What This Means for Players

โœ… Fair gameplay - No one can game the system anymore
โœ… Transparency - Every result is verifiable
โœ… Trust - Don't trust us, verify us!
โœ… Same great games - All games still work exactly the same
โœ… Better UX - Real-time results with verification links


Try It Out!

  1. Play any HASHSCORE game: https://hashscore.fun
  2. After your game, check your reward memo
  3. Click the verification link
  4. See the cryptographic proof your game was fair!

Play fair. Verify everything. Welcome to the new HASHSCORE.

๐ŸŽฒ https://hashscore.fun
๐Ÿ”’ Provably Fair | Built on Hive | Powered by Community Feedback


#hive #gaming #hashscore #provablyfair #blockchain #gaming #transparency

Leave ๐Ÿ”’ HASHSCORE Now Provably Fair to:

Written by

Read more #hivegc posts


Best Posts From pinkfloyd878

We have not curated any of pinkfloyd878's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From pinkfloyd878