Prepare inputs given to the Circom program for feeding into composite proof system. NOTE: The functions setPrivateInput, setPrivateArrayInput, setPublicInput and setPublicArrayInput MUST be called in the same order as the inputs (circuit variables) are defined in the program

Constructors

Properties

privates: string[]
publics: string[]
wires: Map<string, Uint8Array[]>

Methods

  • Set a private input with am array value

    Parameters

    • name: string
    • values: Uint8Array[]

    Returns void

  • Set a private input with a non-array value

    Parameters

    • name: string
    • value: Uint8Array

    Returns void

  • Set a public input with am array value

    Parameters

    • name: string
    • values: Uint8Array[]

    Returns void

  • Set a public input with a non-array value

    Parameters

    • name: string
    • value: Uint8Array

    Returns void