-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Is your feature request related to a problem? Please describe.
Currently, we can pay to a bunch of different recipient such as a pub key hash or a script. Technically, because IsTxSkelOutAllowedOwner is implemented for those types. However, it is not possible to pay to a generic Address.
Describe the solution you'd like
I would like to be able to pay to a generic Address.
Describe alternatives you've considered
We can deconstruct the address manually and pay to it in some cases, but it's not clear what to do if the address resolves e.g. to a script credential. More generally, even if it would only be boilerplate, it's still common to want to pay to an address, so a helper in cooked would be nice.
Additional context
The difficulty described in the previous paragraph will be there for the cooked implementation as well: it's not clear yet how to proceed for script credentials.