feat(explorer): add live token/native pricing and legacy tx route compatibility #15

Open
nsatoshi wants to merge 0 commits from feature/explorer-live-pricing-historical-valuation into master
Owner

Summary

This PR adds live pricing across the explorer UI, restores compatibility for legacy /tx/:hash links, and hardens the Next.js standalone deployment path.

What Changed

  • add redirect from /tx/:hash to /transactions/:hash
  • update explorer-side producers and docs to emit canonical transaction URLs
  • add live token pricing via token-aggregation on:
    • home
    • search
    • token detail
    • address token sections
    • transaction token-transfer sections
  • add native asset USD pricing context to address and transaction pages
  • distinguish current-market vs transfer-time valuation semantics in the UI
  • add bigint-safe native/token USD formatting helpers
  • update Next 15 standalone deployment packaging and systemd startup path
  • add DB migration files used by the broader pricing rollout

Validation

  • npm audit -> 0 vulnerabilities
  • npm run lint
  • npm run type-check
  • npm run test:unit -- src/services/api/nativeAssetPricing.test.ts
  • npm run build

Live Verification

  • /tx/<hash> now redirects to /transactions/<hash>
  • transaction page returns 200
  • frontend service on CT 5000 is active

Notes

This PR is the explorer-facing half of the pricing rollout and pairs with token-aggregation historical pricing support in the smom-dbis-138 repo.

## Summary This PR adds live pricing across the explorer UI, restores compatibility for legacy `/tx/:hash` links, and hardens the Next.js standalone deployment path. ## What Changed - add redirect from `/tx/:hash` to `/transactions/:hash` - update explorer-side producers and docs to emit canonical transaction URLs - add live token pricing via token-aggregation on: - home - search - token detail - address token sections - transaction token-transfer sections - add native asset USD pricing context to address and transaction pages - distinguish current-market vs transfer-time valuation semantics in the UI - add bigint-safe native/token USD formatting helpers - update Next 15 standalone deployment packaging and systemd startup path - add DB migration files used by the broader pricing rollout ## Validation - `npm audit` -> 0 vulnerabilities - `npm run lint` - `npm run type-check` - `npm run test:unit -- src/services/api/nativeAssetPricing.test.ts` - `npm run build` ## Live Verification - `/tx/<hash>` now redirects to `/transactions/<hash>` - transaction page returns `200` - frontend service on CT 5000 is active ## Notes This PR is the explorer-facing half of the pricing rollout and pairs with token-aggregation historical pricing support in the `smom-dbis-138` repo.
nsatoshi added 1 commit 2026-04-26 06:56:19 +00:00
feat(explorer): add live token/native pricing and legacy tx route compatibility
Some checks failed
phoenix-deploy Deploy failed: Command failed: bash scripts/deployment/phoenix-deploy-explorer-live-from-workspace.sh nginx: the configuration file /et
Deploy Explorer Live / deploy (push) Failing after 4m8s
1aa81f454a
Some checks failed
phoenix-deploy Deploy failed: Command failed: bash scripts/deployment/phoenix-deploy-explorer-live-from-workspace.sh nginx: the configuration file /et
Deploy Explorer Live / deploy (push) Failing after 4m8s
Checking for merge conflicts…
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/explorer-live-pricing-historical-valuation:feature/explorer-live-pricing-historical-valuation
git checkout feature/explorer-live-pricing-historical-valuation
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: d-bis/explorer-monorepo#15