hackquest logo

ShieldSwap

ShieldSwap is a privacy-preserving DEX on Mantle Network. It lets you swap tokens without revealing your wallet address on-chain. Try here - https://doshieldswap.vercel.app

视频

技术栈

Next
React
Solidity
Web3
Node
Noir
Viem
ZK Proofs

描述

ShieldSwap is a privacy-preserving DEX deployed on Mantle Mainnet. It enables users to swap tokens without exposing their wallet address on-chain, solving the critical privacy gap in DeFi.

Using zero-knowledge proofs (Noir + UltraHonk), users deposit tokens into a shielded pool, swap privately via Merchant Moe DEX integration, and withdraw to any address — breaking the on-chain link between their identity and trading activity.

Key innovation: Our relayer-based meta-transaction system lets users sign EIP-712 messages instead of transactions, ensuring their wallet address never appears on-chain during swaps.

ShieldSwap also implements the Privacy Pools compliance model, allowing users to prove their funds come from clean sources without revealing their identity — privacy with compliance.

Mainnet Contracts:

- ShieldedPool: 0x67C4E8B4e1dD6d46083cFc6dC31376F64BB209f6

- RelayAdapt: 0x8b96Dc18ce0eCe83D664600f6dc9f752Fb65F86A

本次黑客松进展

- Built 5 ZK circuits in Noir (deposit, withdraw, transfer, swap, compliance) - Deployed smart contracts to Mantle Mainnet (ShieldedPool, RelayAdapt, ASPRegistry) - Integrated Merchant Moe Liquidity Book for atomic shielded swaps - Implemented relayer service for meta-transactions (gasless, private swaps) - Built SDK with browser-based proof generation using bb.js Web Workers - Created Next.js frontend with full deposit/swap/withdraw flows - Deployed frontend to Vercel, relayer to Railway - End-to-end tested on mainnet with real tokens
队长
KKshitij
项目链接
赛道
DeFi