# @fetcch/resolve-names

Resolve various DIDs like `.eth`, `.sol`, `.arb`, `.bnb`, `.apt`, `@kana` and many more using a single SDK

### Installation

Install `@fetcch/resolve-names` with package manager

```bash
  NPM
  npm install @fetcch/resolve-names
  
  YARN
  yarn add @fetcch/resolve-names

  PNPM
  pnpm i @fetcch/resolve-names
```

### Usage

#### Resolve Name

```typescript
import { resolve } from "@fetcch/resolve-names"

const resolver = new Resolve({
  eth: "ETHEREUM_RPC_URL",
  pol: "POLYGON_RPC_URL",
  ...
  sol: "SOLANA_RPC_URL"
})

const id = await resolver.resolve("satyam@kana")

// OR

const id = await resolver.resolve("satyam.eth")
```

### Important Links

* [Github](https://github.com/FetcchX/resolve-names)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fetcch.xyz/open-source/fetcch-resolve-names.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
