RAILGUN Reloaded
    Preparing search index...

    Type Alias Groth16Prover

    Circuit proving and expected-key verification, without backend-specific options.

    type Groth16Prover = {
        fullProve(
            inputs: TransactionBigintInputs | POIBigintInputs,
            wasm: Uint8Array,
            zkey: Uint8Array,
        ): Promise<ProofResult>;
        verify(
            vkey: unknown,
            publicSignals: string[],
            proof: Groth16Proof,
        ): Promise<boolean>;
    }
    Index
    • Check a proof against the caller's expected verification key and public signals.

      Parameters

      Returns Promise<boolean>