Closed hanakannzashi closed 1 month ago
Here's an example of using a simple CSV script.
It has an example of using a custom finalizer.
Please let me know if you have any other questions, but for now this answers your question; yes, there is an API to do that.
If you'd like to post your locking script I could write an example and add it to the integration tests for you.
I want to spend a P2WSH UTXO which needs two signatures. Alice sign the PSBT, then send partial signed PSBT to Bob, Bob sign the PSBT. Now If I want to build a transaction, I need to hack the
PSBT
then build witness data with
then set witness data with
Is there any PSBT API to do this?