Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinator descriptors #24

Merged
merged 13 commits into from
Feb 27, 2024

Conversation

bucko13
Copy link
Contributor

@bucko13 bucko13 commented Feb 26, 2024

Re-implementation of this original WIP PR from the legacy repo: unchained-capital/caravan#340

There are a couple new UI elements:

  1. A switch to choose if you want to import by xpubs/devices or descriptors
Screenshot 2024-02-25 at 5 54 53 PM
  1. The descriptor importer itself
Screenshot 2024-02-25 at 5 55 04 PM
  1. A button to download the descriptors as a txt file from the wallet overview
Screenshot 2024-02-25 at 5 55 16 PM

The UX is still a little rough around the edges (for example, you have to select the network and client FIRST before importing the descriptor), but that can be cleaned up later (ideally with a more comprehensive rewrite that does a wizard style wallet setup flow).

Here's a descriptor from one of the test suite fixtures to test with:

wsh(sortedmulti(2,[f57ec65d/48'/0'/100'/2']xpub6DcqYQxnbefzFkaRBK63FSE2GzNuNnNhFGw1xV9RioVG7av6r3JDf1aELqBSq5gt5487CtNxvVtaiJjQU2HQWzgG5NzLyTPbYav6otW8qEc/1/*,[00000006/48'/0'/100'/2']xpub6EwJjKaiocGvqSuM2jRZSuQ9HEddiFUFu9RdjE47zG7kXVNDQpJ3GyvskwYiLmvU4SBTNZyv8UH53QcmFEE23YwozE61V3dwzZJEFQr6H2b/1/*))#kmvcnunj

Copy link

changeset-bot bot commented Feb 26, 2024

🦋 Changeset detected

Latest commit: 1364a5a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@caravan/clients Patch
@caravan/coordinator Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Feb 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
caravan-coordinator ⬜️ Ignored (Inspect) Visit Preview Feb 27, 2024 5:23am

@bucko13 bucko13 requested review from dylan-thompson and a team February 26, 2024 04:07
dylan-thompson
dylan-thompson previously approved these changes Feb 26, 2024
Copy link
Contributor

@dylan-thompson dylan-thompson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff!

@bucko13
Copy link
Contributor Author

bucko13 commented Feb 26, 2024

Annoyingly I had messed up the build pipeline which broke the ci workflow. Should be working now.

@bucko13 bucko13 merged commit 00a550f into caravan-bitcoin:main Feb 27, 2024
3 checks passed
@bucko13 bucko13 deleted the coordinator-descriptors branch February 27, 2024 17:04
This was referenced Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants