Skip to content

chen0040/java-basic-blockchain

Repository files navigation

java-basic-blockchain

Proof-of-concept block chain implementation in Java

This project is a java POC implementation of a python basic block chain implementation

Usage

Build the block chain jar file using make.ps1 (on Windows) or make.sh (on Unix), this will create the jar file basic-blockchain.jar

Now run the following command:

java -jar basic-blockchain.jar

This will start the block chain node at http://localhost:3088

Now to run a second basic block chain node:

java -jar basic-blockchain.jar http://localhost:3088

This will start the second block chain node at http://localhost:3089 and uses the node at http://localhost:3088 as the seed node to broadcast its ip address.

The following api is available for the block chain:

About

Proof-of-concept blockchain implementation in Java

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published