Skip to content

Instantly share code, notes, and snippets.

@0xGabi
Last active July 30, 2020 16:55
Show Gist options
  • Save 0xGabi/9bc13a9cd099be36ec7720cbd51cbac9 to your computer and use it in GitHub Desktop.
Save 0xGabi/9bc13a9cd099be36ec7720cbd51cbac9 to your computer and use it in GitHub Desktop.
const namehash = require('eth-ens-namehash').hash
const tldName = 'conviction-experimental.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