Visit

About

## Wave 1 submission

Smart Contract Core + FHE Architecture Updates in this Wave:

Built the foundational FHEPay.sol smart contract — the core encrypted payment engine powered by Fhenix CoFHE.

What was built:

Encrypted Vault System — Implemented deposit() that accepts client-side FHE-encrypted amounts (InEuint64) and stores them as euint64 ciphertexts on-chain. Balances are never visible to any blockchain observer, MEV bot, or block explorer. Uses FHE.add() for ciphertext accumulation and proper FHE.allowThis() / FHE.allowSender() permission management.

AI Agent Delegation with Encrypted Limits — Built authorizeAgent() / revokeAgent() functions that let vault owners delegate spending authority to AI agent addresses. The spending limit itself is stored as FHE ciphertext — even the authorized agent cannot read its own limit in plaintext on-chain. This prevents information leakage about organizational budgets.

Core FHE Payment Engine (agentPay()) — The most technically sophisticated component. Implements a fully encrypted payment pipeline:

Encrypted dual-condition check: FHE.lte(amount, allowance) AND FHE.lte(amount, balance) Boolean AND via FHE.select() trick (since FHE doesn't natively support ebool AND): approved = FHE.select(withinAllowance, hasBalance, FHE.asEbool(false)) Conditional balance transfers using FHE.select() instead of require() — this prevents information leakage through transaction success/failure side channels Atomic updates: sender balance deducted, recipient balance credited, agent allowance reduced — all conditionally on ciphertext Direct Encrypted Transfers — transfer() function for owner-to-owner encrypted payments with the same FHE.select() pattern for conditional execution.

Hardhat Project Setup — Configured Hardhat 3.2.0 with Solidity 0.8.20, optimizer enabled, and @fhenixprotocol/cofhe-contracts ^0.1.0 integration for the FHE type system.

Key technical decision: Used FHE.select() for ALL conditional state updates instead of require() + revert. In traditional Solidity, a failed require() reverts the transaction, but in FHE-land, the revert itself is a side channel — it tells an observer "the encrypted amount exceeded the encrypted limit." By using FHE.select(), invalid payments become silent no-ops: balances simply don't change, and no information leaks.

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.