Type alias GPCPCDInitArgs

GPCPCDInitArgs: {
    circuitFamily?: GPCCircuitFamily;
    zkArtifactPath: string;
}

Interface containing the arguments that 3rd parties use to initialize this PCD package.

Type declaration

  • Optional circuitFamily?: GPCCircuitFamily

    This is the circuit family the GPC compiler will pick the circuit from. If unspecified, the circuit family underlying the pcd/proto-pod-gpc-artifacts NPM package, viz. the production variant, will be used.

  • zkArtifactPath: string

    This is the root path from which to fetch the ZK artifacts required to prove and verify. This can be a URL (in browser) or a file path (in Node server or utests).

Generated using TypeDoc