project screenshot 1
project screenshot 2
project screenshot 3

AlternateDefi

An alternate orderbook view of the complex AMMs like uniswap v3, helps people understand the amms better.

AlternateDefi

Created At

Superhack 2024

Project Description

An orderbook view of the uniswap v3 pools. Every tick can be considered a price point and can have associate liquidity. With that info i.e price and liquidity an orderbook can be created. This is an alternate view of the existing liqiudity across the market. People can add aggregated orderbook and see the overral view better. If you add a mempool tracker of uniswap pools, it can also show which order can be placed for better returns.

How it's Made

The entire project is on top of next js and uses the uniswap v3 subgraphs. People can use any from the Alchemy or TheGraph protocol. People just have to plug in their subgraph url and its good to go. And users can plug in their rpcs as well but its going to be very costly rpc calls.

Depending on the pool and ticks information from the graph, based on the complex uniswap math the prices and associated liquidity is fetched. The math is complex, people can refer to https://uniswapv3book.com/ to understand the math better.

This is not limited to mainnet, if uniswap v3 subgraph is indexing the pools on any l2, it can still be viewed as well.

background image mobile

Join the mailing list

Get the latest news and updates