Introducing name & address resolvers for Unstoppable Domains

We are excited to announce the support for Unstoppable Domains extensions. You can now retrieve the domains that are assigned to a wallet address, or fetch the wallet address behind a domain name, just like how you would do with an ENS.

Retrieving domain name from an address

import { resolveName } from "thirdweb/extension/unstoppable-domains";

const name = await resolveName({
  client,
  address: "0x...",
});

Retrieving the address behind a domain

import { resolveAddress } from "thirdweb/extension/unstoppable-domains";

const address = await resolveAddress({
  client,
  name: "thirdweb.crypto",
});