THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Bitcoin Multisig PSBT Coordination: Cosigners, Air-Gapped Workflows, and Recovery

permalink THAMER
#air-gapped#bitcoin#cosigners#multisig#psbt#recovery

Bitcoin multisig allows a spending policy to require signatures from multiple keys. PSBT provides a practical way for independent signers to review and authorize the same transaction without sending private keys to a coordinator.

Wallet policy comes before signatures

A multisig wallet needs an agreed policy: for example, a two-of-three P2WSH script, or a more expressive Taproot script policy. Every participant must agree on the exact script, key order where relevant, derivation information and network. Different policies can produce different addresses even when they involve the same participants.

A descriptor such as wsh(sortedmulti(2,...)) can document a conventional two-of-three wallet, using the correct extended keys and derivation paths in place of the ellipsis. Do not use this illustrative placeholder as an importable descriptor.

Coordinating a transaction

  1. The coordinator builds a PSBT using the wallet's verified UTXOs and proposed recipients.
  1. Each signer independently checks the outputs, change, fee and wallet policy.
  1. Signers add partial signatures to compatible PSBT data.
  1. The coordinator combines signatures, finalizes the witness and extracts the transaction.
  1. The transaction is broadcast, and participants verify its status independently.

Combining signatures is not the same as validating policy. A signer should refuse to authorize a transaction that does not match the wallet it expects, even when the coordinator says it is valid.

Air-gapped and remote cosigners

Signers can exchange PSBT files over removable media or QR transport, or coordinate over authenticated remote channels. An offline signer avoids directly exposing its keys to the network; it does not automatically make the coordinator trustworthy. Remote transport needs integrity checks and care with metadata.

Recovery requires more than seed phrases

Preserve the wallet descriptor or equivalent complete policy, cosigner extended public keys, derivation paths, script type, threshold and network. The private keys or seeds alone may not tell a replacement wallet how the original multisig outputs were constructed. Test recovery using a watch-only reconstruction before relying on the arrangement for substantial funds.

PSBT version and Taproot compatibility

Some tools accept only PSBT v0, while others support BIP370 v2 and BIP371 Taproot fields. Establish an interoperable signing path before funding a new policy. Multisig key-path aggregation schemes are distinct from ordinary script-based multisig and should not be assumed to be universally available.

Primary references

BIP174 — PSBT: https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki
BIP380 — Output Script Descriptors: https://github.com/bitcoin/bips/blob/master/bip-0380.mediawiki
BIP370 — PSBT v2: https://github.com/bitcoin/bips/blob/master/bip-0370.mediawiki

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects