Skip to content

Add MuSig2 bindings#17

Open
m0wer wants to merge 2 commits into
spesmilo:masterfrom
m0wer:master
Open

Add MuSig2 bindings#17
m0wer wants to merge 2 commits into
spesmilo:masterfrom
m0wer:master

Conversation

@m0wer

@m0wer m0wer commented Jul 16, 2026

Copy link
Copy Markdown

Adds Python bindings for libsecp256k1's MuSig2 module.

Secret nonces are memory-only and single-use. Tests cover the official BIP327 vectors and fallback behavior when MuSig2 is unavailable.

Pr-requirement for Taproot based LN swaps, see spesmilo/electrum#10756

@m0wer
m0wer force-pushed the master branch 2 times, most recently from b373733 to 1d771d4 Compare July 16, 2026 08:31
@m0wer
m0wer marked this pull request as draft July 17, 2026 06:45
Comment thread src/electrum_ecc/__init__.py Outdated
@m0wer m0wer changed the title feat(musig): add BIP-327 MuSig2 bindings and Python wrapper Add MuSig2 bindings Jul 19, 2026
@m0wer
m0wer marked this pull request as ready for review July 19, 2026 13:35
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