Skip to content

Show the network's key figures at the top of the home page - #71

Merged
minuszka merged 1 commit into
defcon-project:mainfrom
minuszka:feat/home-metrics
Nov 13, 2026
Merged

minuszka merged 1 commit into
defcon-project:mainfrom
minuszka:feat/home-metrics

Conversation

@minuszka

Copy link
Copy Markdown
Contributor

The top of the home page showed only the DFCN price.

  • It now shows six figures in one row: the price (with its 24-hour change and a note when the quote is delayed), the circulating supply, the yearly masternode return, the average block time over 7 days, the share of the supply locked as masternode collateral, and the number of transactions in the last 24 hours.
  • The masternode return is worked out by the same code as on the Rewards page, so both pages show the same number.
  • A figure the server does not provide shows "N/A" instead of a guess, and the 24-hour transaction count is no longer repeated lower on the page.
  • Browser tests check the figures, the missing-data cases and the layout on desktop and mobile; deliberately broken versions make them fail.

The top of the home page showed only the DFCN price.

- It now shows six figures in one row: the price (with its 24-hour change and a note when the quote is delayed), the circulating supply, the yearly masternode return, the average block time over 7 days, the share of the supply locked as masternode collateral, and the number of transactions in the last 24 hours.
- The masternode return is worked out by the same code as on the Rewards page, so both pages show the same number.
- A figure the server does not provide shows "N/A" instead of a guess, and the 24-hour transaction count is no longer repeated lower on the page.
- Browser tests check the figures, the missing-data cases and the layout on desktop and mobile; deliberately broken versions make them fail.
@minuszka
minuszka merged commit 329bfd4 into defcon-project:main Nov 13, 2026
1 check passed
@minuszka
minuszka deleted the feat/home-metrics branch November 13, 2026 22:29
minuszka added a commit to minuszka/explorer that referenced this pull request Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant