# Using SNS

## Transacting with SNS

The Solana Name Service is supported by most, if not all, of the popular wallets on Solana. Amongst other use cases that can be found under [List of Integrations](https://docs.sns.id/collection/sns-v2/list-of-integrations), transacting with your .sol is the most popular.

You can send SPL tokens and native SOL directly using a **.sol domain** or **Twitter handle** instead of using an address.

<figure><img src="https://1065369272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXk69cl2AKJ9GKU0wg1-887967055%2Fuploads%2F5MHZk5wYxEIFbbiKSxgO%2Fus01.png?alt=media&#x26;token=68f71e82-7012-4aa8-a9c8-23d0929cc966" alt=""><figcaption></figcaption></figure>

### **Transacting with a .sol domain**

To send tokens to someone using their .sol domain, you need to enter <kbd>`<domain_name>.sol`</kbd> in the **Recipient** field. If the domain name is not registered, it will display as below.

<div><figure><img src="https://1065369272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXk69cl2AKJ9GKU0wg1-887967055%2Fuploads%2F8czMRtxlIaQeedxH20yY%2Fus02.png?alt=media&#x26;token=99144c99-8b3e-417a-bb2f-9c13862cf9c7" alt=""><figcaption></figcaption></figure> <figure><img src="https://1065369272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXk69cl2AKJ9GKU0wg1-887967055%2Fuploads%2FzQeGckou7bPYJybhOMoV%2Fus03.png?alt=media&#x26;token=5dc768b9-cff1-42fa-9012-7ec807147aa7" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**If the domain name of the recipient is** `registersol`**, you need to enter** `registersol.sol`**.**
{% endhint %}

{% hint style="success" %}
**Most wallets follow the same convention described here.**
{% endhint %}

### Transacting with a Twitter Handle

To send tokens to someone using their Twitter handle, you need to enter `@<twitter_handle>` in the **Recipient** field. If a Twitter handle is not registered, it will appear as below.

<div><figure><img src="https://1065369272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXk69cl2AKJ9GKU0wg1-887967055%2Fuploads%2FWLyZUcBTFEZGyZGRHf7d%2Fus04.png?alt=media&#x26;token=046362a6-88b0-462a-b1ea-ea08626b9e2a" alt=""><figcaption></figcaption></figure> <figure><img src="https://1065369272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXk69cl2AKJ9GKU0wg1-887967055%2Fuploads%2Fd5K6DM2fAv2FrBPbSzVL%2Fus05.png?alt=media&#x26;token=29a4cd9b-0f8b-4964-8702-89cc1c99684c" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**If the Twitter handle of the recipient is** `@myhandle`**, you need to enter** `@myhandle` **and not** `myhandle`**.**
{% endhint %}

{% hint style="warning" %}
**Twitter handles are case-sensitive.**
{% endhint %}

{% hint style="warning" %}
**At this moment, only Solflare supports transactions via Twitter handles.**
{% endhint %}

## Resolving websites with SNS

### In-house resolver

Go to your domain collection and click on the domain you'd like to resolve. Click the <kbd>Edit</kbd> button in the **Others** section to edit the records of your domain.&#x20;

The resolver supports (1) URLs (for that, edit the **General** section), (2) IPFS CIDs & (3) Arweave hashes. Choose what you would like to resolve and enter it accordingly.

<figure><img src="https://1065369272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXk69cl2AKJ9GKU0wg1-887967055%2Fuploads%2F2aq3fOq3Dr5FrHMRJIwQ%2Fus06.png?alt=media&#x26;token=2652e943-f6e8-4198-bf17-6cb2a47fa3f8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**The format of the records is as follows:**

1. **IPFS:  CID only (e.g. `QmZk9uh2mqmXJFKu2Hq7kFRh93pA8GDpSZ6ReNqubfRKKQ`)**
2. **ARWV:  Hash only (e.g. `KuB5jmew87_M2flH9f6ZpB9jlDv8hZSHPrmGUY8KqEk`)**
3. **URL: With the following format `url_to_your_website` (e.g. `https://sns.id`)**
   {% endhint %}

{% hint style="warning" %}
**If you have more than one record set, the resolver will prioritize the `url` section first, then `IPFS` and lastly `ARWV`.**
{% endhint %}

Once your record section is set, you can browse SNS websites in the format of `yourdomainname.sol-domain.org`.

### Brave example

[Brave](https://brave.com/)'s integration allows you to resolve domain names natively. This means no gateway or extension is needed — just your .sol domain name in the URL tab.

Follow the steps above and edit either the URL or IPFS record section of the domain. Sign the transaction and you are good to go.

Go to Brave Browser and type your .sol just as it is in the URL tab and watch your website resolve.

<figure><img src="https://1065369272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXk69cl2AKJ9GKU0wg1-887967055%2Fuploads%2FK8y38nkhI1wpw7o46jjM%2Fusvid01-ezgif.com-video-to-gif-converter.gif?alt=media&#x26;token=00be79cd-5687-4d2f-9098-b9f54845dea7" alt=""><figcaption></figcaption></figure>

### 4Everland example

4EVERLAND Hosting service supports SNS+IPFS and offers a dedicated gateway `4sol.xyz` for all SNS owners.&#x20;

To deploy your website on IPFS and associate your domain name, follow the steps below.

#### Video tutorial for 4EVERLAND setup

{% embed url="<https://www.youtube.com/watch?feature=youtu.be&v=BeJhkDziu8A>" %}

### Marlin Oyster gateway

Marlin Oyster also allows you to access any IPFS URL appended to your `IPFS` record under your .sol domain. The setup is incredibly easy. View your domain, dropdown records and edit the IPFS record with your link.

Now you are completely set up and you can access your website through the .place gateway. For example,[ ](https://hostdomain.sol.pub)<https://builtonoyster.sol.place>.

## [SNS Manager](https://www.xnft.gg/app/Dv4kgorqEdzjxFf1rRZajfFmnfWgXrhRdyXT2VxZeumv)

Build and manage your identity with our smart SNS manager on Web3 and unlock the value of your on-chain personality.
