jgimeno / go-namehash

Implementation in golang of the namehash function used in ethereum name system ENS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang ENS Namehash implementation.

How to use

Is very easy to use, import the library and use it like:

Import the library with dep:

dep ensure -add "github.com/jgimeno/go-namehash"

And use it like:

nameHash := kns.NameHash("foo.eth")

And it returns a common.Hash.

About

Implementation in golang of the namehash function used in ethereum name system ENS


Languages

Language:Go 100.0%