Teku is a Java implementation of the Ethereum 2.0 Beacon Chain. See the Changelog for details of the latest releases and upcoming breaking changes.
- Ethereum 2.0 Beacon Chain specification
- Teku user documentation
- Teku REST API reference documentation
- Teku issues
- Contribution guidelines
- Teku Changelog
See our user documentation.
Binary releases are available from the releases page.
Binary builds that track the latest changes on the master branch are available on
Dockerhub using the
develop version or as binary
downloads (tar.gz format
or zip format).
We recommend only using release versions for Mainnet, but
develop builds are useful for testing
the latest changes on testnets.
Release notifications are available via:
- Sign up to our release announcements email list (release and important announcements only, no marketing)
- Follow us on Twitter
tekuin Consensys Discord,
- Subscribe to release notifications on github for teku
- Java 11+
Note: Official builds of Teku are performed with Java 11. Building on a more recent version of Java is supported, but the resulting build will not work on earlier versions of Java.
Build and Dist
To create a ready to run distribution:
git clone https://github.com/ConsenSys/teku.git cd teku && ./gradlew distTar installDist
- Fully packaged distribution in
- Expanded distribution, ready to run in
Build and Test
To build, clone this repo and run with
git clone https://github.com/ConsenSys/teku.git cd teku && ./gradlew
After a successful build, distribution packages are available in
Other Useful Gradle Targets
|distTar||Full distribution in build/distributions (as
|distZip||Full distribution in build/distributions (as
|installDist||Expanded distribution in
We use Google's Java coding conventions for the project. To reformat code, run:
Code style is checked automatically during a build.
All the unit tests are run as part of the build, but can be explicitly triggered with:
YourKit for providing us with a free profiler open source license.
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.