shadcn.io is not affiliated with official shadcn/ui
Analytics Web3 Block for Solid
A wallet activity report: eight protocols ranked as bars by transactions, gas spent or volume, a period select, and a list of facts with the first transaction, active days and busiest month.
Installation
Overview
Show where a wallet's activity actually went, one ranking at a time, with this wallet analytics panel for Solid with Ark UI. It's a Gasprint report, and every figure is a typed sample. A Segment Group ranks eight invented protocols by Transactions, Gas spent or Volume, and a Native Select picks the period: 30 days, 12 months or all time, each with its own figures. The bars re-rank, with the share beside each bar as a whole percent that adds to 100, and the figure in text above it. At the end a facts list gives the period's first transaction, active days, protocols used and busiest month. The header sentence adds up the three totals for the period. For wallet apps and dashboards that report activity without a wall of stat tiles.
FAQ
How are the shares and the ranking worked out?
Protocols are sorted by the chosen metric for the chosen period, ties by name. A share is the figure over the total, rounded down, and the leftover points go to the largest remainders, so the shares always add to 100. The bar length is relative to the biggest figure, and a protocol with nothing in the period shows 0% with an empty bar.
Why do the facts change with the period?
Each period has its own typed first transaction, active days and busiest month, and protocols used is counted from the data: a protocol with no transactions in the period is not used. All-time shows the first transaction of the demo wallet, 10 Feb 2023.
What stays local, and how do I wire it?
All of it. Nothing reads a wallet, an indexer or a chain: figures are typed in PROTOCOLS and the choices are local state. In your app aggregate transactions per protocol and period on your server, label contract addresses with a registry you trust, and keep the percent helper so the shares add up.
Is it accessible from the keyboard?
Yes. The metric is a radio-style Segment Group, the period a native select, and the bars are drawn beside real text, a rank, a name, a figure and a share, so the chart is also a list. One polite status message says who leads and by how much whenever you change either choice.