A package for resolving Clet names
npm:
npm install clet-js
yarn:
yarn add clet-js
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')
- 1.0.0
- Resolve and reverse Clet names