-
Notifications
You must be signed in to change notification settings - Fork 390
Make it possible to spend LDK UTXO's in BDK #710
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
Comments
That's a bit generic, what do you mean exactly? Which utxos should be spent (normal deposits or channel utxos) and where are those keys stored? |
I believe the idea here is that the BDK wallet would be able to sync and spend UTXOs created when a LDK channel is closed. I'd also expect that UTXOs in a BDK wallet could be used to open an LDK channel. This should be enabled with #485 and bitcoindevkit/bdk_wallet#188. We also need to be able to use LDK as a custom signer for spending UTXOs from LN script template "Descriptors". And LDK would have to be able to use BDK as a input signer. |
This should be doable by just creating a custom |
I can now confirm that by implementing a custom However, it likely still would be nice to allow users the flexibility to go the other way, i.e., allow them to add arbitrary UTXOs to BDK's coin selection. |
Added an issue to improve this at the bindings layer here |
What's the status/priority/plan for this? |
@tnull do we only need to expose the existing rust Otherwise your |
I don't think that's needed, we already have the ability to forward any other descriptors to |
Yup, I agree that the |
Thanks guys, closing for now. Happy to re-open if needed. |
No description provided.
The text was updated successfully, but these errors were encountered: