Skip to content

LegReq/musig2-didcomm-protocols

Repository files navigation

MuSig2 DIDComm Protocol

This is exploratory work that develops DIDComm protocols to coordinate the MuSig2 cryptographic protocols for key generation and signing specifically for the Bitcoin ecosystem.

A overview of the protocol can be found at Beacon Aggregation. Although this is specific to did:btc1, which is the motivation for this work.

Run the example

Prerequisites (Python 3.8)

  1. Create a virtual environment

python -m venv venv

  1. Activate the virtual environent

source venv/bin/activate

  1. Install the library from the folder

pip install -e .

  1. Generate musig2 Bitcoin address with 5 participans

python examples/musig2_keygen_example.py

  1. Generate musig2 Bitcoin address with 5 participans and coordinate a spend from that address

python examples/musig2_signing.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published