@armada/sdk / index / HttpArtifactSourceOptions
Type Alias: HttpArtifactSourceOptions
HttpArtifactSourceOptions = {
manifest:ArtifactManifest; } | {dangerouslySkipIntegrity:true; } &object
Defined in: src/prover/artifact-source.ts:28
Construction options for HttpArtifactSource. The union is deliberate: a caller must EITHER supply a manifest (the SHA-256 integrity check runs on every resolve) OR explicitly acknowledge the risk with dangerouslySkipIntegrity: true. There is no unverified default — an HTTP origin feeds the circuit wasm/zkey that receive the full private witness, so skipping integrity must be a conscious, greppable decision, not the path of least resistance (SPEC §4.5).
Type Declaration
fetchFn?
readonlyoptionalfetchFn?: typeoffetch
timeoutMs?
readonlyoptionaltimeoutMs?:number
Give up on a shape's download after this long (default 120 000 ms), so a stalled origin can't hang a proof.