Skip to content

Blockchain Hashing is a Java program that implements a MerkleTree for use in a blockchain. The project taught the creator about implementing algorithms and methods in Java for use in a blockchain.

Notifications You must be signed in to change notification settings

vmsaif/block_chain_hashing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Hashing

Hits

A Java program that implements a MerkleTree to be used in a blockchain.

What I Learned

In this project, I learned about:

  • Blockchain technology and how it works
  • Merkle Trees and their use in Blockchain
  • Implementing algorithms and methods in Java, including:
    • Building a Merkle Tree from transactions
    • Adding a block to a Blockchain
    • Solving the Proof-of-Work puzzle
    • Validating the integrity of a Blockchain if a block is corrupted

Running the Code

To run the project, follow these steps:

  1. Make sure you have the Java Development Kit (JDK) and JavaFX installed on your machine.
  2. Install VSCode.
  3. Install this VSCode Extension Pack for Java from here
  4. Git clone this repository from VSCode
  5. From the explorer, open src\main\java\blockchain_hashing\BLOCKCHAIN.java
  6. Click run button from the top right corner area.

If your are having trouble with the environment installation, refer here.

About

Blockchain Hashing is a Java program that implements a MerkleTree for use in a blockchain. The project taught the creator about implementing algorithms and methods in Java for use in a blockchain.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages