Skip to content

@armada/sdk / index / FilesystemArtifactSource

Class: FilesystemArtifactSource

Defined in: src/prover/artifact-source.ts:21

Resolve artifacts from a local armada-circuits/build/ directory (node). node:fs is imported lazily so this module stays bundlable for browser entry points that never call it.

Implements

Constructors

Constructor

new FilesystemArtifactSource(baseDir): FilesystemArtifactSource

Defined in: src/prover/artifact-source.ts:22

Parameters

baseDir

string

Returns

FilesystemArtifactSource

Methods

resolve()

resolve(shape): Promise<ArtifactSet>

Defined in: src/prover/artifact-source.ts:24

Parameters

shape

CircuitShape

Returns

Promise<ArtifactSet>

Implementation of

ArtifactSource.resolve