Skip to content

Add register command for BIP388 policies#791

Draft
Sjors wants to merge 2 commits into
bitcoin-core:masterfrom
Sjors:2025/07/policy
Draft

Add register command for BIP388 policies#791
Sjors wants to merge 2 commits into
bitcoin-core:masterfrom
Sjors:2025/07/policy

Conversation

@Sjors

@Sjors Sjors commented Jul 18, 2025

Copy link
Copy Markdown
Member

First step towards #785.

Usage:

hwi --device-type ledger register --name MooSig --desc "tr(musig(@0,@1)" --key [00000001/87'/0'/0']xpub... --key [00000002/87'/0'/0']xpub...

{"hmac": "00......"}

For MuSig2 you can compare the hmac with the result from MooSig.

Strongly overlaps with #647.

@Sjors

Sjors commented Sep 4, 2025

Copy link
Copy Markdown
Member Author

Rebased after #795 landed.

@Sjors

Sjors commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

I'll give this a rebase after #836.

I need to sync this up with the latest #794 (e2a7288, c3815ba), and consider cherry-picking 562fe54.

@Sjors Sjors marked this pull request as draft July 4, 2026 09:38
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.

1 participant