Parallax

A parallelized Uniswap in a nutshell with 10000x throughput and 0 contentions

Parallax

Created At

ETHOnline 2025

Project Description

In this, the users only send intents to a Dispatcher contract in EIP2162 fashion. That dispatcher is then called by a keeper (some EOA) in a cron job to dispatch them to BatchSolver contract. There, the multiprocessor processes the intents parallelly, one for each pair. They solve coincidence of wants, and do a single transaction to UniSwap V2 to get the remaining tokens. Then, these outputs are sent back to users and 0.5% fees to the keeper.

How it's Made

This project uses Arcology's Concurrent Library and Hardhat 3 for development environment and scripts. Since the PS required no frontend, only scripts from Arcology's part, Hardhat was the excellent choice for this project. Second, due to the low complexity of Arcology's concurrent contracts, I easily wrote my custom data type (IntentStruct Array) for this project.

background image mobile

Join the mailing list

Get the latest news and updates