Know Your DeFi is a strategy and data platform for Decentralized Finance, providing a visual data query interface and risk alerts. In this hackathon, we focus on building Liquity data query tools by subgraphs of The Graph.
We believe that every DeFi project has its core features that set it apart from other projects. Only by understanding these core characteristics can users know the risks and make the right decisions. To truly help users adjust their DeFi strategies, it is best to provide customized data query services based on professional research and accurate, fast data sources. For example, in this hackathon, we focused on Liquity, a decentralized lending protocol that allows users to borrow LUSD against ETH at 0% interest. Liquity has many innovative features, such as a minimum collateral ratio of 110%, efficient liquidations, decentralized front-ends and governance free. Users who understand the core mechanics of Liquity will be able to participate more safely and arbitrage during extreme market conditions. Although some data pages have been built on Dune, users have to do a lot of research on their own to take advantage of these unclassified data due to the limitations of the Dune platform; moreover, the existing data platform is not comprehensive and lacks risk tips, making it difficult for users to meet their arbitrage needs during extreme market conditions and to know whether their Trove is risky or not, which is very unfriendly for DeFi newbies Know Your DeFi's solution is to select more reliable data sources, such as subgraphs from The Graph, to add strategy descriptions and risk tips to some of the data modules based on professional research findings, and to visualize the most critical risk tips. In this way, the value of the data to the user will be maximized. Ideally, we might be able to incorporate more researchers and developers in the form of a DAO or distributed organization, thus optimizing and adding data query tools for users to better understand more projects in the DeFi ecosystem.
How it's made
This project uses The Graph and infura as the major data source to display key metrics, on-chain events and important facts of DeFi products. It visualizes the information properly to provide best user experience in knowing DeFi projects they are interested in. Specifically, we are focusing on Liquity this time. We send query to the Liquity subgraph endpoint to retrieve the data we would like to show in our project. Then, the frontend part utilizes React and Apache ECharts to generate the website UI and process the visualization.Technologies used