proofData: {
    curve: string;
    pi_a: string[];
    pi_b: string[][];
    pi_c: string[];
    protocol: string;
}

This type represents a proof data object in a zk-SNARK system, as generated by SNARKJS.

Type declaration

  • curve: string

    The elliptic curve used in the proof system: bn128, bls12381, goldilocks [default: bn128].

  • pi_a: string[]

    Represents the values of the polynomial evaluation at a secret point for the polynomial A(x).

  • pi_b: string[][]

    Represents the values of the polynomial evaluation at a secret point for the polynomial B(x).

  • pi_c: string[]

    Represents the values of the polynomial evaluation at a secret point for the polynomial C(x).

  • protocol: string

    The protocol used in the proof system: groth16 or plonk.

Generated using TypeDoc