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

Integrate Unstoppable Domains in the Transfer page #57

Closed
0xtuytuy opened this issue Oct 5, 2022 · 0 comments
Closed

Integrate Unstoppable Domains in the Transfer page #57

0xtuytuy opened this issue Oct 5, 2022 · 0 comments

Comments

@0xtuytuy
Copy link
Contributor

0xtuytuy commented Oct 5, 2022

Is your feature request related to a problem? Please describe.
We should be able to integrate the Resolution library of Unstoppable domains in the Transfer page, so instead of putting addresses, the user is able to simply put a domain main ie. 0xtuytuy.crypto and the webapp should be able to resolve the owner of the NFT and send the funds to that address.

Describe the solution you'd like
We should be able to use this library: https://docs.unstoppabledomains.com/developer-toolkit/resolution-integration-methods/resolution-libraries/resolution/

Keep in mind that the asset transfer page is today only on Polygon, we should therefore make sure that the domain is available on Polygon.

On the UI side, the domain or a 0x address should be the only valid inputs, we should not overwrite the text the user enters.

We should keep the validation if a user tries to enter something else but a 0x address or a .nft, .x, .bitcoin, .dao, .888, .zil, .crypto, .wallet, .blockchain the error message should say:

Recipient address or domain name is not valid

Describe alternatives you've considered
NA

Additional context
NA

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

No branches or pull requests

1 participant