hackquest logo

WhisperFi

WhisperFi is a privacy-preserving DeFi protocol built on zero-knowledge proofs and account abstraction. It leverages ZK-SNARKs (Groth16) for on-chain transaction confidentiality and integrates ERC-433

視頻

描述

Summary

WhisperFi is a privacy-preserving DeFi protocol built on zero-knowledge proofs and account abstraction. It leverages ZK-SNARKs (Groth16) for on-chain transaction confidentiality and integrates ERC-4337 to deliver secure, seamless user experiences.


Target User Ecosystem

WhisperFi serves three core segments:

  • Institutional traders seeking privacy + MEV protection in DeFi;

  • High-net-worth individuals requiring asset privacy + compliance reporting;

  • DeFi developers integrating privacy infrastructure.

According to DeFi Pulse, the total value locked (TVL) in DeFi currently exceeds $40 billion, with institutional capital accounting for approximately 35% — representing a potential addressable market of around $14 billion.


Core Features

Zero-Knowledge Private Transaction System

Technical Implementation:

The system employs Groth16 ZK-SNARKs for privacy. Core components include Poseidon hashing, Merkle tree state management, and zk-proof verification. The frontend generates commitments via generateCommitment(), maintaining a fixed-depth 16 Merkle tree of historical commitments.

Cross-Domain Hash Consistency Solution

Solved critical inconsistency in Poseidon hash computation across JavaScript (circomlibjs), Solidity, and Circom circuits. Unified bytecode generated via deploy-poseidon.ts using poseidonContract.createCode(2) ensures cryptographic consistency — establishing a trusted foundation for the entire system.

Account Abstraction System

Full ERC-4337 Implementation:

Complete AA stack including EntryPoint, SmartAccountFactory, and Paymaster. SmartAccountFactory uses CREATE2 for deterministic address generation, supporting getAccountAddress() precomputation and createAccount() deployment. Enables Gas abstraction, batched transactions, and social recovery via UserOperation standard.

MEV Protection & Relayer System

Private Mempool Integration:

Node.js relayer integrates Flashbots infrastructure to submit private transactions into protected mempools. Monitors on-chain events, processes zk-proofs, and enforces MEV-resistant execution at intended prices.

黑客松進展

1. Tested and Deployed on Mantle Testnet. 2. Improve the stability of ZKp 2. See the Github commits for debugging details

技術堆疊

Web3
Node
Solidity
Next
ZK
Circom
Circuits

籌資狀態

N/A

團隊負責人
CCCdesu
行業
DeFiInfra