Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

WIP: Descriptors #340

Closed
wants to merge 2 commits into from
Closed

Conversation

bucko13
Copy link
Contributor

@bucko13 bucko13 commented Sep 24, 2023

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.

import descriptor

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:
Screenshot 2023-09-24 at 1 42 39 PM

Here's the address list from the descriptor:
Screenshot 2023-09-24 at 1 42 20 PM

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR fix an open issue?

  • Yes
  • No

@vindard
Copy link

vindard commented Nov 28, 2023

Bump, this would be really useful

@bucko13
Copy link
Contributor Author

bucko13 commented Feb 27, 2024

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.

@bucko13 bucko13 closed this Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants