This repository contains a full-fledged blockchain implementation in every programming language available. Each implementation includes fundamental blockchain features such as:
- Block structure with index, hash, previous hash, timestamp, and transactions
- Proof-of-Work (PoW) mining algorithm
- Blockchain validation
- Simple transaction handling
/blockchain
│── /python
│ ├── blockchain.py
│ ├── README.md
│ └── assets/output.png
│── /c++
│── /Java
│── /JavaScript
│── /Go
│── /Rust
│── /Solidity
│── /PHP
│── /Ruby
│── /Swift
│── /Kotlin
│── /Dart
│── /TypeScript
│── /C#
│── /R
│── /Lua
│── /Perl
│── /Haskell
│── /Lisp
│── /OCaml
│── /F#
│── /Elm
│── /Julia
│── /MATLAB
│── /VHDL
│── /Verilog
- ✅ Python -
/python/ - ✅ C++ -
/C++/ - ✅ Java -
/Java/ - ✅ JavaScript (Node.js) -
/JavaScript/ - ✅ Go -
/Go/ - ✅ Rust -
/Rust/ - ✅ Solidity (Smart Contracts) -
/Solidity/ - ✅ PHP -
/PHP/ - ✅ Ruby -
/Ruby/ - ✅ Swift -
/Swift/ - ✅ Kotlin -
/Kotlin/ - ✅ Dart -
/Dart/ - ✅ TypeScript -
/TypeScript/ - ✅ C# -
/C#/ - ✅ R -
/R/ - ✅ Lua -
/Lua/ - ✅ Perl -
/Perl/ - ✅ Haskell -
/Haskell/ - ✅ Lisp -
/Lisp/ - ✅ OCaml -
/OCaml/ - ✅ F# -
/F#/ - ✅ Elm -
/Elm/ - ✅ Julia -
/Julia/ - ✅ MATLAB -
/MATLAB/ - ✅ VHDL -
/VHDL/ - ✅ Verilog -
/Verilog/
- ✅ Basic Proof-of-Work (PoW) mechanism
- ✅ Block mining and transaction storage
- ✅ Blockchain validation
- ✅ Simple transaction processing
Each language has its own implementation. Navigate to the corresponding directory and follow the instructions in the README.md inside each folder.
For compiled languages like C++ or Java, follow their respective build instructions.
Feel free to contribute by:
- Adding implementations in new languages
- Improving the performance & security
- Implementing advanced features like Smart Contracts, P2P Networking, etc.
Fork the repository, create a branch, make your changes, and submit a Pull Request! 🚀
MIT License – Free to use, modify, and distribute! 🎯