About
## Wave 1 submission
We designed and documented BEAR Protocol (Blindfolded Encrypted Agent Routing) — a privacy-preserving payment infrastructure for AI agents built on Fhenix CoFHE. Starting from the observation that over $24M in x402 agent payments settle in transparent USDC, we identified three core issues: competitive intelligence leakage, balance exposure, and transaction correlation. BEAR solves these using Fully Homomorphic Encryption (FHE), enabling computation on encrypted financial data.
We conducted deep technical research across three domains: • Fhenix CoFHE architecture — FHE ops, access control (allowThis/allow/allowSender), MPC decryption, and ciphertext/handle separation • FHERC20 standard — encrypted balances, operator-based authorization, silent failure transfers, async unwrap flows • x402 payment flow — 402 responses, headers, and server-side verification
All claims were validated against official Fhenix code and documentation.
We designed a three-layer architecture:
• Privacy Layer — ConfidentialBEAR wraps USDC into encrypted cUSDC + nonce-based PaymentVerifier • Commerce Layer — AgentCommerceProtocol (ERC-8183-style escrow) with encrypted budgets (deal sizes hidden) • Identity Layer — public agent registry + reputation (transparency where it helps)
We also defined a full FHE operations matrix mapping primitives (asEuint64, add, sub, lte, select, decrypt, etc.) to contract logic.
We produced 7 key deliverables:
• Technical spec (contracts, flows, FHE ops) • Lightpaper (problem, solution, why FHE > ZK/MPC/TEE) • Security model (threats, mitigations, pitfalls) • x402 integration spec (end-to-end flow + edge cases) • 5-wave roadmap (contracts, tests, deliverables) • Dev guide (FHE + FHERC20 patterns) • System diagrams (architecture, flows, privacy boundaries)
We scaffolded from the cofhe-hardhat-starter, configured Solidity 0.8.25 (Cancun, Arbitrum Sepolia), structured all six contracts, and defined core Hardhat tasks (deploy, wrap, pay, unwrap, balance). The project compiles and base tests pass.
All documentation was self-audited for technical accuracy, consistency, and correctness across protocol design, standards, and implementation details.
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





