Simple Blockchain Java Reference Implementation
This repo contains an example of a blockchain without a specific vendor written in Java.
This is a companion project to accompany the 2018 Keyhole Software White Paper, Blockchain for the Enterprise. There is a similar example companion project written in C#.
Installation and running
1. Clone Repo
2. Import into IDE as Maven project and/or execute JUnit tests.
JDK 1.8+ required.
helpers.HashTest.java - Calculate a SHA256 hash string from message
nonce.NonceTest.java - Mine a Hash using a Nonce Key
simple.chain.SimpleChainTest.java - Create a block chain and add and order blocks