Skip to content

@circom:vkey

Compile circom source, run the in-place setup and return the verification key as JSON, for @circom:verify off-chain checks. Shares the compile and setup caches with @circom:verifier and circom:prove --circom.

⚗️ Experimental — available at next.evmcrispr.com.

Returns: string

@circom:vkey(source ptau:<value> system:<value>)
NameTypeDescription
sourcestringcircom source code, or a http(s)/ipfs URL to fetch it from
ptau:stringPowers-of-tau: ptau:dev or ptau:<url> (default: auto-download a hez file sized to the circuit)
system:stringProof system: `system:groth16