Skip to content

About

Solidity Implementation of the ENS namehash algorithm.

Resources

Stars

6 stars

Watchers

2 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

ens-namehash

Solidity Implementation of the ENS namehash algorithm.

Install

npm install JonahGroendal/ens-namehash

Usage

pragma solidity ^0.5.1;

import 'ens-namehash/contracts/ENSNamehash.sol';

contract A {
  using ENSNamehash for bytes;
  
  function getNamehash(bytes memory name) public pure returns (bytes32) {
    return name.namehash();
  }
}

About

Solidity Implementation of the ENS namehash algorithm.

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages