@fetcch/resolve-names
v1.0.1
Published
Resolve various DIDs like `.eth`, `.sol`, `.arb`, `.bnb`, `.apt`, `@kana` and many more using a single SDK
Downloads
2
Readme
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
NPM
npm install @fetcch/resolve-names
YARN
yarn add @fetcch/resolve-names
PNPM
pnpm i @fetcch/resolve-names
Usage
Resolve Name
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")