Function loadVerificationKey

  • Loads a verification key from a JSON file.

    Parameters

    • vkeyPath: string

      path to load artifacts, which could be a URL (in browser) or a file path (in server or utests).

    Returns Promise<VerificationKey>

    the verification key as an object

    Throws

    if file access or JSON parsing fails

Generated using TypeDoc