Back to portfolio

Blockchain Demo (C++)

https://github.com/ihsan215/Blockchain-Demo-CPP

Repository

C++Blockchain demo

Blockchain Demo (C++)

View on GitHub

This repository is a compact hands-on introduction to how a blockchain is wired together: each block carries an index, timestamp, arbitrary data, the previous block hash, and its own hash so the list stays tamper-evident.

You can mine new blocks with custom payload text, walk the sequence in memory, and persist the result to a text file—enough to demonstrate classes, vectors, and file I/O while the story stays focused on hashes and linkage.

It is intentionally small-scope C++ (MIT-licensed) aimed at readers who want to see blockchain mechanics in code before jumping to distributed consensus or production cryptography.

Tech stack

C++ · OOP · std::vector · File I/O · Blockchain fundamentals · GitHub

Screens & flows