Design A Cross-Chain Burn Attestation Service

Last updated: November 29, 2026

Quick Overview

Design the off-chain service for a burn-and-mint bridge that watches USDC burn events on many source chains, waits for sufficient finality, signs an attestation for each message, and serves attestations to anyone who wants to mint on the destination chain.

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

0

0

0 solved


Design the off-chain service for a burn-and-mint bridge that watches USDC burn events on many source chains, waits for sufficient finality, signs an attestation for each message, and serves attestations to anyone who wants to mint on the destination chain.

This is the heart of a protocol like CCTP, where a wrong attestation mints unbacked USDC and a slow one strands user funds. The interviewer expects deep thinking about finality per chain, signing key security, exactly-once attestation, and availability of a public API under heavy read load.

What the Interviewer Expects
  • Uses per-chain finality rules before attesting
  • Guarantees at most one attestation per (source domain, nonce) and never for a reorged burn
  • Isolates attestation signing keys with HSMs and multi-party approval
  • Serves a cacheable, highly available public attestation API
  • Monitors burn-to-mint latency and stuck messages
  • Discusses fast-transfer variants and their risk
Key Topics to Cover
Finality
Chain indexing
Threshold signatures
Exactly-once processing
Public API caching
Security
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 would you offer faster-than-finality transfers safely?
  • What if a source chain halts for six hours?
  • How do you rotate attester keys without breaking in-flight messages?
  • How would you detect that your own service attested something it should not have?
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: observe MessageSent/burn events on each supported chain, produce a signed attestation over the message bytes after finality, expose GET /attestations/{source_domain}/{tx_hash} return...
High-Level Design

Per-chain indexers (run against several independent RPC nodes) emit observed burns to a durable log. A finality tracker per chain marks messages final using chain-specific rules (Ethereum finalized ch...


Submit Your Answer
Markdown supported

Related Questions