The first decision in any custody system is who controls the key material, and every later decision inherits it. The options come down to four: a hardware security module you operate, an on-chain multisig, threshold signing with MPC, or a licensed custodian behind an API. Most writing on MPC vs multisig vs HSM is published by a vendor of one of them, so it compares security properties and stops. This article compares what each option costs to run: the ceremonies, the staff, the fees, the things that break at three in the morning, and the story you have to tell an auditor. It is a deep dive from the crypto custody architecture hub.
Two questions hiding in one decision
"Where do the keys live?" is really two questions, and the four options answer them differently.
- Where is the key stored, and can it be extracted? This is a storage property. An HSM answers it well: the key is generated inside tamper-resistant hardware and never leaves. A laptop answers it badly.
- Who must agree before the key is used? This is a policy property. A single HSM says nothing about it: whoever can call the signing API gets a signature. Multisig and MPC are both ways of making "more than one party must agree" a cryptographic fact rather than an application rule.
Keep the two apart and the comparison becomes clearer. HSMs protect storage. Multisig enforces policy on-chain. MPC enforces policy off-chain. A custodial API hands both questions to someone else and gives you a contract and an audit report in return. The hub's rule still applies to all four: keys are only as safe as the governance around them, and governance is software and procedure you have to build and rehearse.
Option 1: HSM-backed self-custody
A hardware security module is a certified device, physical or cloud-hosted, that generates keys internally, signs on request, and is designed so the private key cannot be read out. FIPS 140-3 is the certification auditors look for. You talk to it through PKCS#11 or a cloud API, and for most chains you need a device that supports the secp256k1 and Ed25519 curves, which not all generations do.
What it gets right. The storage question is answered by hardware that a regulator and a traditional auditor already understand. Banks have run HSMs for card payments for decades, so the controls, the vocabulary and the audit checklist already exist. Signing is fast and local. There is no on-chain footprint, so any chain whose curve the device supports is covered with one signature.
What it costs to run.
- Key ceremonies. Generating and backing up a root key is a witnessed, scripted event with several people holding smart cards or shares of a wrapping key. Document it, rehearse it, and plan to repeat it for recovery tests. The CryptoCurrency Security Standard spells out what the ceremony must include at each level.
- Backup and recovery. HSMs back up by cloning to another device or by exporting under a quorum of operator cards. Both need a second site, a safe, and a procedure that still works when the one person who knows it has left.
- Policy is yours to build. The HSM signs whatever it is asked. Limits, whitelists, approvals and velocity checks live in the application in front of it, which means a compromised application server is a compromised wallet. Most teams end up putting one HSM-held key behind an approval layer, or using several HSMs as signers in a multisig or MPC scheme, which brings the operational cost of those options too.
- Hardware life. Firmware updates, end-of-life notices, and a cloud HSM bill that runs per hour whether or not anything is signed.
- Staffing. Security engineers who have run HSMs before, and enough of them that no single person is a dependency.
Where it fits: a narrow set of chains, a regulator or bank partner that asks for FIPS hardware by name, and a team that already has the people. It also fits as the place where other options keep their shares.
Option 2: On-chain multisig
Multisig makes the approval rule part of the transaction itself. Bitcoin does it natively with script, and on Taproot with key aggregation. On EVM chains it is a smart contract, most often a Safe, that holds the assets and executes only when M of N owners have signed. Each owner holds a complete, independent key, usually on a hardware wallet.
What it gets right. Transparency. Anyone can verify the policy and every approval on-chain, which is why DAOs and treasuries favour it. There is no vendor cryptography to trust and no distributed signing service to run. Signers can be in different organisations with no shared infrastructure at all.
What it costs to run.
- Chain coverage. Every chain has its own multisig story, and some have none. A venue listing fifty assets cannot standardise on it.
- Changing the signer set. Adding or removing an owner is an on-chain transaction, and for native Bitcoin multisig it means a new address and a migration of funds. Staff turnover becomes a treasury operation.
- Fees and speed. Smart-contract wallets pay more gas per transaction, and collecting M hardware-wallet signatures from humans is slow by design. That is fine for cold storage and wrong for a hot wallet that must sign hundreds of withdrawals an hour.
- The signing workflow is the attack surface. The largest theft in the industry's history, in February 2025, drained a multisig whose cryptography worked perfectly. A compromised front end showed signers one transaction while they approved another. The lesson for an operator is that the devices and the software signers use to see what they are signing are part of the key management system, and need the same controls as the keys.
- Each key is whole. Losing a hardware wallet is manageable; losing N minus M plus one of them is a loss of funds. Backup of every seed, with the same ceremony discipline as an HSM, is not optional.
Where it fits: treasuries, DAOs, cold storage on a handful of chains, and any place where public verifiability is worth more than throughput.
Option 3: MPC threshold signing
Multi-party computation splits a key into shares held by separate parties, and the parties run a protocol that produces an ordinary signature without ever assembling the key. The threshold is t of n, the chain sees one normal signature, and the wallet address is the same whether two or five shares took part. Protocols such as GG20 and CMP made this practical for ECDSA chains, and FROST does the same for Schnorr and EdDSA. Fireblocks publishes its CMP implementation as open source; several vendors run variants of the same family.
What it gets right. Policy becomes cryptographic and off-chain. Shares can be refreshed without changing the address, so rotating a departed employee out is a protocol run rather than a fund migration. One signature means one fee and coverage of any chain that uses a supported curve. Shares can live in different places by design: a cloud enclave, an HSM, an air-gapped machine, a phone in the compliance officer's pocket. Hot and cold become a question of which shares are online.
What it costs to run.
- You are running a distributed system. Signing takes several rounds of communication between share holders. Every party needs availability, monitoring, secure storage for its share, and a recovery path. A down co-signer is a down wallet.
- Protocol correctness. The security proofs are strong, but the implementations are young. In 2023 a batch of vulnerabilities was disclosed across several GG18 and GG20 implementations that let a malicious party extract a key. Choosing MPC means choosing to track this literature, or paying someone who does.
- Share backup and recovery. Shares must be backed up such that the backup set cannot reconstruct the key without meeting the threshold. Getting that right is a key ceremony in its own right, and the recovery drill matters more than with an HSM because there is no single device to clone.
- Explaining it. A FIPS certificate is a document an auditor can file. "Our key does not exist" is a conversation. Expect to produce protocol audits, share-storage attestations and a diagram, and expect to repeat it for every regulator.
- Hidden hardware. Mature deployments keep shares in secure enclaves or HSMs, so the HSM cost from option one often arrives anyway, in smaller form.
Where it fits: a venue that needs broad chain coverage, hot-wallet throughput and quorum policy, and has the scale to run or rent the infrastructure. In practice most teams rent it, which is the next option.
Option 4: A custodian behind an API
A licensed custody provider holds the keys, usually with MPC underneath, and exposes a policy engine and a transaction API. You submit a transfer intent, their rules and approval quorum run, their signers sign, and a webhook tells you what happened. Insurance, SOC reports and the custody licence are theirs.
What it gets right. Time to market and regulatory fit. Rulebooks such as VARA's in Dubai and MiCA in the EU expect client assets to be held with appropriate safeguarding, and a licensed custodian is the fastest way to satisfy that. The hardest cryptography and most of the ceremonies become someone else's problem. You keep policy control through their engine and your own approval devices.
What it costs to run.
- Fees. A basis-point charge on assets under custody plus per-transaction fees, with minimums that are material for a small venue. Model it against volume before signing.
- Lock-in by address. The key material cannot leave the provider, so neither can the addresses. Switching means stopping new deposits at the old provider and watching those addresses indefinitely. The provider-agnostic custody article is about designing so this is possible at all.
- Their outage is your outage. Withdrawals stop when the provider's signing service does. Resilience means a second provider and a routing layer, which doubles the integration work.
- You still own the hard parts. The ledger, idempotency across the submit-and-wait gap, status mapping, reconciliation and your own audit trail are not outsourced. Teams that assume the custodian's dashboard is their system of record find out otherwise at the first reconciliation break.
- Your credentials are keys too. API secrets, the signing key for your requests, the approval devices your operators carry and any co-signer callback service you host are all key material in every sense that matters. They need the same ceremony, rotation and separation of duties as a private key, and they are the part custodial customers most often neglect.
Where it fits: regulated venues at launch, and most of them well beyond launch. The engineering problem shifts from cryptography to integration, which is a problem most backend teams can solve.
MPC vs multisig vs HSM vs custodial API: operational cost side by side
The table is what I wish someone had handed me before the first architecture review.
| Dimension | HSM (self-run) | On-chain multisig | MPC (self-run) | Custodial API |
|---|---|---|---|---|
| Where the key lives | One device, never leaves | N whole keys, N devices | Shares, never assembled | Provider's shares |
| Who enforces policy | Your application | The chain | The protocol threshold | Provider's engine plus your approvers |
| Chain coverage | Any supported curve | Per chain, uneven | Any supported curve | Provider's list |
| Change a signer | New ceremony | On-chain transaction, maybe new address | Share refresh, same address | Dashboard change |
| Rotate after compromise | Move funds to a new key | Move funds | Refresh shares | Provider procedure |
| Backup and recovery | Clone or quorum export, second site | Every seed, separately | Threshold backup of shares | Provider's, plus your recovery kit |
| Signing latency | Milliseconds | Minutes to hours (humans) | Seconds (network rounds) | Seconds to minutes |
| Per-transaction cost | Network fee only | Higher gas, M signatures | Network fee only | Network fee plus provider fee |
| Audit story | FIPS certificate, familiar | Verifiable on-chain | Protocol audits, needs explaining | Provider's SOC reports and licence |
| Staff you need | HSM security engineers | Disciplined signers | Crypto engineers and SREs | Backend integrators |
| Characteristic failure | Compromised app signs anything | Signers approve what they cannot read | Implementation bug or down co-signer | Provider outage or lock-in |
| Natural home | Narrow chain set, bank partners | Treasury, DAO, cold storage | Large venues at scale | Regulated venues at launch |
Choosing for a regulated venue
The decision is rarely one option. The pattern most regulated venues reach, and the one the hub describes as the common end state, is layered:
- Client assets with a licensed custodian, because the licence, segregation and safeguarding requirements are met on day one and the fee is the price of that.
- A second custodian or a self-run MPC signer behind the same interface, added once volume justifies it, so a provider outage is a routing decision and the fee negotiation has a credible alternative.
- Multisig for the treasury and the deepest cold tier, where transparency and slowness are both features.
- HSMs where a share or an operational key needs a certified home, rather than as the primary wallet.
Three rules make that layering survivable. Design the signing layer as a port your withdrawal pipeline calls, so the choice can change without the pipeline knowing. Keep the ledger, not any wallet or dashboard, as the only place a balance changes. And make every movement idempotent on an identifier you generated, so a retry after a timeout finds the earlier attempt. The idempotency article covers that last rule in depth.
What stays the same whatever you pick
Whichever column you land in, the following are yours to build and run, and auditors will ask for evidence of each:
- A documented key inventory that includes API credentials, approval devices and co-signer services, not only private keys.
- Ceremonies and recovery drills on a calendar, with witnesses and records. NIST SP 800-57 is the reference auditors expect you to have read, and CCSS is the checklist written for this industry.
- Separation of duties between the person who requests, the people who approve and the person who can change a limit.
- An append-only audit log of every policy evaluation, approval and signature, with the exact payload the approver saw.
- Daily reconciliation of ledger against custodian against chain, which is also the control that detects a key management failure you did not see happen.
- A kill switch that halts withdrawals per asset, and a rehearsed path to rotate or migrate away from a compromised key or provider.
What this looked like in practice
On the regulated exchange I worked on, client assets sat with licensed custodians, two of them by the time I left, behind a provider-agnostic interface so that neither vendor's model leaked into the withdrawal pipeline. The decisions that mattered most in hindsight were not about MPC or hardware at all. They were treating the provider API credentials and the operators' approval devices as key material with their own ceremony and rotation, keeping the ledger as the system of record so that no provider dashboard could become the truth by default, and building the second provider early enough that the first one's outages became routing events rather than incidents. The case study covers the wider architecture.
If you are choosing between these options, or inheriting a choice someone else made, this is the kind of design review I take on.
Written from public vendor documentation, published standards and general industry practice. It does not describe the architecture, controls or operations of any employer or client. Views are my own.