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​
readonlycircuitId:K
A circuit identifier.
proverKey​
readonlyproverKey:ProverKey
The prover key corresponding to ZKConfig.circuitId.
verifierKey​
readonlyverifierKey:VerifierKey
The verifier key corresponding to ZKConfig.circuitId.
zkir​
readonlyzkir:ZKIR
The zero-knowledge intermediate representation corresponding to ZKConfig.circuitId.