Inspiration

Our goal was to learn more about how The Graph works. One bounty was the Polygon team, so we wanted to learn how we could use The Graph to learn more about the Polygon DeFi ecosystem.

What it does

Our app is a dashboard that shows visualizations of metrics across different Polygon DeFi projects.

https://share.streamlit.io/zdtcrypto/graph_hack/main/app.py

It's also a Python source code template that can be expanded to add more metric visualizations.

How we built it

The app uses the subgrounds Python library which queries GraphQL data.

With the data, the code builds a dashboard using the streamlit.io Python framework. It's deployed onto Streamlit Cloud.

Challenges we ran into

There's a wide variety of topics to understand, such as GraphQL, DeFi smart contracts, and the Python analysis and visualization libraries. Each of these is individually a lot to learn and for this project they all need to be stitched together.

Accomplishments that we're proud of

We are relatively new to web3 so we are happy that we have something deployed that can continue to be built up, either by ourselves or others, to better understand The Graph and the Polygon DeFi ecosystem.

What we learned

We learned the basics of all the pieces of this puzzle - when we started some of us weren't even exactly sure what The Graph even was. We also got some small insights into the wide variety of DeFi projects on Polygon.

What's next for Polygraph

Leverage our learnings here to build deeper insights into the Polygon DeFi ecosystem.

Built With

Share this project:

Updates