Closed
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.udl
andlib.rs
with functions and structs as needed - Update
bdk-kotlin
orbdk-swift
and 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-ffi
and build and testbdk-swift
orbdk-kotlin
. - Read through the BDK docs.
- Use
bdk-cli
to walk through the "Spending Policy Demo" - Install and run example
bdk-kotlin
orbdk-swift
example wallet. - Familiarity with basic rust, should be able to write basic structs and functions.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done