Fhenix-matrix
Private orderbook on Fhenix
About
The problem it solves Private orderbooks have a few interesting features: - Private history of trades (visible only to user that completed trades) - Private balances of encrypted ERC20 tokens (base & trade tokens) - Absence of slippage thus impermanent loss - Absence of MEV
How it's made
Challenges we ran into I had some issues converting pure Solidity code into FHE-specific code, specially with coding paradigms I was accostumed to (if-else vs FHE.select, data-leaking, etc). Support from Fhenix mentors was very helpful for tackling this.