Skip to content

@lelantos-org/sdk / index / ProverConfig

Interface: ProverConfig ​

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:115

Properties ​

artifacts? ​

ts
optional artifacts?: ProverArtifacts;

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:117

Circuit artifacts. Node default: the @lelantos-org/circuits companion package.


backend? ​

ts
optional backend?: "auto" | "wasm" | "snarkjs";

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:121

"auto" (default): wasm, falling back to snarkjs when wasm fails to load.


cdn? ​

ts
optional cdn?: string;

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:119

Self-hosted base URL serving <shape>.wasm and <shape>_final.zkey.


prove? ​

ts
optional prove?: undefined;

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:132

Keeps a Prover from also matching this shape.


threads? ​

ts
optional threads?: number;

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:130

Prover thread count. Default: runtime concurrency.


warmup? ​

ts
optional warmup?: "lazy" | "eager";

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:126

"lazy" (default): nothing is fetched until the first proof or warmProver(), so connect does no artifact I/O. "eager": start fetching and warming in the background once connected.


worker? ​

ts
optional worker?: WorkerFactory;

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:128

Run proving in a worker built by this factory.