LtbLightning / bdk-flutter

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

Ability to create more types of descriptors #5

Open BitcoinZavior opened 1 year ago

BitcoinZavior commented 1 year ago

Large variety of descriptors are possible reference: https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md

createDescriptor should be able to create as many of these descriptors as possible.

i5hi commented 1 year ago

We would need to add two things for this:

i5hi commented 1 year ago

This would then also require the policy_id function to be exposed. It would up the user to know what they are doing if they venture into creating complex scripts and they would have to know how to parse their policy and specify which nodes in the policy they are signing for.

BitcoinZavior commented 1 year ago

Yes, we will probably follow bdk-ffi api which in turn follows bdk api.