Giter VIP home page Giter VIP logo

taiga's Introduction

Taiga

Taiga is a framework for generalized shielded state transitions. This repository contains the implementation of Taiga in Rust. It is a WIP project and cannot be used in production yet.

Specifications

  • How Taiga works (with code examples)
  • Cryptographic details of Taiga
  • Current performance details
  • Choice of ZK-proof implementation. Currently, we use the PLONK implementation of ZK-Garage. The current choice of proof system is not final and might change, as well as the curves we chose:
    • The main curve is bls12_381_new, a different curve from the well-known bls12_381. Poseidon hash circuits are small for the base field and the scalar field of this curve.
    • The inner curve is ed_on_bls12_381_new. Its base field is the main curve scalar field and it has a small degree endomorphism enabling faster scalar multiplications compared to ed_on_bls12_381.
    • The outer curve is bw6_764_new. Its scalar field is the base field of the main curve.

How to run

The Taiga book

To generate the Taiga book, run:

cd book
mdbook serve --open

Validity predicate examples

We provide several VP examples. To generate VP example proofs and verify them, run:

cargo test vp_example --release

Things yet to implement

  • Blake2 hash circuits and all of the proofs that use blake2s
  • The main curve base field Poseidon hash circuit
  • Proper note encryption
  • Proper blinding algorithm

taiga's People

Contributors

simonmasson avatar xuyangsong avatar vveiln avatar acentelles avatar joebebel avatar mariari avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.