Replies: 1 comment 2 replies
-
It is definitely not possible. :( The ENS Registry Contract was updated since then and has a new address which requires at least v4.0.44 or better. Even that old a version is not recommend, though. I would recommend looking into updating to v5, and the cli package might be of interest to you, as it already has much of the functionality you require and may just require using the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking to add ENS forward/reverse resolution to seth. It already has a minified ethers v4.0.32 dependency, so I'd like to leave this untouched if possible.
When I add a node script with the following code, it throws with
UnhandledPromiseRejectionWarning: TypeError: h.XMLHttpRequest is not a constructor
It seems this is because
XMLHttpRequest
is a browser API and not defined in node.js, but I'd be surprised if ethers v4 didn't work out of the box with node.js. It feels like I must be missing something obvious here to make this work in node, so any guidance would be appreciated!Beta Was this translation helpful? Give feedback.
All reactions