Inspiration

In the past, we have worked on an audit on Code4rena audit of a fork of Liquity protocol. We found it interesting and decided to dive into the available data on-chain.

What it does

Liquity Protocol Explorer presents visually some key facts about the protocol behind the LUSD stablecoin. It can be easily extended thanks to our generic components that can be supplied with data.

How we built it

We tested the queries and built the PoC in the Jupyter Notebook. After that, we moved the query logic to the Python backend in Django with a Svelte frontend and chart.js library to draw diagrams and charts.

Challenges we ran into

What was a challenge to us was the creation of REST API in Django, which we had never done before and also Svelte frontend implementation, as neither of us knew Svelte in the past.

Accomplishments that we're proud of

We are very proud of ourselves because we have checked every point from our goals list. We have played around with Web3py, and practised using Etherscan and blockchain queries. Moreover, we have successfully used backend and fronted web technologies, which resulted in implementing a fully functional full-stack app.

What we learned

The project's main goal was to learn the on-chain analysis, how to query events and contract data. For the first time, we have used Svelte and were happy with how it came out.

What's next for Liquity Protocol Explorer

We want to share our project with the Liquity Protocol community and hear from them what we can implement in the future. Our main goal is to introduce user interactions, like querying transactions for a given address and presenting them in a human-readable form.

Built With

  • charts.js
  • daisyui
  • django
  • jupyter
  • svelte
  • tailwindcss
  • web3py
Share this project:

Updates