Home

Awesome

Kimchi

codecov CI dependency status

This repository contains kimchi, a general-purpose zero-knowledge proof system for proving the correct execution of programs.

You can read more about this project on the Kimchi book, or for a lighter introduction in this blogpost.

See here for the rust documentation.

User Warning

This project comes as is. We provide no guarantee of stability or support, as the crates closely follow the needs of the Mina project.

If you use this project in a production environment, it is your responsibility to perform a security audit to ensure that the software meets your requirements.

Performance

At the time of this writing:

Proving time

number of gatesseconds
2^110.6s
2^153.3s
2^166.3s

Verification time

number of gatesseconds
2^150.1s
2^160.1s

Proof size

number of gatesbytes
2^154947
2^165018

Organization

The project is organized in the following way:

Contributing

Check CONTRIBUTING.md if you are interested in contributing to this project.

Generate rustdoc locally

An effort is made to have the documentation being self-contained, referring to the mina book for more details when necessary. You can build the rust documentation with

<!-- This must be the same than the content in .github/workflows/gh-page.yml -->
rustup install nightly
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --all --no-deps

You can visualize the documentation by opening the file target/doc/index.html.

CI

<!-- Please update this section if you add more workflows -->

Nix for Dependencies (WIP)

If you have nix installed and in particular, flakes enabled, you can install the dependencies for these projects using nix. Simply nix develop . inside this directory to bring into scope rustup, opam, and go (along with a few other tools). You will have to manage the toolchains yourself using rustup and opam, in the current iteration.