Skip to main content

Compact Is Not Solidity: A Developer's Field Guide to ZK Smart Contracts

· 5 min read
Frederico Santana
Founder & Technical Writer, DPO2U

If you approach Compact with a Solidity mental model, you will write code that compiles but misses the point. Compact is not a smart contract language that happens to support privacy — it's a zero-knowledge circuit language that happens to look like a smart contract language. The distinction matters for every design decision you'll make.

Trustless Trust: From 'Trust Us' to 'Verify Mathematically'

· 5 min read
Frederico Santana
Founder & Technical Writer, DPO2U

Every compliance interaction in the traditional model begins with the same implicit request: "trust us." Trust that we reviewed the documents. Trust that our auditor is qualified. Trust that the PDF hasn't been modified since issuance. Trust that our data retention policy matches what we declared. DPO2U's thesis is that this request is not just unnecessary — it's the root cause of compliance failure.

Permission Bits as Governance Language: Controlling 6 Agents with 5 Bits

· 5 min read
Frederico Santana
Founder & Technical Writer, DPO2U

Corporate governance has separation of duties. The person who approves payments shouldn't be the person who initiates them. The person who deploys code shouldn't be the person who writes it. In DPO2U, I enforce the same principle on autonomous AI agents — not through policies they might ignore, but through a 5-bit integer stored on-chain in a smart contract.

The MCP Server as a Privacy API: AI-Native Compliance Verification

· 4 min read
Frederico Santana
Founder & Technical Writer, DPO2U

The most consequential design decision in DPO2U wasn't the choice of blockchain or the smart contract language — it was making the primary interface an MCP server. In 2026, the consumers of compliance infrastructure aren't humans clicking dashboards. They're AI agents making autonomous decisions about data transfers. The API must speak their language.

Building LEANN: Giving Your Agent a 3,628-Document Memory

· 5 min read
Frederico Santana
Founder & Technical Writer, DPO2U

An AI agent without long-term memory is a stateless function call — powerful in isolation, useless for continuity. When I started building DPO2U's six-agent ecosystem, every agent had the same problem: it couldn't remember what happened yesterday. LEANN changed that, but getting there meant debugging chunk sizes, fixing duplicate indexes, and learning why 256-token chunks turn a 2-hour build into a 16-hour one.

From PDF to Proof: Replacing Compliance Documents with On-Chain Attestations

· 4 min read
Frederico Santana
Founder & Technical Writer, DPO2U

Every compliance audit I've seen ends the same way: a consultant produces a 47-page PDF, emails it to someone who saves it in a shared drive, and both parties agree to pretend this constitutes "verification." The PDF is not tamper-proof. The shared drive is not immutable. The agreement is not enforceable. DPO2U replaces this entire ritual with a five-step cryptographic pipeline.