Max Supply: | Coins in Circulation:
Current Block Reward:
Welcome to the Simple Cryptocurrency & Blockchain Live Demo!
This tool helps you understand how a blockchain works by letting you create and manage your own chain of blocks. It also demonstrates how a digital currency can function on top of this technology. All data is processed and stored locally in your browser.
Note: For demo purposes, the total coin supply is fixed at 1000. New coins are only created as block rewards, which halve every 5 blocks. Alice and Bob start with 0 balance.
Imagine a digital ledger, like a very secure notebook, where information is recorded in "blocks." Each block is linked to the previous one, forming a "chain." Once a block is added, it's very difficult to change, making the record highly secure and transparent. Think of it like a never-ending, unchangeable history book that everyone can see and verify.
A cryptocurrency is a digital or virtual currency that uses cryptography for security. It is typically decentralized, meaning it is not subject to government or financial institution control. This demo illustrates how a basic cryptocurrency can operate on a blockchain, allowing for digital value transfer and tracking of balances without a central authority.
To add a new page (block) to our secure history book (blockchain), we go through a process called "mining." This isn't like digging for gold; it's a digital puzzle-solving task. Your computer (or "miner") tries to find a special "Nonce" (that random number we talked about). It keeps guessing different nonces until the block's unique digital fingerprint (its "Hash") starts with a certain number of zeros. This "number of zeros" is the "difficulty" you can set.
This process of finding the right nonce that results in a valid hash is called "Proof of Work." It requires your computer to do some computational effort, which makes it hard for anyone to quickly create fake blocks. When you click "Mine & Add Block," your browser is performing this "Proof of Work" to secure your new block.
As a reward for successfully mining a block, the "Miner" account receives a small amount of coins (a "block reward"). This incentivizes people to participate in securing the blockchain and introduces new currency into the system, similar to how new Bitcoin is created.
The blockchain gets its security from something called "immutability," which means "unchangeable." Because each block's unique digital fingerprint (its "Hash") depends on *all* its own content AND the fingerprint of the *previous* block, changing any information in an old block would immediately change its hash. This would then break the link to the next block in the chain, and all blocks that came after it would become invalid.
Think of it: if you change a page in the middle of our history book, its barcode changes. Then, the next page, which references the old barcode, suddenly has a wrong reference, and its barcode changes too, and so on. This chain reaction makes any tampering instantly visible and very difficult to hide, as you would have to re-do the "Proof of Work" (re-mine) for every single block after the one you changed!
In this demo, if you try to manually change a block's data (using the browser's developer console with the `tamperBlock()` function), you'll see that block and all following blocks turn red. This visually shows how the chain is broken and the tampering is detected. You can then use the "Re-mine Block" button on an invalid block to see the effort required to fix the chain from that point forward.
This demo stores your blockchain locally within your web browser. This means your data stays on your device and isn't sent anywhere else. The "Export Blockchain" button allows you to save your entire current blockchain as a JSON file to your computer. This is like making a backup copy of your digital history book. The "Import Blockchain" button lets you load a previously saved blockchain from a JSON file, so you can continue your work or restore your chain even if your browser's data is cleared.
Discover more free online Productivity & Financial Tools!. Explore our collection of Productivity & Financial Tools.