You can use this Java library to perform common functions for the Easy Blockchain API
- Determine Chain and Entry IDs before anchoring in the blockchain, see: id calculation documentation
- Create hashes of content
- Create chain links to other chains, entries or contexts at any level, see: chainlink documentation
To clone and use this library application, you'll need Git, Maven and your favorite Java IDE. Of course we also provide releases in our maven repository
# Clone this repository
> git clone https://github.com/Sphereon-OpenSource/easy-blockchain-lib.git
# Go into the repository
> cd easy-blockchain-lib
# Build and install into your Maven repository
> mvn clean install
# Use the artifact in your Maven pom or Gralde build configuration
<repositories>
<repository>
<id>sphereon-public</id>
<name>Sphereon Public</name>
<url>http://nexus.qa.sphereon.com/repository/sphereon-public/</url>
</repository>
</repositories>
...
<dependency>
<groupId>com.sphereon.public</groupId>
<artifactId>easy-blockchain-lib-main</artifactId> <!-- Use easy-blockchain-lib-osgi for OSGI bundle -->
<version>0.1.0</version>
</dependency>
Links
Documentation · SDKs · Java SDK · Sphereon.com ·