lambdaworks-groth16-ts
Version:
TypeScript bindings for LambdaWorks Groth16 SNARK prover
41 lines • 1.16 kB
TypeScript
import { Groth16Prover } from "./prover";
import { Groth16Verifier } from "./verifier";
import { TrustedSetupManager } from "./setup";
import { FieldOperations } from "./field";
import { CircuitProcessor } from "./circuit";
export declare class LambdaWorksGroth16 {
private wasmInstance;
private _prover;
private _verifier;
private _setupManager;
private _fieldOps;
private _circuitProcessor;
private constructor();
/**
* Initialize the LambdaWorks Groth16 library
*/
static init(wasmPath?: string): Promise<LambdaWorksGroth16>;
/**
* Get the Groth16 prover instance
*/
get prover(): Groth16Prover;
/**
* Get the Groth16 verifier instance
*/
get verifier(): Groth16Verifier;
/**
* Get the trusted setup manager instance
*/
get setupManager(): TrustedSetupManager;
/**
* Get the field operations instance
*/
get fieldOps(): FieldOperations;
/**
* Get the circuit processor instance
*/
get circuitProcessor(): CircuitProcessor;
}
export default LambdaWorksGroth16;
export * from './types';
//# sourceMappingURL=index.d.ts.map