Skip to main content
Unstoppable Domains (UD) provides user-owned, blockchain-based domain names that serve as universal digital identities for the decentralized web. You can link your Web3 unstoppable domain as an identity using the Demos SDK by following this guide.

Initialization

Initialize a new Demos class instance to communicate with the Demos Network:

Connect Signing Wallet

Connect the crosschain wallet to use to prove ownership of the domain. Assuming you want to sign using your ETH wallet, that would look like this:
You can use the domain owner address or any of the addresses added as records to sign the proof of ownership payload. You can sign using any of the supported chains.

Resolve UD Domain

Lookup your domain and fetch its metadata:
The resolutionData object contains information about your domain including the owner and records attached to it. That looks something like this:
Finally, use the resolutionData to link your domain to your Demos address:
The addUnstoppableDomainIdentity uses the connected cross-chain wallet to create a proof of ownership payload, then sends the payload to the Demos RPC for verification.

Getting Connected UD Domains

You can fetch the UD Domains connected to your account as shown: