Formal rails
High fees, slow settlement, total surveillance. Every counterparty and amount becomes someone else’s data exhaust.
MLH Midnight Hackathon · July 2026 · DeFi track
Named for the colonial sereno of Buenos Aires — the night watchman who walked the city at midnight and called that all was well. Sereno is a shielded remittance corridor on Midnight: families keep their privacy; designated auditors get cryptographic answers, not a spreadsheet of everyone.
High fees, slow settlement, total surveillance. Every counterparty and amount becomes someone else’s data exhaust.
Cash couriers and opaque P2P. No compliance story, no consumer protection — and a growing regulatory target.
Neither extreme is acceptable for LatAm remittances. Sereno draws a third line.
Architecture
Deposit amount is public. A hiding note commitment lands in a Merkle tree. TVL increases.
Public sees commitment + nullifier only. Auditor gets an in-circuit ElGamal ciphertext of the amount.
Withdrawal amount is disclosed. Note is spent. TVL decreases.
Owner proves in-circuit that a commitment opens to a concrete amount — keyed by audit request id. Note not spent.
Midnight Preprod · funded wallet · circuits compiled
Hackathon demo wallet funded on Midnight Preprod. Use these artifacts for judging.
00bc9da4d80c86b1b7805df25384ef87228111e56734f94d64bf9f7ef148a141ab
mn_addr_preprod1c2ljvsln2z5aca6nmd44skj72kmdavnm03vm9v3rwm37kclfnptsffuh6t
Elevator pitch · ~30 seconds
“Latin American remittances force a bad trade: surveillance or the black market. Sereno is a shielded corridor on Midnight — private transfers in the middle, public amounts only when money enters or leaves the pool, and a designated auditor who can decrypt transfer amounts or request an in-circuit note opening. Named for the night watchman of Buenos Aires who called ‘y sereno’ at midnight: order without turning on every light.”
Compact makes commitments, Merkle trees, and private witnesses first-class. Client-side proving; the chain never sees interior amounts except at deliberate edges.
Argentina’s Ley 27.739 puts VASPs under UIF reporting. Compliance-by-design beats “hold everyone’s data forever.”
Full Compact contract + TypeScript CLI + Windows/WSL runbook + this site. Apache-2.0.
git clone https://github.com/leocagli/sereno.git