Design A Developer-Controlled Wallet Platform With MPC Signing
Last updated: November 29, 2026
Quick Overview
Design an API platform that lets developers create millions of blockchain wallets for their end users across several chains, submit transfers through a REST API, and have Circle sign and broadcast them with keys held in MPC, with optional gas sponsorship.
Circle
November 29, 20260
0
0 solved
Design an API platform that lets developers create millions of blockchain wallets for their end users across several chains, submit transfers through a REST API, and have Circle sign and broadcast them with keys held in MPC, with optional gas sponsorship.
This mirrors Circle's Programmable Wallets and Gas Station products, where custody, signing security and reliable transaction delivery are the whole value. The interviewer looks for a clean split between API, transaction orchestration, signing and chain adapters, plus solid answers on idempotency, key security and stuck transactions.
What the Interviewer Expects
- Separates API, transaction orchestrator, signing service and per-chain adapters
- Explains MPC or HSM key custody and how signing requests are authorised
- Models the transaction lifecycle as a durable state machine
- Handles nonces, fee bumping and stuck transactions
- Delivers status to developers via webhooks with retries
- Covers multi-tenant isolation, rate limits and compliance screening
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you rotate or recover key shares without changing wallet addresses?
- How would you add a new chain with a different account model, such as Solana?
- A developer's API key leaks; what limits the blast radius?
- How do you sponsor gas without letting one tenant drain the paymaster?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
- Functional: create wallet sets and wallets per chain, get balances, submit transfers and contract calls with an idempotency key, receive status webhooks, optional sponsored gas.
- Non-functional: ke...
High-Level Design
API gateway (auth, per-tenant rate limits) -> Wallet service (Postgres: tenants, wallets, addresses) and Transaction service (state machine in Postgres, events on Kafka). Orchestrator workers pull tra...