Skip to content
/ cletjs Public

This library allows developers to resolve Clet names

Notifications You must be signed in to change notification settings

cletNS/cletjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clet-js

A package for resolving Clet names

NPM Version Downloads Stats

Installation

npm:

npm install clet-js

yarn:

yarn add clet-js

Usage example

Below are examples of how to use the package in a node.js application

const clet = require('clet')

async function resolveName(nameToResolve) {
  console.log(await clet.resolve(nameToResolve))
}

async function reverseResolve(addressToResolve) {
  console.log(await clet.reverse(addressToResolve))
}

resolveName('bob.btc')

reverseResolve('0xcb488089fA2168247BB6022f04E310d997608597')

Release History

  • 1.0.0
    • Resolve and reverse Clet names

About

This library allows developers to resolve Clet names

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published