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

rekt.trade

A super extractive MEV-aware Orderbook exchange Micro-Rollup that rekts your trades

rekt.trade

Created At

ETHGlobal Brussels

Winner of

Avail - Best Core Tooling project

Project Description

An Orderbook exchange implemented as a Micro-Rollup that is super extractive in terms of capturing MEV by outsourcing the sequencing of transactions to third party searchers. These searchers identify arbitrage opportunities and inject their own orders using advanced simulation and price movement algorithms. The orderbook supports limit bid and ask orders. The project also includes a Forta bot that acts as a data availability checker for the rollup.

How it's Made

This Orderbook DEX is implemented as a Micro-Rollup using Stackr TypeScript SDK, uses Avail for Data Availability (DA) and settles to Ethereum.

This system has the following 4 primary components built using 3 different stacks (Stackr, Fleek network, Forta):

  1. The orderbook micro-rollup hosted as a node.js service. This includes sequencer, state machine and executor.
  2. The orderbook state machine hosted as a public Fleek function. Useful for auditability and simulation purposes by external actors.
  3. Third party searchers which order transactions for the rollup. Deployed as Fleek functions to simulate external actors.
  4. A Forta bot that monitors Ethereum for incoming batches from the micro-rollup and checks that these batches' data is actually available on Avail DA.

P.S. I think the use-case for which I've employed a Forta bot here is pretty neat!

A video explanation of the entire project's system architecture can be found here: https://www.loom.com/share/f6fa2d41b3c8418e8df2ec473a1c8791?sid=6ad70ef5-375d-4395-a226-b7cb9c57e5e9

background image mobile

Join the mailing list

Get the latest news and updates