Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a chart of how many resources are distributed in the ecosystem #500

Closed
Keith-CY opened this issue Dec 14, 2023 · 7 comments
Closed

Add a chart of how many resources are distributed in the ecosystem #500

Keith-CY opened this issue Dec 14, 2023 · 7 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Keith-CY
Copy link
Member

Inspired by #424 and #492, a chart of how capacities are distributed in the ecosystem would be helpful for dapp users to find the most attractive applications built on CKB.

In contrast to the supply chart(https://explorer.nervos.org/charts/total-supply), the capacity-distribution chart reveals how many CKBs are occupied/invested into some specific applications. The amount of deposited capacities represents how valuable the application is.

Simply speaking, each dapp has its own capacity of referring cells(https://explorer.nervos.org/script/0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8/type), which means how many capacities are in the app. The referring capacities can be ordered and visualized.

In addition to the capacity-distribution, the address account is another index of the activity of an app.

So my idea is to add such a chart
image

X-axis for capacity-distribution, Y-axis for address-distribution, size and color for other metrics.

@Keith-CY Keith-CY added the documentation Improvements or additions to documentation label Dec 14, 2023
@Danie0918
Copy link
Contributor

Do we need to distinguish between types? Something like the following case.

image

@Keith-CY
Copy link
Member Author

Do we need to distinguish between types? Something like the following case.

image

Great if possible, but it's hard to distinguish types because in UTXO model, a transaction can includes various types of actions. E.g., a transaction can achieve deposit, withdraw and send simultaneously.

@Danie0918 Danie0918 moved this to 🆕 New in CKB Explorer Dec 14, 2023
@Sven-TBD
Copy link
Contributor

Can we color these spots by their type and size them by their capacity-distribution?
Then, the X-axis could be used as transaction-distribution which means how many transactions take this kind of cell as input/output, and the Y-axis for address-distribution.

Once decide, I'll promote this issue.

@Keith-CY
Copy link
Member Author

Can we color these spots by their type and size them by their capacity-distribution?

Then, the X-axis could be used as transaction-distribution which means how many transactions take this kind of cell as input/output, and the Y-axis for address-distribution.

Coloring the spots by their types is fine. But I prefer indexing capacity-distribution on the axis while revealing how active the dapp is in size/color because heatmap is more suitable for activity(in 24h or 1 month).
image

BTW, there was a metaphor that cells in CKB are the blocks of a zone, dapp are the building built on the block. The heatmap of traffic is quite vivid.

@Sven-TBD Sven-TBD moved this from 🆕 New to 📌Planning in CKB Explorer Dec 25, 2023
@Sven-TBD
Copy link
Contributor

While talking about Dapps, we are actually referring to Scripts, is that right? @Keith-CY That is to say, the statistics of Dapps are based every Script which means @rabbitz Nan needs to provide an api revealing the capacity of every Script.

@rabbitz
Copy link

rabbitz commented Jan 30, 2024

@rabbitz rabbitz moved this from 📌Planning to 🏗 In Progress in CKB Explorer Feb 2, 2024
@Sven-TBD Sven-TBD moved this from 🏗 In Progress to 👀 Testing in CKB Explorer Feb 5, 2024
@Sven-TBD Sven-TBD assigned FrederLu and unassigned Sven-TBD and Danie0918 Feb 5, 2024
@zmcNotafraid zmcNotafraid self-assigned this Mar 1, 2024
@zmcNotafraid
Copy link
Member

zmcNotafraid commented Mar 5, 2024

X: address count
Y: capacity amount
hover: contract name
circle size: tx count


PR:
nervosnetwork/ckb-explorer#1673
nervosnetwork/ckb-explorer#1680
Magickbase/ckb-explorer-frontend#266

@FrederLu FrederLu moved this from 🔎 Code Review to 👀 Testing in CKB Explorer Mar 20, 2024
@zmcNotafraid zmcNotafraid moved this from 👀 Testing to ✅ Done in CKB Explorer Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

No branches or pull requests

6 participants