1.0.3 • Published 6 months ago

snsnamecheck v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

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
1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago