-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace eth-ens-namehash with ens-normalize.js #37
base: master
Are you sure you want to change the base?
Conversation
…onents, only includes necessary files for operation and validation conformance
@adraffy/ens-normalize.js has been pretty stable. This repo now contains the minimal data necessary for operation and validation conformance. It is a direct replacement for the prior library except it is ESM not CJS. I removed all of the build code as the 99.9% use-case is |
Updated to match @adraffy/ens-normalize.js 1.9.0 |
…esm/cjs and minified versions, update readme
https://discuss.ens.domains/t/draft-approval-of-ens-name-normalization-standard/16957/7 This should now be a zero-change drop-in replacement for the old library. |
Copied from other fork: This is my first-attempt at replacing the eth-ens-namehash repo. I essentially deleted everything and started fresh. I kept the existing functionality (
normalize()
andhash()
) and exposed my new functionality via import renames. Except for the hash.js shim,/derive/
,/src/
and/validate/
are direct-copies from @adraffy/ens-normalize.js.For more information, check Project Readme, Derive Readme, and Validation Readme.
Note: This build still has a few areas that are still under development:
I will keep this repo in sync as a finish the last few things.