Imagine a currency that knows exactly where every cent you spend goes. Not metaphorically — literally. Every coffee, every medication, every donation, every late-night purchase you'd rather keep private, all recorded on a ledger controlled by the Central Bank. This isn't dystopian fiction; it's the technical reality we're approaching with DREX, Brazil's Central Bank Digital Currency (CBDC). After two decades working with blockchain and digital forensics, I've learned that the architecture we build today defines the freedoms we keep tomorrow.
The Programmability Problem Nobody Talks About
DREX is built on a permissioned DLT platform, originally based on Hyperledger Besu and leveraging smart contracts via Soroban-style logic and Solidity. The innovation is real: atomic settlements, tokenized assets, and 24/7 liquidity. But programmability cuts both ways.
A programmable Real means money can carry rules. In theory, this enables automated tax collection or conditional government benefits — imagine welfare payments that can only buy food. Sounds efficient. Now consider the inverse: funds that expire if not spent, transactions blocked by category, or balances frozen without a court order.
I've audited enough systems to know that technical capability almost always becomes administrative practice. When I advise institutions, as André Dias Moreira Prol, I insist on one principle: if a system can surveil or restrict, assume eventually it will. The Central Bank has publicly committed to privacy protections, but commitment is policy — and policy changes with governments.
How Zero-Knowledge Proofs Could Save (or Damn) DREX
Here's where the engineering matters. The Central Bank selected Starkware's zero-knowledge proof technology (ZK-STARKs) in its second phase specifically to address privacy concerns. This is genuinely promising.
ZK proofs allow a transaction to be validated as legitimate — correct balances, no double-spending — without revealing the parties or amounts to every node. It's the mathematical equivalent of proving you're over 18 without showing your birth date.
But implementation details decide everything. Consider three questions:
- Who holds the decryption keys? If regulators retain a master key, privacy is conditional, not guaranteed.
- What metadata leaks? Even with encrypted amounts, transaction timing and frequency patterns are forensically exploitable — I've reconstructed behavioral profiles from far less in investigations.
- Is privacy default or opt-in? Features that require activation protect almost no one, because most users never touch default settings.
Compare this to Nigeria's eNaira, which saw adoption below 0.5% partly due to trust deficits, or China's e-CNY, which offers "controllable anonymity" — a phrase that tells you precisely who's in control. Brazil has a window to do better, but only if the privacy layer is architected as a right, not a toggle.
What Brazilians Should Demand Now
DREX is in pilot phase, with broader rollout expected across 2025–2026. This is the moment leverage exists, because retrofitting privacy into a deployed financial system is nearly impossible — I've seen the technical debt it creates.
Three concrete demands matter:
Legal, not just technical, protections. Encryption can be reversed by policy. We need statutory guarantees requiring judicial authorization for any transaction de-anonymization, with the same bar as a wiretap.
Open-source auditability. The DREX smart contracts and ZK circuits should be publicly reviewable. Trust in financial infrastructure must be verifiable, not assumed.
Cash as a permanent alternative. The day physical Real disappears, your right to anonymous transactions disappears with it. Preserving cash is preserving optionality.
In my consulting work, I've watched tokenization projects succeed precisely because privacy was designed in from commit zero. As André Dias Moreira Prol, I believe DREX can become a global model for responsible CBDC design — Brazil has the talent and the technology to lead. But that outcome isn't automatic; it's a choice being made right now, largely without public scrutiny.
The code being written today will govern your financial autonomy for decades. Read the pilot documentation, ask your representatives where privacy guarantees are legally codified, and demand transparency before the architecture hardens into something we can no longer change.
Follow more articles by André Dias Moreira Prol on Medium.




