Archive post
HDev Team HAF Updates May 2026 - Front End, Expanded APIs, FYP & Stats HAF Apps
• hdev
It has been a while since our last update on HAF work, frontend and backend, so this one covers intensive work across multiple projects
It has been a while since our last update on HAF work, frontend and backend, so this one covers intensive work across multiple projects. It has been one of our most productive stretches yet — two entirely new projects in early development, a major authentication layer added to the block explorer, a brand-new witness dashboard, an AI-powered content recommendation engine taking shape, and continued improvements to our backend API infrastructure.
Here is a breakdown of what we have been building - HAF based.

---
## Front-End: Block Explorer UI
All block explorer UI changes below are live and can be explored on [hivescan.info](https://hivescan.info).
### Authentication & Security
One of the most significant additions to the block explorer is **user authentication**. Users can now log in directly via **Hivesigner** or **Keychain**, laying the groundwork for personalized experiences and authenticated actions from within the explorer itself. Alongside this, we carried out a thorough **security audit** of the front-end codebase, addressing environment variable exposure, gitignore enforcement, and a number of hardened code patterns.
### Witness Dashboard
A fully featured **Witness Dashboard** has been added to the block explorer:
1. **Full witness information view** with a refactored banner layout and action chip
2. **Set as Proxy** — authenticated users can designate a witness as their voting proxy directly from the UI, with Hivesigner `redirect_uri` query parameter preservation
3. **Witness and proposal widget gating** — widgets are shown or hidden based on login state and context
### DHF Governance Hub
A new **DHF Governance Hub** gives users a far richer experience when interacting with proposals:
1. **Watchlist** — bookmark and track proposals you care about, with auto-add on watch and empty state handling
2. **Impact Simulator** — model the effect your vote would have before casting it
3. **Smart Reminders** — notifications tied to proposal status changes
4. ProposalCard sub-components refactored for improved maintainability and i18n completeness
### Modular Dashboard Enhancements
The modular dashboard has been significantly extended:
1. **Dynamic widget height** — collapsible widgets now resize fluidly rather than snapping to fixed sizes
2. **Per-username layout persistence** — each account's dashboard arrangement is saved separately
3. **Dashboard shown immediately on login** for a seamless authenticated experience
4. General widget width, margin, and positioning polish across all home widgets
### Balance & Account Features
1. **Total Value Locked (TVL) card** on the landing page with HP/VESTS toggle and BigInt precision handling
2. **Balance history** upgraded with HP/VESTS toggle, KPI strip, active filter controls, and quick date range presets
3. **New balances view** — escrows shown as negative values, savings pending, and NAI-wrapped transfer statistics amounts
4. **Incoming RC Delegations** now shown in the account profile view
5. **RC and Mana indicators** added to the logged-in user navigation menu
6. **HP Momentum cards** and a new **Power Activity tab** added to the account view
7. **Top holders page** updated to use dynamic account count and pagination from the API
### Transaction Statistics Overhaul
The transaction statistics charts were comprehensively reworked:
1. Smart filtering with a synchronized granularity dropdown
2. Clarified **Trxs/Blk** labeling across all chart views
3. Thousand separators and corrected axis decimal formatting across all charts
4. Transaction search updated to use the `/tx` endpoint with standardized i18n keys
5. Deduplicated chart entries by date for both transaction and transfer charts
### Library Upgrades & Bug Fixes
1. Upgraded **wax** to 2.0.1 and **healthchecker-component** to 2.0.0
2. Public keys display settings and container-based key shortening threshold
3. Fix for crash with sub-1 VESTS values in vestsToHP conversion
4. VESTS, RC, and RSHARES precision corrections
5. Fix for `body_placeholder` operation type display in comment operations
6. Proxy pagination fix and VESTS tooltip precision correction
7. 404 page `ReactCurrentOwner` unhandledRejection error resolved
---
## Back-End: HAF Block Explorer
### New Endpoints
1. **`/proposal_votes_history`** — Query the full history of votes cast on DHF proposals, with sort and direction controls, wired into OpenAPI and performance tests
2. **`/total_wallet_addresses`** — Chain-wide wallet count time-series, tracking unique active wallets over time
3. **Pending HBD Interest** — New fields on `get_account` exposing accrued HBD interest, backed by an incremental cache that seeds at the MASSIVE→LIVE transition for fast lookups
4. **`/operation-type-statistics`** — New endpoint exposing per-operation-type counts and statistics across the chain
### Optimizations
1. `get_account_proxies_power` now uses a cache layer with a fast path for `proxy_date` sorting, plus sort and direction parameter support
2. `hafd.operations` join bounded with an id range for TimescaleDB chunk exclusion, delivering a significant query performance improvement on large datasets
3. HAFAH version bumped to latest release
---
## Back-End: Balance Tracker
1. **TVL (Total Value Locked) endpoint** — new chain-wide TVL metric available via the API
2. **Vesting power-up/power-down endpoints** — track HP power-up and power-down events per account
3. Transfer statistics amounts correctly wrapped with NAI object and precision
4. Savings pending balance calculations fixed with regression mock coverage
---
## Work in Progress: haf_stats
We have been working on **haf_stats**, a new HAF-based blockchain statistics service. The goal is to expose key network-level metrics through a clean PostgREST API, giving developers and applications a queryable view of Hive's economic activity. The code is public and the project is taking shape, with the following capabilities already in place:
1. **Per-account financial summary** — liquid HIVE, HBD, savings, HP, witness pay, and proposal pay in a single call
2. **Per-account RC footprint** — resource credit consumption breakdown by operation type
3. **Network RC utilization** — chain-wide resource credit capacity versus usage
4. **HP distribution across 8 wealth tiers** — from accounts holding under 10 HP all the way to those holding over 1 million HP
5. **Witness Pay and Proposal Pay** included in financial summaries for a complete picture of stake-weighted income
The project already ships with a CI/CD pipeline including SQL linting, Dockerfile validation, Docker Compose validation, Tavern integration tests, and a full OpenAPI/Swagger spec. More to share on this once it reaches a stable release.
---
## Work in Progress: haf_fyp — Hive For You Page
We have also been developing **haf_fyp**, an AI-powered **"For You Page" recommendation engine** for Hive. The idea is to serve personalized content feeds to users based on their interests, community memberships, and on-chain engagement history. The code is available publicly and the core engine is largely built, progressing through 9 incremental phases:
1. **Post ingestion** — Root posts are ingested into a candidate pool as they are published on-chain
2. **Engagement tracking** — Comments, reblogs, votes, and payout windows tracked per post and per user
3. **Community subscriptions** — Community membership synced live from `custom_json` operations
4. **Scoring and ranking** — Recency-weighted engagement scores computed by a background ranker daemon
5. **Semantic embeddings** — Integration with **HiveSense** to embed post content into vector space for similarity matching
6. **Credibility signals** — Author credibility derived from btracker and reptracker data factored into rankings
7. **Cold-start handling** — An interest picker onboards new users with no engagement history
8. **Rate limiting and transparency** — A score explainer endpoint lets users understand why content was ranked, alongside rate limiting and algorithm governance controls
We will have more to share on both haf_stats and haf_fyp once they move toward official release.
---
As always, thank you for your continued support of Hive development. Stay tuned for more updates!