main user embeds graphs milestones scroll buttons

Summary

Currencything.com is a full-stack website that tracks the Currency Thing blockchain, as well as graph several statistics about it and all its users. It has a Python back-end powered by Flask.

What is this, some kinda currency thing? 🤡

Creation Process

Creation

Currencything.com is a full-stack website that displays the Currency Thing blockchain, from my Discord cryptocurrency experiment. It dynamically displays every transaction on the blockchain, updated every time a new transaction is made. It has the exact same format, except with an added date column (which is absent on Discord since it would be redundant).

It features interesting statistics, like the total supply, amount of things mined and traded in the last X days, currency thing distribution among users, and the biggest trade. If you click on these statistic cards, it expands to reveal a graph tracking the value over all time, instead of just the last X days. I also added buttons at the top that allow you choose what time period to display stats for, which automatically refreshes the data without having to reload the page.

You can click on any user’s name in the blockchain to go to their profile, which contains similar statistics specific for that users, and also displays a table containing all transactions that they participated in.

This website was made with a Flask back-end, and it was my first time using it. I wanted to have the codebase for this website in Python, to match the code of the Currency Thing discord bot, and Flask was the perfect solution. It’s extremely lightweight but powerful, and allows you have to variable URLs, so I just had to make a defalt user page template, then based on the username in the URL, Flask fetches all the relevant data to that user. Having Python as the back-end allowed me to use Pandas for getting all sorts of data from the Blockchain, and using Matplotlib to create the graphs dynamically.

I also added custom cursors and sound effects when you click things to keep things fun 🤡.

I had a great time making this website and loved all the things that Flask empowers you to do with a Python back-end, so much so that I decided to use Flask again to make my portfolio website you’re browsing right now!

Check a look at the source code