project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Tether Insights

Combining Dune and Observablehq, "Tether Insights" describes uncommon insights from analyzing the tether stable coin.

Tether Insights

Created At

ETHIndia 2022

Winner of

trophy

🥇 Dune — Best Use

Project Description

I used Dune to give me better insights Tether which isn't/not available on other existing websites.

Some interesting insights I could find out:

  1. Tether has had a total of 153 mint events with some huge spikes in mint value from mid 2020.
  2. Tether has only had 2 burn events ever happen. This was for a total of $7.5B and happened furing May and June of 2022.
  3. Tether has had a total of 807 blacklists happen. 46 of them were unblacklisted later.
  4. Did you know Tether can destroy(burn) away the balance held by any blacklisted address? So technically they can decide to blacklist your address and burn it away. This functionality usually exists for regulatory reasons. A total of 574 such events have happened and it destroyed $162.75M in value.
  5. The dashboard has a tool to query a address and build a directed graph showing all the addresses it has interacted with via transfers. It was interesting to put in a few blacklisted addresses and see which addresses they interacted with via transfers prior to getting blacklisted.
  6. The dashboard also explores infinite allowances inside Tether. A total of 7269 spenders has infinite allowance given to them by atleast one other address. The largest of these spenders has infinite allowance given to them by 443,701 other addresses. It will be very interesting to explore this more and figure out how much money could be in jeopardy if these top spenders get compromised.

How it's Made

  1. Dune v2 uses Spark SQL which I wasn't too familiar with.
  2. How queries get cached on the Dune side wasn't too clear. Sometimes the queries take a long time while sometimes its super fast.
  3. Continuing from the above point, requests could time out on Heroku if a query takes too long. I solved it in a very hacky way using some caching and precomputation scripts. But ideally I would setup some workers to regularly keep the results of our queries updated.
  4. You have to keep polling the Dune API to figure out if your query is completed or not. I would have preferred some webhook functionality. You can't poll too often either because there is some rate limiting on the Dune side which isn't clear to me. I just used a larger polling interval till the errors stopped.
  5. I wish I had more time to write more interesting queries. It's not super easy to iterate with queries because it does take a while to run on Dune.
  6. I used observablehq to build my dashboards consuming the data from my queries. Observablehq has its own complicatations when it comes to building the graphs you want properly using D3.
background image mobile

Join the mailing list

Get the latest news and updates