A new Rust crate implementing the MuSig2 protocol has been released, claimed to be the first publicly available Bitcoin-compatible implementation. MuSig2 enables N-of-N multisignature schemes where a group cooperatively signs a message and aggregates signatures into one indistinguishable from a single-key signature, using only two round-trips. The crate is compatible with BIP-0327 and BIP-0340, integrates with the secp256k1 and bitcoin Rust crates, and offers a stateful signing API that leverages Rust's lifetime system to prevent nonce reuse at compile time. A pure-Rust build option using the k256 crate is also available. The library is currently beta software and has not been independently audited.
1 Impression