LESSON
Crypto Lab: Build a Blockchain
Create your own digital money: discover how to send it, keep track of it, and protect it!
ACTIVITY
Mining puzzle
Miners try different numbers until a block's hash meets a target. Can you find a winning number for your blocks?
YOUR MINING NUMBER (NONCE)
Try a number. Your goal is to find a hash that starts with the target below.
Transactions in this block
These transactions stay the same while you try different numbers.
Your block's hash
Not mined yet0...
This game uses a hash function, but the too-high/too-low clues are an extra guessing-game hint. Real mining does not reveal whether a nonce is too high or too low; miners generally have to keep trying candidates. This activity simplifies how a real network selects and accepts blocks.
Build, Break & Repair a Blockchain
Connect each block using the previous block's hash, then mine it to build your blockchain!
Unexpected transaction change!
Mine Block 2
Find the secret nonce between 1 and 10. The correct answer produces a hash beginning with 0.
Attempts: 0
Congratulations! Blockchain Repaired!
You successfully reconnected and re-mined the affected blocks!
Changing old blockchain data means the following blocks must be updated too. Real networks also independently verify which history to accept.