feat: Add Carbon Atlas - business-friendly multi-policy indexer frontend#5834
feat: Add Carbon Atlas - business-friendly multi-policy indexer frontend#5834gautamp8 wants to merge 3 commits intohashgraph:developfrom
Conversation
|
Hi @gautamp8, thanks for the PR, this is a great addition to the Guardian. Below there is a list of things that I would like to fix before merging the PR.
carbon-atlas git:(carbon-atlas) ✗ npm run dev
> mecd-dashboard@0.1.0 dev
> next dev
⚠ Warning: Next.js inferred your workspace root, but it may not be correct.
We detected multiple lockfiles and selected the directory of /Users/giuseppe/workspace/guardian/yarn.lock as the root directory.
To silence this warning, set `turbopack.root` in your Next.js config, or consider removing one of the lockfiles if it's not needed.
See https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack#root-directory for more information.
Detected additional lockfiles:
* /Users/giuseppe/workspace/guardian/carbon-atlas/package-lock.json
▲ Next.js 16.1.6 (Turbopack)
- Local: http://localhost:3000
- Network: http://10.200.12.221:3000
- Environments: .env
✓ Starting...
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
✓ Ready in 1058ms
|
|
Hi @gautamp8 , I noticed another issue. Currently there's no mechanism to refresh the indexer token, that is fixed in the .env file. That means that, after the token expires (14 days in case of MGS indexer for example), you start receiving error messages in the UI until you change that token and restart the server. Instead of the point 5 above, probably we need to restructure the auth process so that users can setup user and password in the env file, and the token generation and refresh will be managed autonomously by the explorer.
|
Carbon Atlas is a Next.js dashboard that translates Guardian's on-chain Verifiable Credentials into business-friendly views for carbon market stakeholders. Currently supports the Gold Standard MECD 431 policy (testnet) with: - Per-policy dashboards with emission reduction stats, charts, and tables - Trust chain explorer tracing issuances through the full VC relationship graph - Dedicated VC-type renderers for monitoring reports, verification reports, projects, device MRV data, and VVB registrations - Searchable device data table (3,254 metered cooking devices) - Server-side auth proxy (API tokens never exposed to client) - Hedera proof links to HashScan for every document - Document verification by consensus timestamp Tech stack: Next.js 16 (App Router), React 19, TanStack Query, shadcn/ui, Tailwind CSS 4, Vitest Multi-policy support (VM0033/Verra mainnet) planned as next phase. Signed-off-by: Gautam Prajapati <gautamprajapati06@gmail.com>
…opy UX, auth restructure - Trust chain follows standard carbon credit lifecycle (PDD → Calculated Project → Validation → Validated Project → dMRV → MR → Verification → MR Approved) - VVB registration/approval excluded from chain; shown as inline assignment chips - Ghost "Token Minting" pending node; removed broken minted token link - Projects page deduplicates PDD + Validated Project into one row per project - ATEC badge removed from projects list (policy-level page, multiple developers possible) - ATEC logo increased to h-20 for visibility (source images are 2000x2000 squares) - CopyableId component with visible copy icon replaces hover-to-copy - Auth restructured: 3-step MGS SSO chain with auto-refresh, static token fallback - All 28 review checklist items addressed; 38 tests passing Signed-off-by: Gautam Prajapati <gautamprajapati06@gmail.com>
… emission reductions - Sidebar title: MECD Indexer → Carbon Atlas - Page title: MECD Indexer → Carbon Atlas - Hedera Policy URL updated to guardian.hedera.com - Emission reductions card/chart renamed to "Projected Emission Reductions" - Footer text clarifies partial issuances to date Signed-off-by: Gautam Prajapati <gautamprajapati06@gmail.com>
|
@Neurone I've addressed all of the comments. Described below. Everything is live at - https://atlas.carbonmarketshq.com to review Review Checklist (28 items)Configuration & Build
Documentation
Layout & Navigation
VC Views & Formatting
List Pages (Issuances & Projects)
Detail Pages
Verify Page
Branding
Trust Chain
Auth Restructure
Some more changesTrust Chain RedesignChanges:
Files: Copy UX with Visible IconChanges:
Files: Issuances Page WordingProblem: Description said "Verified monitoring reports" which was misleading. Changes:
Files: Document Not Found UIProblem: Generic "Failed to load VC detail." text when a chain step's VC couldn't be loaded. Changes:
Files: Tests
Files: |






Supports and resolves #5833
What
Carbon Atlas is a business-friendly multi-policy indexer frontend that translates Guardian's on-chain Verifiable Credentials into dashboards meaningful to carbon market stakeholders — project developers, buyers, auditors, registry operators, and sustainability officers.
It connects to the existing Guardian Indexer API with no backend changes required.
Screenshots
Dashboard
Trust Chain Explorer
Monitoring Report (VC Renderer)
Device Data Search
Document Verification
Current Features
Policy Support
Multi-policy architecture (policy registry, URL-routed dashboards, per-policy renderers) is designed and planned as the next development phase.
Tech Stack
Next.js 16 (App Router) · React 19 · TanStack Query · shadcn/ui · Tailwind CSS 4 · Vitest
Structure
How to Run
Documentation Included
README.md— project overview, features, setupCONTRIBUTING.md— architecture, development guidelines, how to add VC renderersDEPLOYMENT.md— Vercel, Docker, Node.js/PM2, Cloudflare Pages, AWS deployment guides