rust-bitcoin / rust-bitcoin/rust-miniscript

Think about how MiniscriptKey interacts with Musig keys

Open
#427 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
426
Forks
200
Avg merge
7d 17h
Merged PRs (30d)
8

Description

Integrating musig2 keys with the existing API introduces a couple of new challenges:

  1. We currently support Terminal::Pk(Pk) in our miniscript decoding. This means we should parse musig(A,B,C) as a single Pk.
  2. At the same time, we want the translation API to allow to translation of native A, B and C.

Seems like we might to re-design some parts of the codebase to support it. cc @apoelstra

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing Terminal::Pk(Pk) miniscript decoding path and the translation API. Work out how musig(A,B,C) should be represented as one Pk while still allowing translation of A, B, and C; the issue is complete when this interaction has an agreed design and implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.