Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NNS + ENS lookup of addresses #742

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

apbigcod
Copy link

@apbigcod apbigcod commented Jan 7, 2024

This PR adds support to NNS (Nouns Naming Service) to lookup addresses using the recommended method described in this demo by the NNS team.

How

  1. Added a new hook useNnsName which calls the method resolve in 0x849f92178950f6254db5d16d1ba265e70521ac1b to do a reverse lookup on the NNS registry falling back to the ENS registry.
  2. Replaced all uses of useEnsName with useNnsName

Examples

Screenshot 2024-01-07 at 19 46 53 Screenshot 2024-01-07 at 19 47 42

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

Successfully merging this pull request may close these issues.

1 participant