Unified API to resolve Ethereum names across ENS, WNS, and GNS.

Unified API to resolve Ethereum names across ENS, WNS, and GNS.
by mishaderidder.eth13110 🥝 • 3mo • github.com
AI summary of the linked article

This is a README for @1001-digital/ethereum-names, a viem-based TypeScript library that resolves Ethereum names across ENS, the Gwei Name Service (GNS), and the Wei Name Service (WNS) through one API. Names ending in .gwei route to GNS and names ending in .wei route to WNS, while other dotted names fall back to ENS. The library reports whether a result was verified and whether several systems claimed the same name. By default, reverse lookups are forward-verified to guard against spoofed ENS reverse records, and ambiguous names resolve to null rather than guessing, with custom registries able to join the resolving path.

Characters remaining: 10,000

comment guidelines