This is simple block-chain library for java.
- ledger - Keeps the ordered sequence of blocks.
- genesis block - First block in the ledger. Hash of previous block in genesis block is empty or of any value.
- hash - contains hash of data and previous block hash combined.
- data - useful data payload.
gradle clean install test publishToMavenLocal
<dependency>
<groupId>itx.blockchain</groupId>
<artifactId>blockchain</artifactId>
<version>1.0.0</version>
</dependency>
compile 'itx.blockchain:blockchain:1.0.0'
- Basic Ledger - basic ledger implementation
itx.blockchain.api.*
Example of use:itx.blockchain.test.LedgerTest
- Proof-of-work ledger - extensions for proof-of-work ledger
itx.blockchain.pow.*
Example of use:itx.blockchain.test.PowTests
- Signed Data payload - utilities for signed data payload io operations
itx.blockchain.signed
. Example of use:itx.blockchain.test.SignedDataTests