B
B
Baseline Protocol
Search…
Privacy

@baseline-protocol/privacy

Baseline core privacy package.

Installation

npm install @baseline-protocol/privacy(npm package soon to be published)

Building

You can build the package locally with npm run build.

Interfaces

IZKSnarkCircuitProvider
1
compile(source: string, location: string): Promise<any>;
2
computeWitness(artifacts: any, args: any[]): Promise<any>;
3
exportVerifier(verifyingKey): Promise<string>;
4
generateProof(circuit, witness, provingKey): Promise<string>;
5
setup(circuit): Promise<any>;
Copied!

Supported Frontends

The following zkSNARK toolboxes are supported:
  • gnark

Architecture

Last modified 4mo ago