// Dump the full records payload of tlds.bch (the on-chain TLD registry). import WebSocket from "ws"; import { resolveName, CHIPNET_ELECTRUM } from "../../Argus/src/lib/resolver-web.js"; const OURS = CHIPNET_ELECTRUM[0]; const entry = await resolveName("tlds.bch", { WebSocket, electrum: [OURS], directIP: true }); console.log(JSON.stringify(entry, null, 2));