zk-expo
Version:
Expo Module to create Zero-Knowledge Proofs for Groth16 & Noir on iOS and Android.
14 lines • 665 B
TypeScript
export interface ProofPoint {
a: [string, string];
b: [[string, string], [string, string]];
c: [string, string];
}
export interface ProofResult {
proof: ProofPoint;
publicSignals: string[];
}
export declare function groth16ProveV2(graph_path: string, zkey_path: string, inputs: string): Promise<ProofResult>;
export declare function groth16ProveV2Base64(graph_b64: string, zkey_b64: string, inputs: string): Promise<ProofResult>;
export declare function addToCache(functionName: "groth16_prove_v2" | undefined, path1: string, path2: string): Promise<void>;
export declare function clearCache(): Promise<void>;
//# sourceMappingURL=index.d.ts.map