• Verifies an EdDSA signature using the Baby Jubjub elliptic curve and Poseidon hash function.

    Parameters

    • message: BigNumberish

      The original message that was be signed.

    • signature: Signature

      The EdDSA signature to be verified.

    • publicKey: Point

      The public key associated with the private key used to sign the message.

    Returns boolean

    Returns true if the signature is valid and corresponds to the message and public key, false otherwise.