Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

getAddress() always returns 0x0000000000000000000000000000000000000000 #90

Open
JJ810 opened this issue Mar 30, 2022 · 0 comments
Open

Comments

@JJ810
Copy link

JJ810 commented Mar 30, 2022

I am trying to use getAddress() to get ENS address from domain name but it returns 0x0000000000000000000000000000000000000000 for all domains.(i.e: demodoodles.eth)

Here is my approach.

  const ens = new ENS({
      provider: window.ethereum,
      ensAddress: getEnsAddress('1'),
  })
  const address = await ens.name('demodoodles.eth').getAddress()

Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant