threefold.io: Add utilization stats to website #91

Closed
opened 2024-03-01 06:46:00 +00:00 by gosam · 4 comments
Owner

Similar to how Akash does it here https://stats.akash.network/ we want to add just a few utilization stats to the website, as we currently have for capacity stats.

Potentially:

  • TFT spent (last 30 days)
  • TFT spent (total)
  • Contracts deployed (last 30 days)
  • Contracts deployed (total)

Then we need to decide how we want to show these stats (probably in a line graph like below.

@scott can you help sort out which stats we should pull from and how to get them (live)?

Then we will bring Ehab and Samar in to help get it on the website.

Similar to how Akash does it here https://stats.akash.network/ we want to add just a few utilization stats to the website, as we currently have for capacity stats. Potentially: - TFT spent (last 30 days) - TFT spent (total) - Contracts deployed (last 30 days) - Contracts deployed (total) Then we need to decide how we want to show these stats (probably in a line graph like below. @scott can you help sort out which stats we should pull from and how to get them (live)? Then we will bring Ehab and Samar in to help get it on the website.
gosam self-assigned this 2024-03-01 06:46:00 +00:00
scott was assigned by gosam 2024-03-01 06:46:00 +00:00
gosam added this to the February 26 - March 10 project 2024-03-01 06:46:00 +00:00
Author
Owner

Hi @scott @mik-tf are there any updates on this one?

Hi @scott @mik-tf are there any updates on this one?
gosam changed title from Add utilization stats to threefold.io to threefold.io: Add utilization stats to website 2024-03-05 11:34:28 +00:00
gosam modified the project from February 26 - March 10 to Next threefold.io iteration 2024-03-05 11:42:39 +00:00
Owner

Gathering these figures requires use of GraphQL, so that probably involves adding a bit of Javascript.

There's some limitations too. Specially in regard to what was requested, deployment contracts only have a creation timestamp and a current state. There's no way to determine when a contract was deleted.

That means creating a graph of newly created contracts is fairly straightforward, but graphing the active contract count is not.

Gathering these figures requires use of GraphQL, so that probably involves adding a bit of Javascript. There's some limitations too. Specially in regard to what was requested, deployment contracts only have a creation timestamp and a current state. There's no way to determine when a contract was deleted. That means creating a graph of newly created contracts is fairly straightforward, but graphing the active contract count is not.
Author
Owner

I'm not saying those need to be the stats exactly it was just a proposition.

I also think it's OK to talk about contracts created even if they are no longer active. It still shows utilization.

If you have better recommendations for which stats to show please let me know!

I'm not saying those need to be the stats exactly it was just a proposition. I also think it's OK to talk about contracts created even if they are no longer active. It still shows utilization. If you have better recommendations for which stats to show please let me know!
Author
Owner

Moved to a new issue

Moved to a new issue
gosam closed this issue 2024-03-20 15:58:20 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tfgrid/circle_promotion#91
No description provided.