1/9 Revolutionizing privacy on the Mantle Network ๐ Swirl is a ZK-powered private pool inspired by Tornado-style systems, but built with a modern stack: Noir + Poseidon + non-custodial design. This thread breaks down the architecture, usage, and security ๐
@Mantle_Official
@wallabyxyz_ @heronlancellot Built entirely during the Mantle Global Hackathon.
Grateful to @Mantle_Official and @HackQuest_ for supporting builders.
https://t.co/yXSHilqnwF
7/9 โ ๏ธ RISKS & LIMITATIONS
โข Losing the note = losing funds (non-custodial)
โข Timing analysis may reduce privacy
โข Anonymity set depends on active users
โข Experimental โ not production-ready yet
1/9 Revolutionizing privacy on the Mantle Network ๐ Swirl is a ZK-powered private pool inspired by Tornado-style systems, but built with a modern stack: Noir + Poseidon + non-custodial design. This thread breaks down the architecture, usage, and security ๐
@Mantle_Official
6/9 โ๏ธ TECHNICAL FLOW WITHDRAW:
Submits ZK proof + nullifierHash + recipient
Contract verifies the proof and checks the nullifier is unused
Sends 1 MNT to the recipient
4/9 ๐ฐ ECONOMICS
โข Denomination: 1 MNT (fixed)
โข Protocol fee: 0.1 MNT โข Total per deposit: 1.1 MNT Why fixed? If deposits had variable amounts, it would be trivial to correlate deposits and withdrawals by value.
3/9 ๐ CRYPTOGRAPHY โข Poseidon Hash: optimized for ZK circuits
โข Merkle Tree (depth 20): up to 1,048,576 deposits
โข Noir ZK Proofs: prove knowledge of a deposit without revealing which one
โข Nullifiers: prevent the same deposit from being withdrawn twice
2/9 ๐ THE PROBLEM On the blockchain, everything is public. Anyone can see your balances, transactions, and behavioral patterns. Swirl solves this by allowing users to deposit MNT and withdraw to a different address with no cryptographic link between the operations.