# SNS Setup Guide

<figure><img src="https://4107147272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEVHC4TEQKrh3Bfvq5dDi%2Fuploads%2FI1AoXhlajQLuZVTdrkHh%2Fpostspark_export_2025-04-17_15-48-35.jpeg?alt=media&#x26;token=bed032b7-4725-4fc8-8e36-8337edf1fb88" alt=""><figcaption><p>Solana Name Service (SNS) Domain Setup Guide for 4EVERLAND IPFS Deployments</p></figcaption></figure>

## Introduction to SNS Integration

4EVERLAND supports **Solana Name Service (SNS)** domains, enabling seamless mapping of `.sol` names to your IPFS projects. SNS domains offer:<br>

* **Decentralized Ownership**: Controlled via Solana private keys (no central registrars)
* **On-Chain Resolution**: Map domains to IPFS CIDs, Solana addresses, or custom data
* **Cost Efficiency**: Low registration fees (≈ $5–$10/year) and minimal gas costs on Solana
* **Web3 Native**: Works with Solana wallets (Phantom, Slope, Trust Wallet) and dApp browsers

{% hint style="info" %}
**Current Support**: IPFS projects only | **Roadmap**: Arweave/Internet Computer support
{% endhint %}

## Prerequisites

1. **Owned SNS Domain**:
   * Register via [SNS App](https://www.sns.id/?ref=4everland) (e.g., `yourproject.sol`)
   * Ensure ownership by controlling the associated Solana wallet private key
2. **Deployed IPFS Project**:
   * Live on 4EVERLAND (Dashboard → Projects → \[Project] → Details)
3. **Solana Wallet Setup**:
   * Install Phantom/Slope Wallet (Chrome/Firefox) with Solana Mainnet configured
   * Sufficient SOL for transaction fees (≈ 0.001 SOL per transaction)

## Step 1: Add SNS Domain in 4EVERLAND

<figure><img src="https://4107147272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEVHC4TEQKrh3Bfvq5dDi%2Fuploads%2Fsu9WJYlnWWivPjOVFcb1%2Fpostspark_export_2025-04-25_17-54-49.jpeg?alt=media&#x26;token=ca08ba90-72c2-4cbc-b152-7b93b96be967" alt=""><figcaption><p>Add SNS Domain in 4EVERLAND</p></figcaption></figure>

**Path**: Dashboard → Projects → \[IPFS Project] → **Domains** → **Decentralized Domains** → **SNS**&#x20;

1. **Domain Input**
   * Enter your SNS domain (e.g., `yourproject.sol`)
2. **Configure On-Chain Records**
   * Click **Add** → 4EVERLAND will show IPNS & IPFS CID
   * Go to [SNS Domain Management](https://v2.sns.id/) → Edit `yourproject.sol`
   * Add new record:
     * **Value**: `ipns://k51qzi...` or `ipfs://bafybe...`
     * Save changes → Sign transaction (gas fee: \~0.001 SOL)

<figure><img src="https://4107147272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEVHC4TEQKrh3Bfvq5dDi%2Fuploads%2FdTNkzkvszUPVy7amQKOE%2Fpostspark_export_2025-04-25_17-56-22.jpeg?alt=media&#x26;token=ab678a99-b19e-4356-8726-f7848bde2f92" alt=""><figcaption></figcaption></figure>

## Step 2: Confirm Resolution & Testing

1. **Transaction Confirmation**
   * Check Solana Explorer: Search your wallet address for `SetRecord` events
2. **Resolution Testing**
   * **Web3 Wallet**: Open `yourproject.sol` in Phantom Browser (auto-resolves to IPFS content)
   * **Non-Web3 Browser**: Use 4EVERLAND Gateway → `https://yourproject.4sol.xyz`

{% hint style="info" %}

### 📞 Support Resources

* **Live Chat**: Join [Discord server](https://discord.com/invite/Cun2VpsdjF) → #Open a ticket
* **Email**: <contact@4everland.org> (include domain name & project ID in subject)
  {% endhint %}
