# @dgb-wallet/bns BNS (Bitcoin Cash Name Service) resolver client for the DigiByte.X Wallet. Wraps the canonical zero-dependency `resolver-web.js` from `D:\Dev\SilentMode\Argus\src\lib\` (single source of truth, kept in lockstep with the rest of the Silent Mode stack per its `PROTOCOL.md`). Handles `.dgb` and every other activated BNS TLD (`.bch`, `.p2p`, `.deviant`, `.nav`, `.sia`, `.nt`, `.sm`, `.lm`) as of the 2026-07-30 bootstrap. ## API ```ts import { resolveName, resolveEndpoint, normalizeName, normalizeFingerprint } from '@dgb-wallet/bns'; // Full resolve — returns everything on-chain for a name const entry = await resolveName('rpc.dgb'); // { name: 'rpc.dgb', records: { ip: '...', tls: '...' }, height, txid, category } // Endpoint-only — enforces both ip AND tls fingerprint present const { ip, tls } = await resolveEndpoint('rpc.dgb'); // { name: 'rpc.dgb', ip: '203.0.113.42', tls: 'ab12cd34...' } // Canonicalize any input to