Marketplace has launched, further enabling blockchain developers! Learn more

How to Create a .sol Domain using Solana Naming Service

September 23, 2022

Overview

Solana Naming Service ("SNS") is a handy Solana Program that allows users to create a readable domain name that can be used in place of a Public Key. SNS grants users a ".sol" domain name (e.g., ExampleUser.sol) through a user's Program Derived Account. Like an e-mail address, a .sol domain can be helpful in sending assets to a friend or looking up your own token accounts on an Explorer. Bonfida, the creator of SNS, is also working to enable use cases that support a decentralized web (e.g. decentralized DNS for web sites using the .sol domain).

What You Will Do

In this guide, you will learn how to create your own .sol domain name using Bonfida Naming Service.

What You Will Need

  • A Solana Wallet (e.g. Phantom)
  • To buy a .sol domain, you will need $20 worth of Solana or USDC + a small amount of SOL for transaction fees

Register a .SOL domain

Registering your personal .sol domain through Bonfida's Naming service is simple and takes just a minute:

  1. Go to https://naming.bonfida.org/
Bonfida SNS Homepage
You'll see on the page that you can browse domains that have already been sold or are up for auction. In this example, we will find one that is unclaimed.

Enter a domain name you'd like to search for in the search bar and hit enter. Browse around until you find the domain you want to buy.

2. Add your domain to the cart. You'll notice the price is quoted in $FIDA. $FIDA is the primary token used by Bonfida. Don't worry if you don't have any; we will cover that in the next step.
Add to Cart

3. Select Account Size. Click "Continue to Cart" or the Cart icon in the top corner of the page. You'll see your domain listed in the cart and underneath it Storage 1kB Edit. Click Edit, and you'll see a screen like this:
Size

Setting your account's storage amount is an important step for advanced use cases because your account size cannot change after the domain is created. Bonfida explains that "1kb is enough for non-advanced users (using .sol domains for transactions)" and "10kb is suggested for advanced users (to resolve to an IPFS hosted website)". More information about Solana rent is available here. We will be using 1kb for ours. Though you can select any value between 1 and 10, it really only makes sense to do so if you have a specific advanced usecase in mind and you know the amount of storage you will need.

4. Get $FIDA tokens. You can use your preferred DEX or Swap app (e.g. Jupiter) to secure the necessary $FIDA. For ease, we will use Phantom's native swapping tool. It cost us about $20.10 USDC to get the necessary $FIDA for our purchase:
Phantom Swap to FIDA

5. Checkout. Return to your cart and click "Checkout." You'll then be prompted to connect your wallet:
Wallet Connect Screen
Make sure to connect the same wallet that holds your $FIDA tokens from Step 3.

You'll be prompted to "Choose token to pay with." At present, this feature is disabled. Click "Continue". Review your order and click "Complete Purchase" to initiate a wallet transaction.

Welcome to the Community!

Congrats on your new .sol domain name! Want to show off your new domain, or want to ask a question? Catch us on Discord or reach out to us via Twitter.

Are you a developer and want to learn how to query Solana domains? Check out our Guide: How to Query Solana Naming Service Domains. We <3 Feedback! If you have any feedback or questions on this guide, let us know. We’d love to hear from you!

Related articles 33

Como crear un NFT en SOLANA
Published: Dec 27, 2021
Updated: Sep 23, 2022

¡Hola querido lector! Bienvenidos a una nueva guía de Solana.Solana es una blockchain que promete mucho a la hora de intentar resolver los problemas de escalabilidad que...

Continue reading
How to Get Transaction Logs on Solana
Published: Jun 24, 2022
Updated: Oct 27, 2022

Ever need to pull all the transactions associated with a Wallet? Want to see all of the mint transactions associated with a Candy Machine? Or maybe see transaction history of an NFT? Solana's...

Continue reading
How to Transfer SPL Tokens on Solana
Published: Sep 23, 2022
Updated: Sep 23, 2022

Sending Solana Program Library (SPL) Tokens is a critical mechanism for Solana development. Whether you are airdropping whitelist tokens to your community, bulk sending NFTs to another wallet,...

Continue reading
How to Mint an NFT on Solana
Published: Aug 27, 2021
Updated: Sep 23, 2022

Updated at: April 10, 2022Welcome to another QuickNode guide on Solana - the up-and-coming blockchain that seeks to solve the scalability issues of Ethereum. We will be walking through...

Continue reading
How to Send Bulk Transactions on Solana
Published: Aug 31, 2022
Updated: Oct 3, 2022

Are you running a batch process that has many transactions? Perhaps an airdrop to your community's NFT holders or a token distribution to early users of your dApp. Solana transaction...

Continue reading
Solana Fundamentals Reference Guide
Published: Oct 27, 2022
Updated: Oct 27, 2022

The Solana blockchain is a powerful tool, delivering thousands of transactions per second with almost no-cost transaction fees. If you are new to Web3 or have developed on EVM-based...

Continue reading