Skip to content

explorers: add mstrofnone nmc-rpc-explorer (clearnet + Tor)#754

Open
mstrofnone wants to merge 1 commit into
namecoin:betafrom
mstrofnone:add-mstrofnone-nmc-rpc-explorer
Open

explorers: add mstrofnone nmc-rpc-explorer (clearnet + Tor)#754
mstrofnone wants to merge 1 commit into
namecoin:betafrom
mstrofnone:add-mstrofnone-nmc-rpc-explorer

Conversation

@mstrofnone
Copy link
Copy Markdown

Adds an entry to /explorers for a free-software, consensus-safe Namecoin explorer derived from janoside/btc-rpc-explorer with Namecoin-specific support layered on top.

Why list it

Namecoin currently has only one free-software, consensus-safe explorer in the top section (Cyphrs). This adds a second, with a complementary feature set:

  • Full name-op aware mempool view (/mempool-name-ops) — every name_new, name_firstupdate, and name_update queued for the next block, bucketed by op kind, backed by Namecoin Core's name_pending RPC.
  • import reference detection per ifa-0001 §"import" — references rendered as clickable links to import targets (no recursive resolution; just discovery).
  • NameID / Nostr identity linking — NameID fields (name, email, www, bitcoin, namecoin, tor, pgp, gpg) extracted from id/<name> records into a typed key/value table; Nostr pubkeys (single-identity nostr.pubkey and multi-identity nostr.names/nostr.relays) encoded to NIP-19 npub and linked to njump.me; implied <localPart>@<label>.bit NIP-05 identifiers rendered alongside.
  • Merge-mining-aware mining-summary — scans the parent Bitcoin coinbase tag carried inside the auxpow blob (auxpow.tx.vin[0].coinbase), surfacing the actual NMC mining pool ("AntPool", "F2Pool", "ViaBTC", etc.) instead of "Unknown" the way most upstream-only explorers do.

Endpoints

The Tor endpoint shares the same hidden-service identity as the relay.testls.bit Nostr relay (port 8080 multiplexed under one HiddenServiceDir), so an Amethyst client that already has the relay configured can reach the explorer through the same circuit.

Source

Verifier

Anyone can verify the explorer is consensus-safe by inspecting the source: it queries getblock, getrawtransaction, name_show, name_history, name_scan, and name_pending directly against a local Namecoin Core node \u2014 no third-party indexers in the trust path.

A free-software, consensus-safe Namecoin explorer derived from
janoside/btc-rpc-explorer with Namecoin-specific support layered on
top:

- Full name-op aware mempool view (name_pending-backed, bucketed by
  op kind; per-name pending panel on /name/<name>).
- Detection and pretty rendering of ifa-0001 §"import" references
  between names, with clickable links to import targets.
- id/<name> records and d/<name> Nostr blocks linked to NIP-19 npubs
  (with njump.me deep-links), plus the implied <localPart>@<host>.bit
  NIP-05 identifier and publisher-preferred relays.
- Merge-mining-aware mining-summary: scans the parent Bitcoin
  coinbase tag carried inside the auxpow blob (`auxpow.tx.vin[0].coinbase`),
  surfacing the actual NMC mining pool instead of "Unknown" the
  way most upstream-only explorers do.

Source: https://github.com/mstrofnone/nmc-rpc-explorer
Upstream PR queue: namecoin/nmc-rpc-explorer namecoin#13namecoin#19

The Tor endpoint shares the same hidden-service identity as
relay.testls.bit (port 8080 multiplexed under one HiddenServiceDir),
so an Amethyst client that already has the relay configured can
reach the explorer through the same circuit it's already using.
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