@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
Syntax
Section titled “Syntax”@circom:vkey(source ptau:<value> system:<value>)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
source | string | circom source code, or a http(s)/ipfs URL to fetch it from |
ptau: | string | Powers-of-tau: ptau:dev or ptau:<url> (default: auto-download a hez file sized to the circuit) |
system: | string | Proof system: `system:groth16 |
See Also
Section titled “See Also”- @circom:verify — off-chain verification with this key
- @circom:verifier — the on-chain counterpart from the same cached setup