Central Bank Digital Currencies (CBDCs)
Wholesale vs retail CBDC, programmable money, digital yuan, digital euro, privacy implications, and technical architecture.
Overview
CBDCs are digital forms of fiat currency issued and regulated by central banks. They represent a fundamental shift in monetary systems.
CBDC Landscape
Wholesale vs Retail CBDC
Comparison Table
| Aspect | Wholesale CBDC | Retail CBDC |
|---|---|---|
| Users | Banks, institutions | General public |
| Transaction Size | Large (millions) | Small (daily) |
| Privacy | Limited | Tiered |
| Technical Focus | Settlement efficiency | User experience |
| Offline Support | Not required | Required |
| Financial Inclusion | Indirect | Direct |
| Implementation | Permissioned | Permissioned/permissionless |
| Regulatory Impact | Low | High |
Technical Architecture
Two-Tier Model
Single-Tier Model
# Single-tier: Central bank distributes directly to users
# Example: e-CNY architecture
class SingleTierCBDC:
def __init__(self):
self.central_bank = CentralBank()
self.wallets = {} # User wallets
def create_wallet(self, user_id, identity_verified):
# KYC at central bank level
self.wallets[user_id] = Wallet(identity_verified)
def transfer(self, sender, receiver, amount):
# Direct transfer on central bank ledger
self.central_bank.ledger.transfer(sender, receiver, amount)
Digital Yuan (e-CNY)
Architecture
| Component | Description |
|---|---|
| Backend | Central bank infrastructure |
| Middle | Authorized operators (banks) |
| Frontend | Mobile wallets |
| Hardware | NFC cards, hardware wallets |
| Offline | Near-field communication |
e-CNY Features
| Feature | Implementation |
|---|---|
| Anonymity | "Controllable anonymity" - small transactions anonymous |
| Offline Payments | NFC-based, no internet required |
| Smart Contracts | Limited programmability |
| Interest | No interest on holdings |
| Interoperability | Works with existing payment systems |
| Limits | Tiered based on KYC level |
e-CNY Privacy Model
| Tier | KYC Level | Limit | Privacy |
|---|---|---|---|
| Level 1 | Phone number only | ¥5,000/day | Limited |
| Level 2 | ID verification | ¥50,000/day | Medium |
| Level 3 | Bank account | ¥200,000/day | High |
| Level 4 | In-person verification | Unlimited | Highest |
Digital Euro
Design Principles
| Principle | Implementation |
|---|---|
| Privacy | "Same level as cash" |
| Offline | Up to €150 without internet |
| Free for basic use | No fees for standard payments |
| Interoperable | Works with existing systems |
| Programmable | Limited smart contracts |
| 1:1 with cash | No interest, no lending |
Digital Euro Architecture
# Digital Euro technical approach
class DigitalEuro:
def __init__(self):
self.ledger = "Distributed ledger (not blockchain)"
self.offline_storage = "Secure element (SE) on device"
self.tiered_privacy = True
def process_transaction(self, tx):
if tx.amount <= 150 and tx.offline:
# Offline settlement, batch later
return self.offline_settle(tx)
else:
# Online settlement
return self.online_settle(tx)
Programmable Money
Use Cases
Programmability Comparison
| Feature | Cash | Bank Deposit | CBDC | Crypto |
|---|---|---|---|---|
| Programmable | No | Limited | Yes | Yes |
| Offline | Yes | No | Possible | No |
| Interest | No | Yes | No | Yes (DeFi) |
| Privacy | High | Low | Medium | High |
| Traceability | No | Yes | Yes | Yes (public) |
| Intermediaries | No | Yes | Optional | No |
Privacy Implications
Privacy Spectrum
| Level | Description | Example |
|---|---|---|
| Anonymous | No identification required | Cash |
| Pseudonymous | Pseudonym used | Bitcoin |
| Tiered | Privacy based on amount | e-CNY |
| Identified | Full KYC required | Bank transfer |
| Surveillance | Complete monitoring | Authoritarian systems |
Privacy Technologies
# Zero-Knowledge Proof for CBDC privacy
class ZKCBDC:
def prove_balance(self, balance, min_balance):
"""Prove balance >= min without revealing exact amount"""
proof = zk_prove(
statement="balance >= min_balance",
witness=balance,
public_input=min_balance
)
return proof
def prove_eligibility(self, identity, criteria):
"""Prove eligibility without revealing identity"""
proof = zk_prove(
statement="identity meets criteria",
witness=identity,
public_input=criteria
)
return proof
Privacy Trade-offs
| Aspect | High Privacy | Low Privacy |
|---|---|---|
| User Freedom | Protected | Restricted |
| Crime Prevention | Difficult | Easy |
| Financial Surveillance | Minimal | Extensive |
| Innovation | Limited | Enabled |
| Adoption | Higher | Lower |
Trade-offs
CBDC vs Cash
| Feature | Cash | CBDC |
|---|---|---|
| Anonymity | Complete | Tiered |
| Offline | Yes | Possible |
| Programmable | No | Yes |
| Traceable | No | Yes |
| Physical | Yes | No |
| Cross-border | Easy | Complex |
| Storage | Safe | Risk of loss |
| Interest | No | No |
CBDC vs Commercial Bank Money
| Aspect | Commercial Bank | CBDC |
|---|---|---|
| Issuer | Commercial bank | Central bank |
| Risk | Bank failure risk | No bank risk |
| Interest | Possible | No |
| Lending | Yes | No (retail) |
| Privacy | Limited | Tiered |
| Intermediaries | Required | Optional |
Interview Questions
-
How does a two-tier CBDC model balance privacy with regulatory compliance?
- Answer: Central banks issue to intermediaries who handle KYC. Privacy is tiered: small transactions are anonymous, larger ones require identification. This preserves privacy while enabling AML checks.
-
What technical challenges prevent CBDCs from being fully decentralized?
- Answer: Need for KYC, transaction monitoring, and regulatory compliance require centralized control. True decentralization conflicts with monetary policy implementation.
-
How could CBDCs impact commercial banking and monetary policy transmission?
- Answer: Risk of disintermediation if users prefer central bank money. Central banks can set interest on CBDCs to control money supply, but this could destabilize traditional banking.
Quiz Questions
-
What is "controllable anonymity" in e-CNY?
- A) Complete anonymity
- B) Tiered privacy based on transaction size ✓
- C) No privacy at all
- D) Full government surveillance
-
Which CBDC model allows offline transactions?
- A) Single-tier
- B) Two-tier with NFC ✓
- C) Wholesale only
- D) None
-
What is the primary purpose of wholesale CBDC?
- A) Consumer payments
- B) Interbank settlement ✓
- C) Cross-border retail
- D) Privacy enhancement
Practice
- Design a privacy-preserving CBDC system using zero-knowledge proofs
- Build a smart contract for programmable money with spending rules
- Analyze the e-CNY white paper and compare to digital euro design
- Create a model showing CBDC impact on commercial bank deposits