/incubator-tuweni

Apache Tuweni

Primary LanguageJavaApache License 2.0Apache-2.0

Tuweni: Apache Core Libraries for Java (& Kotlin)

Build Status License Download

In the spirit of Google Guava, Tuweni 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.

Tuweni is developed for JDK 1.8 or higher, and depends on various other FOSS libraries, including Guava.

Getting tuweni

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 tuweni jar.

With Maven:

<dependency>
  <groupId>org.apache.tuweni</groupId>
  <artifactId>tuweni</artifactId>
  <version>0.6.0</version>
</dependency>

With Gradle: compile 'org.apache.tuweni:tuweni:0.6.0'

PACKAGES.md contains the list of modules and instructions to import them separately.

Build Instructions

To build, clone this repo and run with ./gradlew like so:

git clone --recursive https://github.com/apache/incubator-tuweni
cd incubator-tuweni
./gradlew

After a successful build, libraries will be available in build/libs.

Links