What about a decentralized Domain Name System (DNS)? Perhaps something that allows you to resolve Solana Name Service (SNS) websites in your browser of choice?
This may be confusing, let’s backtrack a bit; what is a domain name and why do we need it? It can easily be described as the name you type in your browser to reach a specific website for example https://bonfida.org.
In actuality, the address of your website is encoded by a series of numbers and dots (IP addresses) which obviously is no problem for a computer to read. However, imagine as a human having to remember all the numbers and dots of your favorite websites - I’d say, close to impossible. Hence domain names come to the rescue by offering human-readable addresses.
Just like DNS there are services like Ethereum Name Service (ENS) and SNS used to replace unreadable crypto wallet addresses with unique readable ones such as yourname.eth
or yourname.sol
. The main difference? Their decentralized nature, of course, which makes them much safer to use. Ok, done with that.
Besides providing a unique ID for your SOL wallet address you can use our resolver as a gateway to point any URL, Arweave hash and/or IPFS CID to your .sol
domain name. This’ll allow you to browse SNS websites in the form of https://yourname.sol-domain.org
.
In this example, we will use the URL record and the domain name bonfida.sol
When viewing your domain name, you will see a “Records” section which includes, in addition to typical DNS records, brand new web3-specific types.
Here we are setting our URL record to https://bonfida.org. Once the record is set (and the transaction approved) you can easily browse your SNS website. Go ahead and try https://bonfida.sol-domain.org and see for yourself!
This will work in a similar fashion for Arweave hashes and IPFS CIDs but would require a slightly different format.
An in-depth guide on our record section and Solana Name Service resolver can be found here and here.