0

I was trying to build an ENS domain check utility in solidity. Is it possible to check the validity of an ENS address directly on chain?

Found this contract, and its available looks what I want, but regardless of what I give it returns true.

Any idea?

1 Answer 1

0

The available function in the contract is to check if the ens is available to me minted. ens available function

When the name is already minted then you will get ntn returned at bool. (I'm assuming false should be there instead being empty)

enter image description here

All the name you entered would have been able to be minted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.