Create SNARK proving and verifying key from the parsed R1CS file.

Constructors

Methods

  • Create proving key from a parsed R1CS file. Returns the compressed proving key.

    Parameters

    • parsedR1cs: ParsedR1CSFile
    • OptionalcommitWitnessCount: number

      If not provided, uses the number of private inputs (only explicitly defined, not intermediate) to the circuit

    Returns LegoProvingKey