Questions tagged [namehash]

An algorithm that recursively hashes components of an ENS name, producing a unique, fixed-length string for any valid input domain.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

How to check if an ens name is valid or not

How can I check if an ENS domain name is correct or not? I would like to know how they are being calculated. I mean what are the standard rules. Here is web3.py output. In [1]: from ens.utils import ...
Saikat Karmakar's user avatar
0 votes
1 answer
98 views

Should you use keecak256 to hash labels in ENS?

I am curious how you would implement a smart contract which registers a (sub)domain on ens. The documentations I have found all specify that ENS uses SHA3 to hash the domains. I thought Keecak256 was ...
rajohs's user avatar
  • 179
2 votes
1 answer
85 views

Question about the namehash algorithm in EIP-137

I am trying to recreate the namehash algorithm from EIP-137. After spending a lot of time trying to create my own algorithm, I tried to find a working python3 package online and couldn't find any. I ...
Jack Hancock's user avatar
2 votes
2 answers
156 views

Why is the recursion in the namehash algorithm?

The algorithm is described in eip-137.
alpe1's user avatar
  • 139