feat(market): add Recently Minted token discovery surface - #4
Merged
Conversation
Add a Recently Minted tab to the Market hub backed by RXinDexer's v4 recency index (glyph.get_recent), listing the newest tokens across all types with a WAVE-names filter and cursor-paginated "Load more". The RPC goes through the vendored @Photonic ElectrumX client (getRecentGlyphs), degrading to an unavailable state when a server lacks the index. Cursors are opaque and order-specific, held in memory only. Rows link to the existing token detail view by ref, seeding the glyph locally (fetchGlyph) so foreign tokens resolve. ViewDigitalObject now renders glyph-only (unowned) tokens read-only — content and info with a "not in your wallet" notice — instead of "Token not found", gating all owner actions and their modals behind the backing TxO. Verified against mainnet: pagination, WAVE filter, and detail links. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a Recently Minted discovery surface to the Market hub — a browsable, newest-first feed of every token on the network, backed by RXinDexer's v4 recency index (
glyph.get_recent, Glyph DB schema v4, live since 2026-07-18).Listings | Recently Mintedswitcher, deep-linkable as#/market?tab=recent. The Listings tab and its filters are unchanged.getRecentGlyphs(limit, cursor, tokenType?)on the vendored@photonicElectrumX client (no SDK dependency added). Returnsnullwhen a server lacks the v4 index, so the UI shows an "index unavailable" state instead of erroring. Cursors are opaque and order-specific — held in memory only, never persisted across sessions.fetchGlyphso tokens minted by other wallets resolve. Local rows show their real thumbnail; foreign rows get a per-type icon with no eager network fetches.Detail-view change
ViewDigitalObjectpreviously returned "Token not found" for any glyph without an owned TxO, which blocked opening any foreign token from the feed. It now renders those read-only — content, description, Radiant ID, mint txid, WAVE attrs — with a "Not in your wallet — token info from the network" notice, and gates all owner actions (Send / Melt / Edit / List) and their modals behind the backing TxO.ViewFungiblealready handled glyph-only rows.Design
Follows the dark design-system tokens; heading styles set explicitly (Chakra
textStyleloses toHeadingdefaults).Verification
Typecheck clean, all 345 unit tests pass, and the prod bundle was browser-smoke-tested (stale service worker cleared between rebuilds per the repo convention) with zero console exceptions. Exercised against live mainnet (
radiantcore, Glyph DB v4):Not deployed to the VPS.
🤖 Generated with Claude Code