zk-SNARK 参数多方计算协议
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.
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:
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.
r1cs: 6111c2bce234867201d887170d68712c8f8785a1c97d43ab4ca540d7704ee8f7
transcript: 7da0c07a4bec04fbe4ae99ebd62d4ce7e1710b1f7a1f317345b0a48feec984d3
sprout-proving.key: 8bc20a7f013b2b58970cddd2e7ea028975c88ae7ceb9259a5344a16bc2c0eef7
sprout-verifying.key: 4bd498dae0aacfd8e98dc306338d017d9c08dd0918ead18172bd0aec2fc5df82
finalmpc2-compute.iso: 5f43aa1244a01b3cf9da4abeadde9e34b954a873565fc56b58c10780f3ce0e4c
finalmpc2-network.iso: 375550be4c64ebc68a9306421bb71ad3556bc73f156a231503084f923900f4cb
This is the rank-1 quadratic constraint system used by Zcash. You can use Zcash to construct it with the following PR: .
This is a transcript of the protocol that can be used to verify the protocol's evaluation and construct the proving/verifying keys.
These are the final parameters that can be built from the transcript.
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.
The code used for the ceremony was tagged at finalmpc2. It's mostly written in Rust.
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.
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:
…Licensed under either of
at your option.
This dual license applies to all of the files listed in the assets section of this README.
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.
暂无开放 Issues,或尚未同步最近议题。