Skip to content

Latest commit

 

History

History
129 lines (89 loc) · 4.12 KB

README.md

File metadata and controls

129 lines (89 loc) · 4.12 KB






Overview

Tachyon is a Modular ZK Backend, powered by GPU.

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

CPU GPU
BabyBear ✔️ ✔️
BinaryFields ✔️ ✔️
Goldilocks ✔️
Mersenne-31 ✔️ ✔️
KoalaBear ✔️ ✔️

Elliptic Curves

CPU GPU
BN254 ✔️ ✔️
BLS12-381 ✔️ ✔️
Secp256k1 ✔️ ✔️
Pallas ✔️ ✔️
Vesta ✔️ ✔️

Commitment Schemes

CPU GPU
GWC ✔️ 🏗️
SHPlonk ✔️ 🏗️
FRI ✔️
Pedersen ✔️

Hashes

CPU GPU
Poseidon ✔️
Poseidon2 ✔️

Lookups

CPU GPU
Halo2 ✔️

SNARKs

CPU GPU
Groth16 ✔️
Halo2 ✔️

Frontends

CPU GPU
Circom(groth16) ✔️
Halo2 ✔️

Roadmap

  • 2024Q1 - Enable producing the zkEVM proof.
  • 2024Q2 - Replace Halo2 with Tachyon in Kroma mainnet.
  • 2024Q3 - Implement Halo2 GPU.
  • 2024Q4 - Implement Halo2 Folding Scheme.

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.

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! ✨