Design Institutional Custody Signing for Digital Assets

Last updated: November 29, 2026

Quick Overview

Design a custody platform for banks that holds private keys for digital assets across several ledgers and signs withdrawals only after policy checks and multi-party approvals, with keys never present whole on any single machine.

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

0

0

0 solved


Design a custody platform for banks that holds private keys for digital assets across several ledgers and signs withdrawals only after policy checks and multi-party approvals, with keys never present whole on any single machine.

Ripple Custody serves regulated institutions that need bank-grade key management, approval workflows, and audit, often deployed on-premises or in the customer's cloud. The interviewer is looking at security architecture first: threat model, key generation and storage, policy engine, and how signing stays available without weakening controls.

What the Interviewer Expects
  • Start from a threat model covering insiders, compromised hosts, and supply chain
  • Choose HSMs, MPC, or both, and justify the choice
  • Separate the policy and approval engine from the signing service
  • Make every request, approval, and signature tamper-evident in an audit log
  • Address availability, key backup, and disaster recovery without single points of compromise
Key Topics to Cover
Key Management
HSM
Multi-Party Computation
Policy Engine
Audit Logging
Threat Modelling
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
  • How do you support a new chain with a different signature scheme?
  • A trader's laptop is compromised; what stops a fraudulent withdrawal?
  • How do you rotate keys or change the approval quorum without moving funds?
  • How would you prove to an auditor that a given signature was policy-compliant?
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 vaults and accounts per customer across XRPL, Ethereum, and Bitcoin; request transfers; enforce policies (amount limits, whitelisted destinations, time windows, M-of-N approvers by ...

High-Level Design
  • Request API with strong authentication (hardware-backed user keys, not just passwords).
  • Policy engine: evaluates the request against versioned rules and gathers approvals; each approval is...

Submit Your Answer
Markdown supported

Related Questions