NameHash
Due to smart contract limitations, NibID interacts with fixed-length 256-bit cryptographic hashes instead of human-readable names. The Namehash process derives hashes from names while preserving their hierarchical structure.
For example, the namehash of 'alice.NIBI’ is represented as a unique cryptographic value, used exclusively within NibID.
Namehash enables generating a unique hash for any valid domain name. This hierarchical structure allows deriving subdomain namehashes without handling the original human-readable names.
Names are first normalized using UTS-46 normalization before being hashed, ensuring consistency.
Last updated