Edit this page

Integrate Reverse Resolution into Your App

This page outlines the use case for integrating the Reverse Resolution feature into your application. You can improve your application's user experience by displaying your users' domain names instead of their wallet addresses.

How does it work?

DApps currently have a poor user experience when displaying wallet addresses of connected users. It is difficult for users to identify which wallet is connected to a platform and have to check the addresses shown in the application with their wallets. Reverse Resolution is a feature that allows applications to show the domain names owned by an address instead of wallet addresses alone.

Reverse Resolution works like a phonebook where you would typically search for a contact's phone number, but you can also search for a contact with their phone number. This works by having domain owners set a reverse record for their domains on the blockchain. Then when an application uses our APIs or libraries to resolve a reverse record, our smart contracts return the domain name that the owner selected. You can use Reverse Resolution anywhere your application has to display the identity of a connected user.

reverse resolution demo

Reverse Resolution demo

Who sets the domain for Reverse Resolution?

Individuals maintain absolute control over their domains and their reverse records. No one can set or remove a reverse record of a domain other than the domain owner. However, reverse records are wiped automatically at the contract level whenever a domain owner changes.

Are there working integrations for this feature?

https://web3udmintfeed.nft, a platform that tracks newly minted UD domain names in real-time, has implemented Reverse Resolution and can also be used as a reference for implementation: web3udmintfeed.nft Code Reference.

How do I get started?

See the Resolution Service API, Resolution Libraries, and Smart Contracts guides to get started integrating the Reverse Resolution feature into your application. You should also review the Frequently Asked Questions page for answers to common questions you might have.