eth-ens-namehash-ms

2.2.0 • Public • Published

Forked from https://github.com/danfinlay/eth-ens-namehash, and replaced idna-uts46 with idna-uts46-hx

Refer to the source for full functional description:

Eth ENS Namehash CircleCI

Available on NPM

Installation

npm install eth-ens-namehash-ms -S

Usage

var namehash = require('eth-ens-namehash-ms')
var hash = namehash.hash('foo.eth')
// '0xde9b09fd7c5f901e23a3f19fecc54828e9c848539801e86591bd9801b019f84f'
 
// Also supports normalizing strings to ENS compatibility:
var input = getUserInput()
var normalized = namehash.normalize(input)

Readme

Keywords

Package Sidebar

Install

npm i eth-ens-namehash-ms

Weekly Downloads

21

Version

2.2.0

License

ISC

Last publish

Collaborators

  • manosamy