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

HookRank

Enhance Uniswap V4 with HookRank, a comprehensive rating system for hooks. Track metrics like transaction volume, success rate, and gas efficiency. Users can submit reviews verified by wallet signatures. Make informed decisions with detailed analytics and comparisons.

HookRank

Created At

ETHGlobal Brussels

Winner of

Blockscout - Best use of Blockscout Block Explorer

Prize Pool

Uniswap Foundation - Integrations 1st place

Project Description

Links to the repos!!!! (And description after)

https://github.com/RostyslavBortman/HookRank-Graph, https://github.com/RostyslavBortman/HookRank-Backend, https://github.com/RostyslavBortman/HookRank-Frontend, https://www.figma.com/design/Q0eeknwjV21WoywQPClVjb/HookRank?node-id=0-1&t=0QgwMQzmLX88AzHw-1

The HookRank project aims to develop a comprehensive rating system for Uniswap V4 hooks, helping users make informed decisions by providing detailed metrics on the reliability, performance, and efficiency of each hook. This system promotes trust and safety within the Uniswap ecosystem.

Concept: https://docs.google.com/document/d/1uBwABB97BrJHvcWbuMl5jpMPMBBaVBgHec9s41K7yhs/edit?usp=sharing

API specs (simple draft version): https://docs.google.com/document/d/1Oq8Ty4FfRHCsM23Fxu3J9uVi31h4oEIPHpsrkHNsz8M/edit?usp=sharing

How it's Made

So, first of all, this project is kind of a public good for the Uniswap ecosystem. Specifically, it focuses on Uniswap V4 hooks analytics and help users to check all the details about hooks including transaction volume, success rate, hook earnings, hook gas spendings, overall rating hook and even submit a review about this hook.

Overall rating hook built with the next formula:

Overall Hook Rating= W1 × Transaction Volume Score (TVS) + W2 × Success Rate Score (SRS) + W3 × Gas Spendings Score (GSS)

Where W1​, W2​, and W3​ are the weights assigned to each metric, which sum up to 1.

I used obviously Uniswap V4 contracts PoolManager and different deployed hooks.

I also used the graph to monitor newly create hooks via PoolManager, calculate gasSpendings per transaction for the specific hook, calculated earnings per hook per pool, calculated transaction amount (swaps + liquidity modifications)

https://api.studio.thegraph.com/query/83028/univ4/v300

I also used blockscout to add link for the specific hook on blockchain explorer and give user an ability to go directly into explorer and check details about specific hook.

I also used Coinbase Smart Wallet to allow users login and submit a review on the specific hook and his signature.

I also used arbitrum sepolia to deploy newly Uniswap V4 PoolManager and additional contracts and play with them there.

background image mobile

Join the mailing list

Get the latest news and updates