@reclaimprotocol/zk-symmetric-crypto
Version:
JS Wrappers for Various ZK Snark Circuits
11 lines (10 loc) • 375 B
TypeScript
import { MakeZKOperatorOpts, ZKOperator } from '../types';
export type ExpanderOpts = {
/**
* Number of parallel workers to use.
* Set to 0 to disable parallelism.
* @default 0
*/
maxWorkers?: number;
};
export declare function makeExpanderZkOperator({ algorithm, fetcher, options: { maxWorkers } }: MakeZKOperatorOpts<ExpanderOpts>): ZKOperator;