Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mpc

> 编程语言
Open source

zk-SNARK parameter multi-party computation protocol

176 stars0 likes1 views
WebsiteGitHub

About

zk-SNARK parameter multi-party computation protocol

mpc

This is a multi-party computation protocol for the key-generation step of Pinocchio zkSNARKs [PGHR13] designed for use in the Zcash "Sprout" public parameter ceremony.

Zcash Ceremony

The public parameters (zk-SNARK proving and verifying keys) for Zcash's 1.0 "Sprout" launch were constructed in a ceremony that took place on October 22-23.

The following individuals participated in the ceremony:

  • Andrew Miller
  • Peter Van Valkenberg
  • John Dobbertin
  • Zooko Wilcox
  • Derek Hinch
  • Peter Todd

The ceremony used a multi-party computation protocol with the property that the resulting parameters are secure unless all of the participants were dishonest or compromised during the ceremony.

Assets

r1cs: 6111c2bce234867201d887170d68712c8f8785a1c97d43ab4ca540d7704ee8f7

transcript: 7da0c07a4bec04fbe4ae99ebd62d4ce7e1710b1f7a1f317345b0a48feec984d3

sprout-proving.key: 8bc20a7f013b2b58970cddd2e7ea028975c88ae7ceb9259a5344a16bc2c0eef7

sprout-verifying.key: 4bd498dae0aacfd8e98dc306338d017d9c08dd0918ead18172bd0aec2fc5df82

finalmpc2-compute.iso: 5f43aa1244a01b3cf9da4abeadde9e34b954a873565fc56b58c10780f3ce0e4c

finalmpc2-network.iso: 375550be4c64ebc68a9306421bb71ad3556bc73f156a231503084f923900f4cb

r1cs

This is the rank-1 quadratic constraint system used by Zcash. You can use Zcash to construct it with the following PR: .

transcript

This is a transcript of the protocol that can be used to verify the protocol's evaluation and construct the proving/verifying keys.

sprout-*.key

These are the final parameters that can be built from the transcript.

finalmpc2-*.iso

These are reproducibly generated Live CD images used during the ceremony, using a modified Alpine Linux distribution.

The minimal operating system is patched with grsecurity, an extensive security enhancement to the Linux kernel. The compute nodes have a restrictive RBAC (role-based access control) policy which is intended to allow only the execution of code and granting of permissions that are necessary for its function. The ISOs are built inside Docker containers.

Code and verification

The code used for the ceremony was tagged at finalmpc2. It's mostly written in Rust.

ISOs

The participants all booted from the finalmpc2-compute.iso on hardware they obtained securely. It can be reproducibly built using the build-iso.sh tool. Some of the participants also used finalmpc2-network.iso for the networking during the ceremony, though it was not necessary.

Transcript verification

Given r1cs and transcript, and powerful enough hardware, you can verify the protocol transcript and construct pk/vk within a few hours. Run cargo run --release --bin verifier.

Here is the log from verifying the transcript:

…

License

Licensed under either of

  • MIT license, (LICENSE-MIT or http://opensource.org/licenses/MIT)
  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

at your option.

This dual license applies to all of the files listed in the assets section of this README.

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.

Authors

  • Sean Bowe
  • Ariel Gabizon
  • Matthew Green

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言