Apache Tuweni

Clone this repo:
  1. 96fe4b6 Merge pull request #37 from YouJustDontKnow/enr-encoding-fix by Antoine Toulme · 6 days ago master
  2. 0c941f7 fix ENR encoding, was written excessive bytes, so decoding was not working by George Bisiarin · 6 days ago
  3. f6c3e5b Merge branch 'master' of github.com:apache/incubator-tuweni by Antoine Toulme · 4 weeks ago
  4. 0330d13 Move to 0.10.0 by Antoine Toulme · 4 weeks ago
  5. 062d76b Merge pull request #35 from TomLisankie/patch-2 by Antoine Toulme · 4 weeks ago

Tuweni: Apache Core Libraries for Java (& Kotlin)

Build Status License Maven Central Sonatype Nexus (Snapshots)

See our web site for details on the project.

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.

Build Instructions

You need to have Gradle and Java installed.

Tuweni requires Gradle 5.0 or higher.

Java 8 should be used for building in order to support both Java 8 and Java 11 at runtime.

Clone along with submodules

git clone https://github.com/apache/incubator-tuweni.git tuweni
cd tuweni
git submodule update --init --recursive

First bootstrap and download the wrapper

gradle setup

This downloads gradle and installs helper scripts for the project under ./gradlew and ./gradlew.bat.

Build the project

./gradlew build

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


Your contributions are very welcome! Here are a few links to help you:

Mailing lists

More information


Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.