BlockChain Implementation with Java.
- Open the folder as project in InteliJ.
- Change all database connections filepaths to your local machine.
- Run. If you want to run multiple peers:
- Copy Paste the same folder and open the multiple folders in Intelij in paralel
- Make sure they don't share database connection filepaths.
- Change local peer port and peer client ports for each copy accordingly. (They are hard coded in the code)
For More info check out Chapter 7 of Introducing Blockchain with Java: Program, Implement, and Extend Blockchains with Java 1st ed. Edition