LtbLightning / bdk-flutter

Bitcoin Development Kit - Flutter Package
MIT License
60 stars 27 forks source link

Request for example/documentation on signing transactions with a custom UTXO set #114

Open kyluke opened 9 months ago

kyluke commented 9 months ago

Thanks for adding the ability to add foreign utxos (https://github.com/LtbLightning/bdk-flutter/issues/86). Would it be possible to include an example of how to use this correctly?

I am currently working on an app that has a database of it's own unspent UTXO set (previous transaction id, output index and sats amount).

Is it possible to use this library to sign a transaction with only this data? I've only found documentation on how to fetch UTXO's via an electrum server. This however does not work for my use case.

Any advice or an example would be greatly appreciated.

CyberWake commented 5 months ago

Hi @BitcoinZavior do you have any code samples for this to work. I tried this but couldn't make it work. Seeking for some help here. Understanding there are lot more things to be looked upon. Hopefully we can see some code snippets or documentation update anything works. Thanks a lot.