Skip to main content

ZKConfig

Midnight.js API Reference v2.0.2


Midnight.js API Reference / @midnight-ntwrk/midnight-js-types / ZKConfig

Interface: ZKConfig<K>

Contains all information required by the ProofProvider

Type Parameters​

K​

K extends string

The type of the circuit ID.

Properties​

circuitId​

readonly circuitId: K

A circuit identifier.


proverKey​

readonly proverKey: ProverKey

The prover key corresponding to ZKConfig.circuitId.


verifierKey​

readonly verifierKey: VerifierKey

The verifier key corresponding to ZKConfig.circuitId.


zkir​

readonly zkir: ZKIR

The zero-knowledge intermediate representation corresponding to ZKConfig.circuitId.