@krobinalpha/dotarb-interface
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Dotarb Interface

A javascript library for generating Ethereum Name Service (ENS) namehashes per spec.

Installation

yarn add @krobinalpha/dotarb-interface

or

npm install @krobinalpha/dotarb-interface -S

Usage

const dotarb = require("@krobinalpha/dotarb-interface");
const domain = "robin.arb";
dotarb.getAddressFromEns(domain).then(address => {
    console.log(domain, address);
});
  • typescript
import {getAddressFromEns} from '@krobinalpha/dotarb-interface'

const domain = "robin.arb"
getAddressFromEns(domain).then(address=>{
    console.log(domain, address)
})

Readme

Keywords

Package Sidebar

Install

npm i @krobinalpha/dotarb-interface

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

2.35 kB

Total Files

3

Last publish

Collaborators

  • krobinalpha