toip.tools

interface · Browser and Node

CircuitArtifacts

@toip-tools/anon-membershipView source
TypeScriptImport
import { type CircuitArtifacts } from "@toip-tools/anon-membership";

Declaration

TypeScriptinterface
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

idrequired
string
depthrequired
number
circuitrequired
CompiledCircuit

nargo's compiled program: bytecode and ABI.

vkrequired
Uint8Array<ArrayBufferLike>

The UltraHonk verification key, for the zero-knowledge noir-recursive target.

vkHashrequired
string

Hex SHA-256 of vk.

gatesrequired
number
crsPointsrequired
number

CRS points the prover needs.