• Creates a simple context with commonly used parameters for basic verification scenarios.

    This is a convenience function that creates a context with a nonce for freshness, a connection ID for session tracking, a rescource ID for specifying the connected website, and an optional context string for additional information. It requests the BlockHash to be provided by the presenter.

    Returns

    A context object configured for basic verification

    Parameters

    • nonce: Uint8Array

      Cryptographic nonce for preventing replay attacks

    • connectionId: string

      Identifier for the verification session

    • rescourceId: string

      Identifier for the website

    • Optional contextString: string

      Optional context information

    Returns VerificationRequestV1.Context

Generated using TypeDoc