project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Iceberg

FHE-enabled privacy preserving Uniswap v4 limit order hook, for top tier traders wanting to take advantage of the power of Uni V4 without revealing their secrets.

Iceberg

Created At

ETHGlobal Bangkok

Winner of

Uniswap Foundation - Hooks, Hooks, and Hooks 1st place

Fhenix - Best use of Fhenix Stack 2nd place

Project Description

This project allows legendary traders to place hidden 'iceberg' orders on Uniswap v4 and to capture price swings and profit from volatility without revealing their EDGE! The price, amount and direction of trade are all kept hidden with the help of FHE encryption from Fhenix. Custom FHE enabled token standards were used in this project FHERC20 tokens as a trading pair in the Uniswap pool and FHERC6909 tokens for limit order receipts.

How it's Made

This project is made using Fully Homomorphic Encryption from Fhenix protocol and it is integrated into a Uniswap v4 hook. The v4 template repository from the Uniswap Foundation was used as a starting point for this project. The smart contracts are written in Solidity with Foundry being used to write tests, deploy scripts and utilities. I made use of recent developments from the fhenix team which allow for local FHE mock operations to help with testing. This allowed me to fully integrate FHE into the iceberg hook and create a vast test suite!

background image mobile

Join the mailing list

Get the latest news and updates