@umbra-privacy/prover
v0.2.0
Published
Groth16 proving for Umbra's circuits: the umbra-prover wasm backend for the browser, a snarkjs backend as its differential oracle, and circom witness generation. Data and free functions, one entry point per implementation. Pre-release (0.x): every API, ty
Readme
@umbra-privacy/prover
Groth16 proving for Nimbus's circuits: the umbra-prover WebAssembly backend for the browser, a snarkjs backend that checks it, and circom witness generation. Each implementation has its own entry point.
Most apps don't install it directly. It is a building block of @umbra-privacy/nimbus-solana-web, which installs it for you.
Pre-release (0.x): every API, type and behaviour is subject to change at any time, as and when the Nimbus Privacy team (built by Umbra Privacy) decides or requires.
Install
pnpm add @umbra-privacy/proverEntry points
@umbra-privacy/prover: The shared contract: proof and statement shapes, the prover error, andproveStatement.@umbra-privacy/prover/umbra: The umbra-prover WebAssembly backend.@umbra-privacy/prover/umbra-workers: The same prover across shard workers that share no memory, for a page served without COOP and COEP.@umbra-privacy/prover/snarkjs: The snarkjs backend.@umbra-privacy/prover/witness: The circom witness calculator.@umbra-privacy/prover/environment: The environment probe and thread planner.@umbra-privacy/prover/testing: Fakes for tests.@umbra-privacy/prover/types: The interfaces and type aliases of the implementation entries.@umbra-privacy/prover/core/types: The vocabulary every backend shares: proofs, statements, the context, the error and circuit inputs.@umbra-privacy/prover/testing/types: The interfaces the fakes in./testingrecord their calls in.
License
Apache-2.0
Nimbus Privacy (built by Umbra Privacy)
