interface · Browser and Node
CircuitArtifacts
@toip-tools/anon-membershipView sourceimport { type CircuitArtifacts } from "@toip-tools/anon-membership";
Declaration
interface CircuitArtifacts {
id: string;
depth: number;
/** nargo's compiled program: bytecode and ABI. */
circuit: CompiledCircuit;
/** The UltraHonk verification key, for the zero-knowledge noir-recursive target. */
vk: Uint8Array;
/** Hex SHA-256 of `vk`. */
vkHash: string;
gates: number;
/** CRS points the prover needs. */
crsPoints: number;
}
Properties
idrequiredstringdepthrequirednumbercircuitrequiredCompiledCircuitnargo's compiled program: bytecode and ABI.
vkrequiredUint8Array<ArrayBufferLike>The UltraHonk verification key, for the zero-knowledge noir-recursive target.
vkHashrequiredstringHex SHA-256 of
vk.gatesrequirednumbercrsPointsrequirednumberCRS points the prover needs.