Skip to content

Add taproot and musig2 helpers for taproot gossip support#107

Draft
t-bast wants to merge 2 commits intomasterfrom
taproot-helpers
Draft

Add taproot and musig2 helpers for taproot gossip support#107
t-bast wants to merge 2 commits intomasterfrom
taproot-helpers

Conversation

@t-bast
Copy link
Copy Markdown
Member

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

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 April 24, 2026 15:16
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.
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