Cava: ConsenSys Core Libraries for Java (& Kotlin)
In the spirit of Google Guava, Cava is a set of libraries and other tools to aid development of blockchain and other decentralized software in Java and other JVM languages.
It includes a low-level bytes library, serialization and deserialization codecs (e.g. RLP), various cryptography functions and primatives, and lots of other helpful utilities.
Cava is developed for JDK 1.8 or higher, and depends on various other FOSS libraries, including Guava.
Note that these libraries are experimental and are subject to change.
The libraries are published to ConsenSys bintray repository, synced to JCenter and Maven Central.
You can import all modules using the cava jar.
<dependency> <groupId>net.consensys.cava</groupId> <artifactId>cava</artifactId> <version>0.3.1</version> </dependency>
PACKAGES.md contains the list of modules and instructions to import them separately.
To build, clone this repo and run with
./gradlew like so:
git clone --recursive https://github.com/ConsenSys/cava cd cava ./gradlew
After a successful build, libraries will be available in