verifyScript method

bool verifyScript(
  1. List<int> signature,
  2. MerlinTranscript signingScript
)

Verifies the signature for the provided digest using the available key.

This method verifies the signature of the provided script using either schnorrkel algorithms,

Implementation

bool verifyScript(List<int> signature, MerlinTranscript signingScript) {
  return _verifier.verify(
      SchnorrkelSignature.fromBytes(signature), signingScript);
}