wip(payjoin-send): failing to sign the original PSBT #191
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR implements Payjoin sending functionality to the BDK CLI.
Draft Explanation
At the time of writing, this is a draft PR for implementing SendPayjoin to the BDK CLI. It still needs session persistence to be implemented, but I've been focused on the Payjoin receiver and sender commands so that I will work on later.
I also have a ReceivePayjoin branch on my local, but I am currently stuck at signing for both Sender and Receiver, so I am using this draft PR to get help regarding signing.
Regarding the current version of the PR, I need help with signing the original PSBT.
Notes to the reviewers
A couple of things I'd need more recommendation on:
?
throughout the code.payjoin-cli receive
and use that in the sending logic I've implemented here, the receiver returns the following. This does not have any witness data at all, and thefinalized
does return false. I currently cannot understand why it cannot sign the UTXOs owned by this wallet though...:Changelog notice
I'm leaving the checklist to later since this is a draft PR for the purpose of asking for assistance.
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingNew Features:
CHANGELOG.md
Bugfixes: