Skip to content

Modular ZK(Zero Knowledge) backend accelerated by GPU

License

Notifications You must be signed in to change notification settings

ingonyama-zk/tachyon-debug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation







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

About

Modular ZK(Zero Knowledge) backend accelerated by GPU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.3%
  • Starlark 7.0%
  • Smarty 2.0%
  • C 1.7%
  • Objective-C++ 1.0%
  • Python 0.7%
  • Other 1.3%