snsnamecheck
v1.0.3
Published
A small package to integrate SNS on Shibarium
Downloads
2
Readme
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