jABCI
A Java implementation of the Tendermint Application BlockChain Interface (ABCI)
How to use
Check out StartupExampleDummy.java or JavaCounter.java for examples.
Maven integration
jABCI is available via central's snapshot repository. A release version should be available soon.
The current snapshot repository is: https://oss.sonatype.org/content/repositories/snapshots/
which can be used by adding the repository:
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
Use the following dependency to include jABCI in your project:
<dependency>
<groupId>com.github.jtendermint</groupId>
<artifactId>jabci</artifactId>
<version>0.9.0-SNAPSHOT</version>
<scope>compile</scope>
<!-- you might want to exclude slf4j, depending on your setup -->
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</exclusion>
</exclusions>
</dependency>
Update protobuf types
When you make changes to the protobuf file, you can enable the appropriate build-phase for the compiler-plugin to generate the file(s) in the target-directory. Just switch the comments on line pom.xml.
Looking for TMSP?
The Tendermint protocol was changed from TMSP to ABCI. While these where just minor changes, we wanted to completely reflect all the naming changes in this project. If you're still developing with Tendermint v0.8 and prior check out the 0.8 version of jTMSP