Skip to content

maaatdev/simple-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple Blockchain

This project implements a basic blockchain in C++ with a Proof of Work system.

Features

  • Blocks containing index, data, previous hash, timestamp, and nonce.
  • SHA256 hash calculation based on block contents.
  • Mining blocks with adjustable difficulty (number of leading zeros).
  • Chain validation to ensure integrity.

Usage

  1. Compile the project:
c++ main.cpp -o blockchain -lssl -lcrypto -Wno-deprecated-declarations

About

A simple blockchain implementation to introduce cryptography.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages