-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Add or update APIs in bdk-ffi to support basic spending policy features. Also test the new APIs by updating bdk-kotlin or bdk-swift to use the new and updated APIs. See "Spending Policy Demo" for bdk-cli based example usage.
APIs include:
- Giving a wallet, return Policy structure (as Dictionary?) for "external" and "internal" descriptors.
- When creating a transaction PSBT, specify the "external policy" to use
Expected Outcomes
- Update
bdk.udlandlib.rswith functions and structs as needed - Update
bdk-kotlinorbdk-swiftand add tests to cover new spending policy functionality
Resources
Skills Required
- Experience with git. Guide
- Basic familiarity with rust. First seven chapters of the book
- Basic familiarity with Kotlin or Swift
- Familiarity with bitcoin descriptors and miniscript policies
Mentor(s)
Difficulty
Medium
Competency Test (optional)
- Install rust, compile
bdk-ffiand build and testbdk-swiftorbdk-kotlin. - Read through the BDK docs.
- Use
bdk-clito walk through the "Spending Policy Demo" - Install and run example
bdk-kotlinorbdk-swiftexample wallet. - Familiarity with basic rust, should be able to write basic structs and functions.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done