本文主要侧重于使用snarkjs和circom在工程上跑通Trusted setup以及由circom电路生成对应的solidity验证文件Verifier Phase 1:Power tau contributionsThird-party challengeApply a random beacon to finalize phase 1 of the trusted setupPhase 2:Create the circuitCompile the circuitSet up input and calculate the witnessGroth16 setup or PLONK setupCreate the proofTurn the verifier into a smart contractSimulate a verification call1. 依赖安装:snarkjs, circomnpm install -g snarkjs npm install -g circom snarkjs是zkSnark和PLONK方案的JavaScript和纯web As...