> For the complete documentation index, see [llms.txt](https://docs.patchwallet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patchwallet.com/api/ens-resolver-usr.id.md).

# ENS Resolver (usr.id)

Use the ENS resolver to find a wallet for any user

All Patch Wallets are compatible with ENS ([Ethereum Name Service](https://app.ens.domains/)) as a [usr.id](/api/ens-resolver-usr.id.md) subdomain, which means it's accessible in any wallet or dapp that supports ENS.

e.g. `elonmusk.twitter.usr.id` will resolve to Elon's Twitter Patch wallet. `19198675309.tel.usr.id` will resolve to the Patch wallet for that phone number.

All Patch Wallets ENS subdomains follow this format:

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td>{username}.</td><td></td></tr><tr><td></td><td>{provider}</td><td></td></tr><tr><td></td><td>.usr.id</td><td></td></tr></tbody></table>

## Resolve a wallet

```javascript
// Resolve with ethers.js
const provider = new ethers.providers
const address = await provider.resolveName(`${username}.${provider}.usr.id`);
```
