Closed bucko13 closed 8 months ago
Bump, this would be really useful
Bump, this would be really useful
@vindard Good news! The package providing the functionality is now live on npm here.
We've also migrated all of the caravan and related open source code to a monorepo where ongoing development and maintenance will be happening. This includes the functionality originally introduced in this PR! Checkout the new repo at https://github.com/caravan-bitcoin/caravan and the deployment with descriptor support here.
Description
This adds support for loading a wallet config from a descriptor as well as the ability to download the descriptors for a loaded wallet config.
This depends on a new beta package that hasn't been released yet: https://github.com/bucko13/caravan-descriptors This package uses bdk under the hood with special bindings that compiles to wasm.
To confirm that the config and descriptors give us the same wallet, we can compare the address list from each config type.
Here's an address list from the config:
Here's the address list from the descriptor:
Does this PR introduce a breaking change?
Does this PR fix an open issue?