Sub topic 10
Multisignature setups for shared control
A multisignature (multisig) wallet requires more than one private key to approve a spend. This chapter assumes you already know that a wallet manages keys and signs transactions, that a seed phrase backs up a key, and that a hardware wallet keeps a key in a dedicated device. It uses Bitcoin for the main examples and notes where other chains differ.
The idea: M-of-N signing
A multisig setup is described as M-of-N. There are N keys in total, and any M of them must sign a transaction before the network accepts it.
- 2-of-3: three keys exist, any two can spend. This is the most common personal setup.
- 2-of-2: both keys are needed. Neither party can act alone, and losing either key loses the funds.
- 3-of-5: often used by companies, DAOs and foundations, where several people share control.
The two numbers set a trade-off. A higher M makes theft harder, because an attacker needs more keys. A lower M relative to N makes loss easier to survive, because you can lose N minus M keys and still spend.
| Setup | Keys an attacker needs | Keys you can lose and still spend |
|---|---|---|
| 1-of-1 (ordinary wallet) | 1 | 0 |
| 2-of-2 | 2 | 0 |
| 2-of-3 | 2 | 1 |
| 3-of-5 | 3 | 2 |
A 1-of-1 wallet has a single point of failure for both theft and loss. A 2-of-3 wallet removes the single point for both at once. A 2-of-2 wallet protects against theft but makes loss worse than a single key, since it has two things that can go missing.
How it works on Bitcoin
On Bitcoin, the rule "M of these N public keys must sign" is written into the locking script of the address. When you spend, you provide M valid signatures, and every node checks them. No company or server enforces the rule. The blockchain does.
Wallet software describes the setup with an output descriptor. This one is a 2-of-3 setup:
wsh(sortedmulti(2,<XPUB_HARDWARE_WALLET_A>,<XPUB_HARDWARE_WALLET_B>,<XPUB_HARDWARE_WALLET_C>))The parts mean:
wsh(...)means the script is wrapped in native SegWit (witness script hash), which has lower fees than older formats.sortedmulti(2, ...)means 2 signatures are required. The public keys are sorted so every wallet derives the same addresses regardless of the order in which you entered the keys.- Each
<XPUB_...>is an extended public key. An xpub lets software generate many receiving addresses and watch balances, but it cannot sign or spend.
Because only xpubs go into the descriptor, a coordinator program (such as Sparrow, Nunchuk or Specter) can build addresses and unsigned transactions on an internet-connected computer. The private keys stay on the devices.
The signing flow
Most multisig wallets use a partially signed bitcoin transaction (PSBT). A PSBT is a standard file format that carries a transaction plus the signatures collected so far. It lets different devices sign one at a time.
Each device shows the destination address and amount on its own screen. This matters because a compromised computer could display one address and put another into the PSBT. Check each device's screen, not the computer's.
Common configurations
Personal 2-of-3 with separated keys
You use three hardware wallets, ideally from at least two manufacturers, and store them in different places: one at home, one in a safe deposit box, one with a trusted relative. A single burglary, fire or device bug cannot drain or destroy the funds. Using different vendors limits the damage from a flaw in one firmware.
Collaborative custody
You hold two keys and a service provider holds the third. For daily spending you use your own two. If you lose one of your keys, the provider's key plus your remaining key recovers the funds. The provider cannot spend alone, and you are not stranded if it disappears, provided you kept your descriptor and have two keys. This is a middle path between custodial and self-custody models.
Shared control among people
A family, business or club can give each member a key and require a majority. No single person can run off with the money, and no single lost key blocks access. This is the main use of multisig beyond personal safety.
What multisig does not fix
- Backup complexity. A seed phrase alone is no longer enough. To recover, you generally need the descriptor (or the list of all xpubs and the M-of-N values) plus at least M seeds. Without the xpubs, having M seeds may not let you rebuild the wallet. Store a copy of the descriptor with each key backup. It is not secret in the way a seed is, but it reveals your balances and addresses to anyone who reads it, so treat it as private.
- Higher fees. A multisig spend carries multiple signatures and a larger script, so the transaction is bigger and costs more in fees than a single-key spend.
- Less software support. Not every wallet, exchange or app handles multisig, and the setup steps are easier to get wrong.
- Key compromise is still compromise. If an attacker gets M keys, they can spend. If the keys are stored together, multisig gives little protection.
- Social and coordination risk. If keyholders die, disagree or become unreachable, the funds can become stuck.
Multisig versus other approaches
Multisig is built into the base layer on Bitcoin, so the network enforces it. On Ethereum and similar chains, ordinary accounts have a single key, so shared control is done with a smart contract wallet, such as a Safe, which holds the funds and checks approvals in its own code. That brings extra features (spending limits, key rotation) but also contract risk, meaning a bug in the contract could affect funds. A third approach, multi-party computation (MPC), splits one key into shares that never combine. On the chain it looks like a normal single-signature spend. These are covered in the next chapter.
The practical differences:
| Property | Bitcoin multisig | Smart contract wallet | MPC |
|---|---|---|---|
| Rule enforced by | Network script | Contract code | Off-chain protocol |
| Visible on chain | Yes, as multisig | Yes, as a contract | No, looks like one key |
| Fees | Higher | Higher | Same as single key |
| Main added risk | Backup complexity | Contract bugs | Reliance on vendor software |
Choosing M and N
Pick values from the threats you face.
- If the main fear is losing a key, make N larger than M by at least one. 2-of-3 is the usual starting point.
- If the main fear is theft or insider fraud, raise M, as in 3-of-5.
- Keep N small unless you have many real keyholders. Each extra key adds backup work and a place for something to go wrong.
- Spread keys across places, devices and, for groups, people.
Exercise
You set up a 2-of-3 multisig with three hardware wallets. A fire destroys one device and its seed backup. A burglar steals a second device, but not its seed backup, which is in a safe elsewhere. What do you need to recover the funds, and can the thief spend?
Show answer
You can recover with the remaining device (or the seed backup of the stolen one) plus the third key, together with the wallet descriptor or all three xpubs and the 2-of-3 values, so you can rebuild the wallet. The thief holds only one key, and 2 are required, so the thief cannot spend, though you should move the funds to a new wallet soon because the setup is now down to the minimum number of keys you need.
Exercise
Why is a 2-of-2 multisig usually a poor choice for a person guarding their own savings, even though it needs two keys to steal?
Show answer
It needs both keys to spend, so losing either one makes the funds unrecoverable. It improves protection against theft but doubles the chances of permanent loss, while 2-of-3 protects against both.