ConsenSysMesh / ens-namehash-py

A python implementation of the namehash algorithm from EIP137

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`namehash` does not do normalisation

Arachnid opened this issue · comments

The namehash function needs to normalise strings per uts46 before hashing them to be compliant. The uts46_remap function from the idna library can be used to do this.