F

Fhenix-matrix

Private orderbook on Fhenix

F

Fhenix-matrix

Private orderbook on Fhenix


The problem Fhenix-matrix 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

Challenges I 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.

Tracks Applied (1)

Fhenix - Build Dapps on ETH L2 using FHE

I deployed an encrypted orderbook on the Fhenix Frontier testnet (see README for more info). Encrypted orderbooks fit we...Read More

Fhenix

Discussion