In lesson 5 that they use a built in function called
ownPubKey to access the wallet pubKey in the transaction on the plutus playground.
This function seems to be non-existent in the newer versions of plutus what is a good replacement for this?
Cardano Stack Exchange is a question and answer site for users and developers of the Cardano cryptocurrency ecosystem. It only takes a minute to sign up.Sign up to join this community
You should use
ownPaymentPubKeyHash here is the source code.
It will work by just replacing
ownPaymentPubKeyHash and return type