snsnamecheck

1.0.3 • Public • Published

SNSNameCheck

A library created to allow new dapp developers on Shibarium to integrate SNS. The functions allow to retrieve:

  • The primary domain from an address
  • The address that a domain belongs to (coming soon)
  • The records (if set) of a domain (coming soon)

Installation

npm install snsnamecheck

Importing the library

import { resolveName } from "snsnamecheck";

Example Usage

const snsName = await resolveName("0x123456789101112131415");
// Returns a name from an address
// If none exists, returns the address

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i snsnamecheck

    Weekly Downloads

    2

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    17 kB

    Total Files

    4

    Last publish

    Collaborators

    • yeyo8711