15 stable releases
Uses new Rust 2024
| 3.1.0 | Oct 2, 2025 |
|---|---|
| 3.0.9 | Oct 14, 2025 |
| 3.0.5 | Sep 18, 2025 |
| 2.0.1 |
|
| 1.2.0 | Jan 13, 2025 |
#13 in #sapling
568 downloads per month
Used in 16 crates
(3 directly)
1MB
19K
SLoC
MASP circuits and proofs.
masp_proofs contains the zk-SNARK circuits used by MASP based on Zcash Sapling, and the APIs for creating
and verifying proofs.
GPU acceleration
CUDA and OpenCL backends are supported via bellperson. To enable them,
set the RUSTFLAGS environment variable to --cfg $backend, where $backend assumes
the following values:
masp_proof_backend_cudafor CUDA.masp_proof_backend_openclfor OpenCL.
These cfg flags are mutually exclusive.
masp_proofs
This library contains the zk-SNARK circuits for MASP, based on the circuits for Zcash Sapling, and the APIs for creating and verifying proofs.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~17–32MB
~467K SLoC