Skip to content

midnames/midnight-zk

Midnight ZK

Note

This is a fork of the midnight-zk repo. Used for exporting some functions, and playing around with the ASN parser.

This repository implements the proof system used in Midnight, along with tooling for building zero-knowledge circuits.

Repository Structure

  • curves: Implementation of elliptic curves used in midnight, concretely BLS12-381 and JubJub
  • proof-system: Plonk proof system using KZG commitments
  • circuits: Tooling for constructing ZK circuits
  • aggregator: Toolkit for proof aggregation of midnight-proofs.

Acknowledgments

This project was originally built upon the foundations of several outstanding open-source libraries:

We initially maintained the following components as forks:

  • bls12-381 and its embedded jubjub implementation originated as forks of blstrs and jubjub, respectively.
  • proof-system began as a fork of halo2 v0.3.0.

Over time, our codebases have diverged from the upstream projects. These components are no longer maintained as forks and have evolved into standalone implementations tailored to Midnight's needs.

We gratefully acknowledge the authors and maintainers of the original projects.

About

No description or website provided.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages