blockful-io / external-resolver-dapp

https://external-resolver-dapp.vercel.app
2 stars 2 forks source link

refactor: Avoid registering subdomains as 2LD #103

Closed pikonha closed 3 months ago

pikonha commented 4 months ago

Refactor Request

Describe the Refactor Request

The UI should not permit registering subdomains from the search page. Although it seems to be working, it leads to an unreachable domain given the behavior of the namehash function.

Describe Preferred Solution

Instead of allowing the user to register these domains, it must redirect the user to the subdomain page marked as Not Owned as the ENS dAPP does.

Image

Image

Describe Alternatives

Related Code

Additional Context

alextnetto commented 4 months ago

Hey @pikonha , this is not exclusive for 2LDs that use offchain resolver. This flow currently should only register .eth 2LDs.