-
Notifications
You must be signed in to change notification settings - Fork 37
[WIP] Implement create_psbt
for Wallet
#297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
- Add variant `CreatePsbtError::Plan` which happens when a manually selected output can not be planned.
673d602
to
77e1d20
Compare
Pull Request Test Coverage Report for Build 17304985958Details
💛 - Coveralls |
I like the What do you envision the API for replace-by-fee transactions look like in this new bdk-tx world? I'm picturing something like |
The idea is that if the local chain has surpassed the lock height needed to spend a utxo, then the wallet can respond accordingly with no interaction on the part of the user.
Description
Use the new
bdk_tx
transaction building library to create PSBTs in BDK Wallet. Primary benefits include the use ofbdk_coin_select
as well asminiscript::plan
module under the hood.In this PR:
create_psbt
for Wallet.psbt::params
wallet/examples/psbt.rs
close #164
Notes to the reviewers
Still in draft but feel free to comment and make suggestions.
Changelog notice
TBD
Checklists
All Submissions:
New Features:
Bugfixes:
This pull request breaks the existing API