assist/signing
This module contains code for verifying transaction signatures. It assumes that all signatures provided are verification keys.
Functions
verify_multisig(
sigs: List<PublicKeyHash>,
vks: List<PublicKeyHash>,
minimum: Int,
) -> Bool
This counts the number of signatures inside a transaction that are from the list of signers then checks if its at least the minimum amount.
signing.verify_multisig(context.transaction, lst_of_sigs, sig_threshold)
verify_sig(vks: List<PublicKeyHash>, vk: PublicKeyHash) -> Bool
Check if the list of signatures inside a transaction contains the verification key.
signing.verify_sig(context.transaction, wallet_pkh)