3

Is there a function like signedBy that I can call in a Plutus script to verify a digital signature?

2
  • So are you looking for a type like this: verifySig :: Signature -> PubKey -> Bool? (signedBy without the tx)? Nov 8, 2021 at 17:19
  • 1
    Well the problem is that a Plutus script calling signedBy will not compile because signedBy is not inlinable. So I need a function that can be called by a Plutus script. The TxId argument isn't a big deal because I can always get that from the ScriptContext.
    – Eric
    Nov 8, 2021 at 17:57

1 Answer 1

1

You can use this function to verify signature from a validator

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.