Skip to main content

tachyon

Overview

Tachyon is a Modular ZK Backend, powered by GPU.

Join Our Developer Community

We're thrilled to have you become a part of our community!

If your passion for Tachyon matches ours, we extend a warm invitation for you to join our developer community on Telegram. Ask questions, share insights, or simply stay informed on Tachyon's newest updates with other developers and the original team through our Telegram group. We hope to see you there!

Thank you for your keen interest in contributing to Tachyon! ✨

Design Goals

  1. General Purpose: A versatile ZK library empowers developers to implement any proving scheme with minimal effort, often enhancing developer productivity. To create a general-purpose backend, aligning the code structure as closely as possible with the algebraic structure is paramount.
  2. Easy to Use: Achieving widespread adoption is essential for the success of any product. Consequently, one of the key focal points of the Tachyon project is to include offering packages for various programming languages and runtimes.
  3. Blazing Fast: Tachyon's foremost requirement is speed, and not just any speed, but blazing speed! This entails Tachyon delivering exceptional performance on both CPU and GPU platforms.
  4. GPU Interoperability: Tachyon's code is designed to be compatible with both CPU and GPU in the majority of scenarios.

List of Features

Symbol Definitions:

  • ✔️ Currently supported.
  • 🏗️ Partially implemented or is under active construction.
  • Not currently supported.

Finite Fields

CPUGPU
BabyBear✔️✔️
BinaryFields✔️✔️
Goldilocks✔️✔️
Mersenne-31✔️✔️
KoalaBear✔️✔️

Elliptic Curves

CPUGPU
BN254✔️✔️
BLS12-381✔️✔️
Secp256k1✔️✔️
Pallas✔️✔️
Vesta✔️✔️

Commitment Schemes

CPUGPU
GWC✔️✔️
SHPlonk✔️✔️
FRI✔️
Pedersen✔️✔️

Hashes

CPUGPU
Poseidon✔️
Poseidon2✔️

FFT

CPUGPU
Radix2FFT✔️✔️
MixedRadixFFT✔️✔️

Lookups

CPUGPU
Halo2✔️

SNARKs

CPUGPU
Groth16✔️✔️
Halo2✔️

Frontends

CPUGPU
Circom(groth16)✔️✔️
Halo2✔️

Roadmap

  • 2024Q1 - Enable producing the zkEVM proof.
  • 2024Q2 - Replace Halo2 with Tachyon in Kroma mainnet.
  • 2024Q3a - Implement and optimize Plonky3 in Tachyon.
  • 2024Q3b - Replace zkEVM with SP1 zkVM in Kroma mainnet.

Prerequisites

Bazel

Please follow the instructions here.

Ubuntu

sudo apt install libgmp-dev libomp-dev

Macos

brew install gmp libomp

Getting started

Build

bazel build --config {os} //...

Test

bazel test --config {os} //...

Check How To Build for more information.