← Back to home

DefiDash

Using decentralized AI to flexibly visualize DeFi data based on user prompt using the Uniswap Subgraph hosted on the Phala Network

Screenshots

DefiDash screenshot 1
DefiDash screenshot 2
DefiDash screenshot 3
DefiDash screenshot 4

Problem Statement

The project uses Langchain hosted on Phala Network to transform user prompt into the necessary query string, which is then used to query DeFi data from the Uniswap Subgraph. This data retrieved from the subgraph is then displayed as the appropriate chart determined by the Langchain AI.

Solution

This project uses Langchain-TS to process the natural language into a set of parameters that could be used to query the necessary data that the user wants. The Langchain AI agent and the server are both hosted on the testnet Phala Network, which makes the entire application decentralized and allows the users to visualize complex queries.

Hackathon

ETHGlobal Singapore

2024