@midnight-ntwrk/midnight-js-types v0.2.5 • API
Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-types / ZKConfig
Interface: ZKConfig<K>
Contains all information required by the ProofProvider
Type parameters
• 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.