# How to tokenize a domain

This guides provides a step-by-step guide on how to use Doma Protocol for domain tokenization. [Testnet Registrar](https://testnet.interstellar.xyz/) is provided by D3 to test the protocol. However, registrar-specific steps can be performed on any registrar that supports the Doma Protocol (exact flow may vary between registrars).

1. Navigate to [https://testnet.interstellar.xyz](https://testnet.interstellar.xyz/) and Login/Register.
2. Search for an `.io` name:<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FPXk1XGxlQwF56yTjvb0h%2Fimage.png?alt=media&#x26;token=e8ee8e1e-aaf2-4e52-9d1b-9f9b602a75a3" alt=""><figcaption></figcaption></figure>
3. Add it to cart and purchase. 2 options for purchase are available:<br>

   1. Fiat. Any Stripe [test credit card](http://docs.stripe.com/testing#cards) can be used, no real money required. For example, `4242424242424242`.
   2. Crypto. Testnet tokens on a supported payment chain are required.

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2F1R6FCMNg8CWZzZN0EZ7C%2Fimage.png?alt=media&#x26;token=7b82d814-b3cb-4b8b-b39b-90b3a294dcc2" alt=""><figcaption></figcaption></figure>
4. Once the purchase is completed, navigate to the Portfolio and click Tokenize Domain:

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FmtBXbQ6HFTt18EPTLoos%2Fimage.png?alt=media&#x26;token=cf363298-db7c-4158-afb0-2398f8c5cf61" alt=""><figcaption></figcaption></figure>
5. Choose a target chain for tokenization:<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FpWoWvOK0rygu58NbQBYv%2Fimage.png?alt=media&#x26;token=a18f868b-026f-4b70-8e26-662afa8d52b6" alt=""><figcaption></figcaption></figure>
6. Sign transaction using your wallet to confirm tokenization. You might need to connect your wallet, if you registered without it. This will initiate tokenization process:

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FXBZdZyh1xjyadWFUOCdu%2Fimage.png?alt=media&#x26;token=8a44484a-cec0-4d99-937b-08ae6c70d77e" alt=""><figcaption></figcaption></figure>
7. Tokenization process might take several minutes. Once it's tokenized, clicking on `Tokenized` link will show token on blockchain explorer.<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FoUKsEJxappbiHMyUxazN%2Fimage.png?alt=media&#x26;token=0963caac-bf66-4310-a293-ef51299148df" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FeL2vhIKgetsU3CQzKlQu%2Fimage.png?alt=media&#x26;token=94cec002-0739-4e82-9d3e-48c629a5ca21" alt=""><figcaption></figcaption></figure>
8. Once name it's tokenized, it can be managed on [Doma Dashboard](https://dashboard-testnet.doma.xyz/), which shows tokenized names from all registrars on Doma Protocol. First of all, login into dashboard using your email address.<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FX09sVeX0qAYYENxBCNWB%2Fimage.png?alt=media&#x26;token=98f0fa01-82b3-41ce-b8a6-1acac9905aa4" alt=""><figcaption></figcaption></figure>
9. Link wallet that has been used for tokenization on Step 6.<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FJ5rglRBee4cUCK9hHIKA%2Fimage.png?alt=media&#x26;token=d90cc0e2-e325-4f15-ab81-d78cd27f6662" alt=""><figcaption></figcaption></figure>
10. After wallet is linked, tokenized domain will be visible in portfolio:<br>

    <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FlFEwhlo3RjLclKkO6B1D%2Fimage.png?alt=media&#x26;token=c4b8d8d6-72db-4226-a162-cdd59f31586f" alt=""><figcaption></figcaption></figure>

### (Optional) Bridge Name Token to another chain

Name token can be moved to another chain using Doma Dashboard. This is useful to access liquidity or apps that are available only on one of the supported chains.

1. Select a domain you want to bridge and click a "Bridge" button.<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2Fr49vWAFhEeJCVh2z3CG2%2Fimage.png?alt=media&#x26;token=95b3bb47-6b8e-4bb1-8c44-1522e47b7f9d" alt=""><figcaption></figcaption></figure>
2. Select target chain and wallet address<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2Fts2Q5ilGjOpuNRa2mlWd%2Fimage.png?alt=media&#x26;token=6f6638df-424b-4cad-afec-77c1a6ada974" alt=""><figcaption></figcaption></figure>
3. Confirm bridge and wait for it to complete. "Bridge In-progress" status will be displayed:<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FdlIw6aQ0TC6rEoj4Xgw1%2Fimage.png?alt=media&#x26;token=1f11f0a2-b6ff-423c-98db-693f585bef36" alt=""><figcaption></figcaption></figure>

### (Optional) Claim Domain after transferring

When name token is transferred on-chain, Domain is put into a temporary custody until a new owner can provide their contacts information. Process of providing this contact information is called a Domain Claim, and is required for obtaining control over a domain on a Registrar app.

{% hint style="info" %}
To trigger a claim process, simply transfer NFT to another wallet. This can be done manually, or by listing/buying on some NFT marketplace (like OpenSea or MagicEden).
{% endhint %}

1. Make sure you have an account on a Registrar app, that's tied to your Doma Dashboard user account email.<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2Fch2ifF4m7ssPAPa5CxzK%2Fimage.png?alt=media&#x26;token=8e9dfca4-6e9b-41bd-90e2-345b79379e7d" alt=""><figcaption></figcaption></figure>
2. Find a domain you want to claim in Portfolio and click a "Claim" button.<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2Fdx6DxaOWXQPcKm2ux4mX%2Fimage.png?alt=media&#x26;token=0be6e5a0-1ec5-4049-92f5-c1894f3f82b2" alt=""><figcaption></figcaption></figure>
3. Provide your contacts information and sign a transaction.<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2FnRo1OcRscLrK78q9AT33%2Fimage.png?alt=media&#x26;token=ff55d1ac-72c4-4042-b8aa-27ce66af7969" alt=""><figcaption></figcaption></figure>
4. Wait for the claim request be approved or rejected by a registrar. While in progress, "Claim Requested" status is displayed:<br>

   <figure><img src="https://3605822629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fte9OGCgBObOj1vn0919Q%2Fuploads%2F4aJ41bhjFJETwcXs7Mc9%2Fimage.png?alt=media&#x26;token=c47f2b67-9094-4b70-be72-a59e397f101a" alt=""><figcaption></figcaption></figure>
