2017-02-19 16:45:10 +01:00
# jABCI
2016-06-27 10:49:05 +02:00
2018-09-21 15:45:30 +02:00
A Java implementation of the Tendermint Application BlockChain Interface ([ABCI ](https://github.com/tendermint/tendermint/tree/master/types ))
2016-06-27 10:49:05 +02:00
2017-10-25 15:30:13 +02:00
[](https://circleci.com/gh/jTendermint/jabci)
2016-06-27 10:49:05 +02:00
## How to use
2017-02-19 16:45:10 +01:00
Check out [StartupExampleDummy.java ](https://github.com/jTendermint/jabci/blob/master/src/main/java/com/github/jtendermint/jabci/StartupExampleDummy.java ) or [JavaCounter.java ](https://github.com/jTendermint/jabci/blob/master/src/main/java/com/github/jtendermint/jabci/JavaCounter.java ) for examples.
2016-06-28 00:13:24 +02:00
2017-03-13 19:06:45 +01:00
#### Maven integration
2019-09-10 16:50:09 +03:00
jABCI v0.32.3 Release is now available via maven central. Use the following dependency to include the latest release:
2017-05-02 19:46:02 +02:00
```xml
< dependency >
< groupId > com.github.jtendermint< / groupId >
< artifactId > jabci< / artifactId >
2019-09-10 16:50:09 +03:00
< version > 0.32.3< / version >
2017-05-02 19:46:02 +02:00
< / dependency >
```
2016-06-28 00:13:24 +02:00
#### 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.
2017-04-21 13:26:29 +02:00
Just switch the comments on line [pom.xml ](https://github.com/jTendermint/jabci/blob/master/pom.xml#L86 ).
2017-02-19 17:18:21 +01:00
2018-11-06 12:36:38 +01:00
From commandline:
```
cd jabci/src/main/java
protoc --java_out=. --proto_path=../proto/. ../proto/types.proto
```
2017-02-19 17:18:21 +01:00
2018-04-10 13:21:15 +02:00
#### Compatibility
| jabci | tendermint |
|----------|------------|
| 0.12.x | 0.12.x |
| 0.15 | 0.15.0 |
| 0.16 | 0.16.0 |
| 0.17.1 | 0.17.0 |
| 0.17.1 | 0.17.1 |
| 0.17.1 | 0.18.0 |
2018-04-20 15:11:31 +02:00
| 0.17.1 | 0.19.0 |
2018-10-02 11:07:44 +02:00
| 0.20.0.x | 0.20.x |
| 0.20.0.x | 0.21.x |
| 0.20.0.x | 0.22.x |
| 0.24.0 | 0.24 |
| 0.24.0 | 0.25 |
2019-03-11 13:06:38 +01:00
| 0.26.0 | 0.26 - 0.30.1 |
2019-09-10 16:50:09 +03:00
| 0.32.3 | 0.32.3 |