Thunder.finance
Thunder.Finance is a mixer that incentives Privacy paying yields
Problem Statement
An EVM-compatible privacy-focused mixer that deploys pooled deposits into external lending markets (e.g. Aave) to earn real yield. Users deposit supported ERC20 stablecoins through commitment-based privacy, accrue yield while funds are pooled, and later withdraw principal + proportional yield using a secret (commitment/nullifier) flow.
Solution
Web3 Thunder Finance is built as an EVM-compatible yield mixer using Solidity 0.8.19 and the Foundry development framework. The core architecture revolves around Web3ThunderFinanceMixer.sol, which pools user deposits and routes them into Aave V3 markets to generate real yield while preserving privacy via a commitment/nullifier scheme.We leverage Aave V3 as our primary yield source, allowing us to transform idle pooled assets into productive capital without managing complex lending logic ourselves. The project is deployed on the Celo Blockchain (Mainnet & Alfajores), chosen for its fast block times and negligible gas fees, which are critical for a privacy protocol that requires frequent user interactions. We also utilize OpenZeppelin libraries for robust security (AccessControl, ReentrancyGuard) and CeloScan for contract verification via custom Foundry configurations.A notable "hacky" detail is our current yield accounting: instead of minting internal share tokens, we simply track totalPrincipal and calculate yield dynamically by reading the contract's rebasing aToken balance (yield = aTokenBalance - totalPrincipal). Additionally, the privacy mechanism is currently a prototype—it uses a raw commitment map withoutZK proofs and Merkle trees using Circom, effectively, "stubbing" the heavy cryptography to focus on the yield integration first.
Hackathon
ETHGlobal Buenos Aires
2025
Contributors
- thiagorochatr
9 contributions
- jeffprestes
5 contributions