Last active
September 5, 2019 20:56
-
-
Save 0xGabi/e922ddd1c991e16c825f6b89aeb64db7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const namehash = require("eth-ens-namehash").hash; | |
const keccak256 = require("js-sha3").keccak_256; | |
const tldName = "open.aragonpm.eth"; | |
const tldHash = namehash(tldName); | |
console.log(`Namehash: ${tldHash}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment