Skip to content

@lelantos-org/sdk / prover / ProverArtifacts

Interface: ProverArtifacts ​

Defined in: @lelantos-org/sdk/dist/prover/types.d.ts:10

Snarkjs Groth16 artifacts: WASM witness calculator + final zkey.

Properties ​

circuit ​

ts
circuit: Url;

Defined in: @lelantos-org/sdk/dist/prover/types.d.ts:12

<circuit>.wasm — circom-generated witness calculator.


sha256? ​

ts
optional sha256?: ArtifactDigests;

Defined in: @lelantos-org/sdk/dist/prover/types.d.ts:21

Expected SHA-256 of each file. When set, bytes that hash to anything else are refused (PROVER_ARTIFACTS_FAILED) before they are parsed, whether they came from the network, disk or a cache. PROVER_ARTIFACT_SHA256 holds the digests of the published release.


zkey ​

ts
zkey: Url;

Defined in: @lelantos-org/sdk/dist/prover/types.d.ts:14

<circuit>_final.zkey — phase-2 contribution output.