By now, you may have seen Stacks community members on our marketplace, Twitter, and Discord with .btc at the end of their name, for example joe.btc or jaime.btc. You may be wondering what it means, how to get one and if there's a purpose.
.btc domains are registered through a smart contract on Stacks, secured by Bitcoin. This smart contract implements a decentralized name registry.
Given Stacks' unique connection to Bitcoin, registering .btc names automatically generates a pair of corresponding Bitcoin and Stacks addresses.
On Gamma, you can use it to transfer NFTs to someone by typing in their .btc name instead of the longer alphanumeric address, or you can use it to view your own — or someone else's — profile and NFTs on Gamma. Here's an example: https://stacks.gamma.io/jaime.btc
More on sending Stacks NFTs to other users in this video guide.
So how do you purchase and register one for yourself?
Head to https://btc.us/
In the top right you will need to connect your wallet by clicking Sign In. Make sure to select an address that does not already have a .btc domain tied to it, as you can only have one per address.
In the search bar, type in the name you would like to purchase and click Get It. You will either see “Unavailable” or “Available for ~$5/5 years”.
You will be directed to a new page where you need to ensure all the details are correct and then click Continue.
There are two steps on the next page: 1. Preorder and 2. Register. Both will require a transaction and a gas fee.
Click Send to preorder. You'll need to wait for the transaction to confirm, and as soon as it has, it will show in small green writing. Next, click Register and wait for the transaction to confirm.
Well done, your purchase was successful! You can now manage your new .btc domain by clicking Account in the top right corner. There are two tabs available, Basic and Advanced.
You can also purchase another one by creating a new account in your Leather wallet (formerly Hiro) and repeating the steps with that new STX address.
Select Account in the top right-hand corner, and you will be redirected to a page where you can click Sign Out to disconnect your wallet from the website — this is good practice to follow in Web 3.0!
You can also watch this short video guide we put together.