Delivering real-time analytics based on blockchain data from the Hyperliquid network using ClickHouse materialized views and an innovative API layer.
Hyperliquid is rapidly becoming one of the leading layer 1 blockchains and Crypto projects. It is known for its very low latency and fees which make it attractive to traders and institutions. It is growing rapidly by all metrics including volume traded, number of trades and unique users.
Our client are using ClickHouse to deliver analytics based on data captured from the Hyperliquid network. This involves the real time ingestion of data from the blockchain and validators and the creation of real time analytics using materialised views. This data is then served to a frontend web application directly from ClickHouse.
The project initially began with performance optimisations of their existing solution. We then developed a series of materialized views to generate both vanilla trading metrics (HLOC, trending tokens, volumes) before moving to more sophisticated trading and risk management signals.
The customer were experiencing the following challenges prior to the engagement:
We took the following approach to this project:
Key outcomes of the project included: