argus/src/gateway
Local Dev de696a8b9f gateway: /api/tlds sourced from TLD_BEACON snapshot, add /api/registry
- /api/tlds now calls buildTldSnapshot on the per-TLD-NFT beacon
  (Decentralized.DNS/DESIGN-tld-registry.md §3) instead of reading the
  legacy tlds.bch record. Every entry carries `certificate: true|false`
  so a name shop can distinguish covenanted, sellable TLDs from legacy
  ones that predate the certificate model. Ships a `legend` field
  explaining both, and hides intentionally-legacy TLDs (currently just
  `silentmode`, from an accidental REG) unless `?hidden=1`.
- /api/registry — bulk dump of every registered name for offline
  availability computation by registrar sites.
- Inline electrum client (~30 lines) so the endpoint can query an
  arbitrary scripthash — resolver-web's Electrum class is not exported.
  Prefers the local multi-beacon indexer at ws://127.0.0.1:50010 with
  public-pool fallback.
2026-08-29 16:43:27 +02:00
..
public-gateway.mjs gateway: /api/tlds sourced from TLD_BEACON snapshot, add /api/registry 2026-08-29 16:43:27 +02:00