Skip to main content

ProvableCircuit

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.21.0


@midnight-ntwrk/compact-runtime / ProvableCircuit

Type Alias: ProvableCircuit()

type ProvableCircuit = (context, ...args) => Promise<CircuitResults>;

A circuit that threads the circuit context and produces proof data.

any[] because parameters are contravariant: unknown[] accepts no real circuit and never[] can't be called. The result is any to match.

Parameters​

context​

CircuitContext

args​

...any[]

Returns​

Promise<CircuitResults>