Design Threshold Signing Orchestration for MPC Wallets

Last updated: November 29, 2026

Quick Overview

Design the service that coordinates threshold (TSS) signing for MPC wallets where key shares are held by the client, BitGo and a backup provider, so that any two of three parties can sign a withdrawal after policy approval, without any party ever holding the full key.

BitGo
System Design
Software Engineer
BitGo
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the service that coordinates threshold (TSS) signing for MPC wallets where key shares are held by the client, BitGo and a backup provider, so that any two of three parties can sign a withdrawal after policy approval, without any party ever holding the full key.

BitGo offers TSS wallets for chains without native multisig (such as EdDSA and many account-based chains), and the signing protocol involves several interactive rounds between parties on different infrastructure. The round checks distributed protocol orchestration, security boundaries and failure handling where mistakes can leak keys or lose funds.

What the Interviewer Expects
  • Separates policy approval from cryptographic signing and binds the two
  • Models the signing session as a state machine with rounds, timeouts and abort
  • Keeps BitGo's share in HSM-backed or isolated signers with a narrow API
  • Never reuses nonces or partial state across sessions and explains why that matters
  • Handles parties that are offline, such as client-hosted signers
  • Covers audit logging, key refresh and backup recovery
Key Topics to Cover
MPC / TSS
distributed state machines
HSM
security boundaries
fault tolerance
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • What goes wrong if a signing session's nonce material is reused?
  • How does a client-hosted share participate if it sits behind a firewall?
  • How would you rotate shares without changing the wallet address?
  • What metrics tell you the system is healthy?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: create a withdrawal, run policy (whitelists, velocity, approvals), then produce a signature with 2 of 3 shares (ECDSA for EVM chains, EdDSA for Solana-style chains) and broadcast. Non-func...

High-Level Design

Components: Transaction service builds the unsigned tx and its digest. Policy service approves and emits a signed approval token bound to (wallet, tx digest, expiry). Signing coordinator owns `Signi...


Submit Your Answer
Markdown supported

Related Questions