> ## Documentation Index
> Fetch the complete documentation index at: https://namehash-krzysztofwrobel-sc-24494-nameguard-remove-goerli-a.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

<Steps>
  <Step title="Install">
    Begin by installing `@namehash/nameguard`:

    <CodeGroup>
      ```bash npm
      npm install @namehash/nameguard
      ```

      ```bash pnpm
      pnpm install @namehash/nameguard
      ```

      ```bash Bun
      bun add @namehash/nameguard
      ```
    </CodeGroup>
  </Step>

  <Step title="Import">
    Next import `nameguard` using the required network:

    <CodeGroup>
      ```ts mainnet
      import { nameguard } from "@namehash/nameguard";
      ```

      ```ts sepolia
      import { createClient } from "@namehash/nameguard";

      const nameguard = createClient({
        network: "sepolia",
      });
      ```
    </CodeGroup>
  </Step>

  <Step title="Inspect">
    You're now ready to inspect, lookup and verify:

    <AccordionGroup>
      <Accordion title="Inspect Name" defaultOpen>
        ```ts
        const report = await nameguard.inspectName("nick.eth");
        ```
      </Accordion>

      <Accordion title="Batch Inspect Name">
        ```ts
        const names = ["vitalik.eth", "notrab.eth"];

        const reports = await nameguard.bulkInspectNames(names);
        ```
      </Accordion>

      <Accordion title="Secure Primary Name Lookup">
        ```ts
        const result = await nameguard.getSecurePrimaryName("0x...");
        ```
      </Accordion>

      <Accordion title="Verify `.eth` Names">
        ```ts
        const report = await nameguard.fakeEthNameCheck("contractAddress", "tokenId");
        ```
      </Accordion>

      <Accordion title="Inspect Grapheme">
        ```ts
        const report = await nameguard.inspectGrapheme("𝒶");
        ```
      </Accordion>

      <Accordion title="Inspect Labelhash">
        ```ts
        const report = await nameguard.inspectLabelhash("0x...", {
          parent: "eth",
        });
        ```
      </Accordion>

      <Accordion title="Inspect Namehash">
        ```ts
        const report = await nameguard.inspectNamehash("0x...");
        ```
      </Accordion>
    </AccordionGroup>
  </Step>
</Steps>
