Skip to content

Add taproot and musig2 helpers for taproot gossip support - #107

Merged
t-bast merged 2 commits into
masterfrom
taproot-helpers
Jul 7, 2026
Merged

Add taproot and musig2 helpers for taproot gossip support#107
t-bast merged 2 commits into
masterfrom
taproot-helpers

Conversation

@t-bast

@t-bast t-bast commented Apr 24, 2026

Copy link
Copy Markdown
Member

We add several helpers that become useful when implementing support for taproot gossip to verify channel announcements: see https://github.com/ellemouton/bolts/blob/bolt-taproot-gossip/bolt-taproot-gossip.md#taproot-channel-proof-and-verification for more details.

See ACINQ/bitcoin-kmp#178

t-bast added 2 commits July 7, 2026 17:12
We add a helper function to extract the output key of a p2tr output.
If the output is *not* using p2tr, it safely returns `None`.
We provide high-level functions that hide the internal signing session
object and allow signing arbitrary messages, similar to the helpers we
already have to sign taproot inputs.
@t-bast
t-bast force-pushed the taproot-helpers branch from f597566 to 63be229 Compare July 7, 2026 15:17
@t-bast
t-bast marked this pull request as ready for review July 7, 2026 15:17
@t-bast
t-bast requested a review from sstone July 7, 2026 15:17
@t-bast
t-bast merged commit 7105bf2 into master Jul 7, 2026
1 check passed
@t-bast
t-bast deleted the taproot-helpers branch July 7, 2026 17:50
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