This project implements a basic blockchain using core Java. It includes functionalities such as block creation, transaction handling, and storage of transactions in JSON files. Additionally, a Merkle tree is generated using the SHA-256 hashing algorithm for all user transactions.
- Core Java
- Netbeans 17
- Create Blocks: Each block in the blockchain has a unique block ID.
- Add Transactions: New transactions can be added to a block.
- Multiple Transactions: Multiple transactions can be added to a single block.
- Unique Hashes: Each transaction has a unique hash.
- Merkle Root: A Merkle root is created using the hashes of all transactions.
- JSON File Storage: All transactions are maintained in JSON files.
- Install the Project: Download and unzip the project.
- Add Gson Library: Place the Gson JAR file in your NetBeans dependency folder.
- Run the Project: Execute the project in your NetBeans IDE.
© 2024 Abhishek Jariwala