Zero Knowledge Proof of Proximity. Circuits now formally verified, plus a frame tx recovery demo.
Enconomy proves two devices are physically next to each other, using sound and zero knowledge. Each device plays a coded sound and records both its own and its partner's. The arrival times give a distance with no synced clocks, and under 60 cm reads NEAR. Hardware keys sign each half, and a ZK proof ties that half to the recording without revealing it.
We started this at ETHGlobal Tokyo and presented it as a new primitive. Naturally, it included three use-cases: a Safe that only spends when its owners stand side by side, ENS meeting records, and World ID for two different humans as a proof of presence. We're on the Continuity track, and three things are new in Mumbai.
Formal verification. The Noir proximity circuits, the basic server flow and the circuit contract's check now have machine-checked Lean proofs. The work also caught problems: silent audio passes today's circuit with a modified app. A tone through a real speaker failed 0 of 800 tries. The fix is planned for the next version, and this is a prototype nobody should rely on until then. This covers those parts under named assumptions, such as verifier soundness. It doesn't make the whole system verified.
Three factor native account recovery/key rotation. Your phone is your wallet, and you lost it. With an EIP-8141 frame transaction you rotate to a new phone on the same account, with no funds moved. Getting back in takes three things: your email through Chrome's Email Verification Protocol, your registered laptop, and a proof that the laptop and new phone are side by side. The old key gets a window to cancel. The proofs are checked in the verify frame, at about 11.5M gas, way past the public 100k limit, so this runs on the alt mempool.
WVP, the Wallet Verification Protocol. EVP is smooth, but Google holds the off switch. WVP is the wallet version: sign once, and your browser proves you own alice.eth on any site with no more popups. If your wallet is stolen, repoint one ENS record and browsers the old wallet approved stop working. Identity recovery with CROPS.
We ran the full rotation with a laptop and a Pixel 6 through the public alt mempool. The email issuer is a local stand-in. A copied laptop key or a stolen, unlocked laptop still beats recovery.
The app is Kotlin Multiplatform with Compose, targeting Android, iOS and the web through Kotlin/Wasm, so the laptop and phone share the same measurement code. The server is Python. Circuits are Noir, proved with Barretenberg, with a native Rust prover on phones. Contracts are Solidity with Foundry. Formal verification is Lean 4.
Partner tech and what it gave us:
WVP runs as an MV3 Chrome extension built on OpenAC (a modified build) with P-256 SD-JWT credentials. There's also a small Chromium patch that attempted to make WVP as native as EVP.
The hacky parts:
AI coding agents (Claude Code and Codex) did much of the writing and reviewing, including the Lean proofs. Lean itself checks the proofs, but the informal specs had only brief human audit.

