Skip to content

Multisig Wizard tracking issue #35645

Open

Description

@pseudoramdom

This issue tracks the work to bring guided multisig wallet setup to the GUI (gui-qml) i.e. a setup wizard backed by interfaces::Wallet methods so that N participants, each running Bitcoin Core, can create a k-of-n multisig (k ≤ n) without hand-assembling descriptors on the command line.

It complements the multisig umbrella issue #24861, which tracks the backend primitives needed for multisig.

Design / supporting document: https://gist.github.com/pseudoramdom/4e14d21a93323217cfe016885285b9aa


Prerequisites

Add keys & collect Keys

Assemble & verify descriptor

  • createmultisigdescriptor - descriptor-first utility function; P2WSH and P2TR script-path; sortedmulti, ranged, multipath descriptor.
  • interfaces::Wallet::analyzeDescriptor - preflight checks returning if wallet can sign, own slot, threshold, output type, cosigner fingerprints/paths, first address, checksum, (GUI-renderable script representation?)

Import


See also

Activity

  1. added
    Tracking Issue
    on Jul 2, 2026
  2. Sjors commented on Jul 3, 2026

    @Sjors
    Member

    I think a good intermediate step would be to have a Python based multisig (setup) wizard, that would perform the same steps you have in mind for the GUI.

  3. pinheadmz commented on Aug 3, 2026

    @pinheadmz
    Member

    Concept ACK, will be tracking progress and reviewing what I can.

  4. PraneethGunas commented on Sep 1, 2026

    @PraneethGunas

    Hi @pseudoramdom, please add the following items to support external signers in the flow, once the gist is updated.

    Prerequisites

    Add keys & collect Keys

    • Fall back to the device in deriveHDKey - derive from the wallet's own key first, then ask the signer if one is configured, then fail

    Assemble & verify descriptor

    • Fix walletdisplayaddress for multisig - send the SPKM's own descriptor to the device instead of inferring one from the scriptPubKey

    Happy to update the flow if this has any unintended side effects

  5. Sjors commented on Sep 1, 2026

    @Sjors
    Member

    needs getxpub on ExternalSigner

    Seems fine to add, but a Python script proof-of-concpet can just call getxpub on HWI directly.

    Fix walletdisplayaddress for multisig

    #36133 is a prerequisite for that, plus support for the new registerpolicy HWI command (and passing the registration to signing / display address)

  6. rxbryan commented on Sep 4, 2026

    @rxbryan

    Following the discussion on #36143, the direction there was to start with a Python utility that constructs and imports a multisig descriptor, and let RPC/interface work be shaped by what that flow actually needs.
    So I'll start on the Python based multisig (setup) wizard unless someone's already underway.

  7. rxbryan commented on Sep 26, 2026

    @rxbryan

    Opened #36325. It covers the wizard end to end, wallet creation through import, using the RPCs available today. The gaps it worked around are listed there; the ones with no PR yet are createmultisigdescriptor and the preflight checks under interfaces::Wallet::analyzeDescriptor.

  8. fametrano commented on Oct 2, 2026

    @fametrano

    A repeated key in a received descriptor lets fewer signers spend than its threshold says, and the Verify step (analyzeDescriptor) does not check for one. The design checks for duplicates only in createMultisigDescriptor, on the machine that assembles the descriptor. Today importdescriptors accepts wsh(sortedmulti(2,A/0/*,A/0/*)), and the wallet spends from it with A alone. In the same way, tr(H,multi_a(2,A,A,B)) is spent by A alone. A participant who finds their own key and the agreed threshold may not notice that another key appears twice. I suggest analyzeDescriptor refuse a repeated key. #36325 already refuses one in add_cosigner, but not in verify. BIP 388 wallet policies forbid repeated keys as well.

  9. BenWestgate commented on Oct 3, 2026

    @BenWestgate
    Contributor

    There may be an intentional reason to duplicate a key within a wsh(multi()) policy, I suggest warning rather than refusing. After all the user can't tell if every key besides his own are controlled by one party.

  10. fametrano commented on Oct 3, 2026

    @fametrano

    Agreed, a warning is enough, as long as the Verify step shows it before the user confirms.

  11. rxbryan commented on Oct 5, 2026

    @rxbryan

    Most hardware wallets enforcing BIP 388 will reject a descriptor with duplicate keys.

    So we reject duplicate keys at add_cosigner because we want to create descriptors that are valid everywhere. Core does not care about this, and should be able to sign any valid descriptor, so a warning in analyze_descriptor surfaced by verify is the better fit.

    Most of the BIP 388 compliance in the wizard is a workaround: Core has no policy rendering, and work on it has stalled, #32659.

  12. pablomartin4btc commented on Oct 25, 2026

    @pablomartin4btc
    Member
    • interfaces::Wallet::analyzeDescriptor - preflight checks returning if wallet can sign, own slot, threshold, output type, cosigner fingerprints/paths, first address, checksum, (GUI-renderable script representation?)

    I'm working on this — already discussed the approach a bit with @pseudoramdom and @w0xlt. I'm also checking what's done on #36325.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUITracking IssueWallet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions