The Handshake Network has reserved the Alexa Top 100k domains on chain to make sure that
important brands are able to own their name in the system. These names can be claimed
using a DNSSEC proof of ownership. This means that the owner of the domain name must
place a TXT
record at their domain name that includes a controlled address.
For technical instructions, see:
If you use a DNS provider that does not support DNSSEC, this process will be more challenging and the instructions here will need to be used. Please consider switching to a DNS provider that does allow DNSSEC to help make the internet more secure.
Make sure to be using the latest versions of hsd
and hs-client
. It is also possible to
claim a name using Kyokan's Bob Wallet.
Skip to Claiming the Domain.
- Verify that your name was reserved on Handshake by searching on https://dns.live
- It is not the current Alexa Top 100k, the list was aggregated in 2018
- https://github.com/handshake-org/hs-names/blob/master/data/top-1m.csv
- Enable DNSSEC on your DNS hosting provider
Some guides are available here:
It may take some time before DNSSEC is activated, be sure that your DNS provider has completed enabling DNSSEC before continuing.
- Install
hsd
using the installation instructions on the README. This requires Node.js version 10 along withnpm
, andnode-gyp
. Instructions may vary based on operating system, please use the appropriate package manager to install these.
$ git clone https://github.com/handshake-org/hsd
$ cd hsd
$ npm i
Now start the node so that its possible to create an address. This will create a directory
$HOME/.hsd
. It is very important that this directory is secure because the wallet keys are
in $HOME/.hsd/wallet
.
./bin/hsd
In another terminal, install hs-client
.
$ git clone https://github.com/handshake-org/hs-client
$ cd hs-client
$ npm i
Note: if you are not using the latest version, you will need to pass --network main
to
every CLI command from hs-client
.
Be sure to back up your mnemonic using the command:
$ ./bin/hsw-cli master
https://hsd-dev.org/api-docs/#get-master-hd-key
Note: this is very important to back up and will result in loss of control of the domain name on Handshake if it is lost. Be sure to correctly back up the mnemonic phrase in a separate place. It should look like a series of common words. These words can be used to create a new wallet and rediscover the HNS and names that are controlled by that wallet.
If you would like to set a passphrase for the wallet, use the command:
$ curl http://127.0.0.1:12039/wallet/primary/passphrase \
-X POST --data '{"passphrase":"NEWPASSWORDGOESHERE"}'
If you are updating a wallet's passphrase, include the an "old"
key
in the JSON body that contains the old passphrase.
On Windows the command needs to be formatted like this (escaped double quotes in the json):
curl -X POST -H "Content-Type: application/json" \
--data "{\"passphrase\":\"NEWPASSWORDGOESHERE\"}" \
http://127.0.0.1:12039/wallet/primary/passphrase
To connect the local wallet to the domain name, use the command:
Users running Bob Wallet will want to pass along their API key
by including the --api-key APIKEYHERE
flag in the below command.
$ ./bin/hsw-rpc createclaim DOMAINNAME
Copy the .txt
field in the output and place in a TXT
record at the domain using
a DNS service provider. It should look something like
"hns-claim:qnPxvMRKAAAAAAAA+4mmSeRmfY/8TOEF+ux4cu9H4M4OYKap5Y4LfMO7YUcAFBUOdex4+uplMqefKrIpsyZnyHPn"
.
After the TXT
record has been propagated, use the command:
$ ./bin/hsw-rpc sendclaim DOMAINNAME
This will broadcast a claim to the network. After some time, the claim will be mined. The
claim must mature for a period of 30 days before DNS records can be writted to the authenticated
database. An additional claim can be sent to reset the 30 day period. This is useful to
prevent names from being stolen, since the community has time to coordinate out of band
during those 30 days. After the maturity period, the name will now be under control of the local
wallet. To update the records, the sendupdate
RPC command is useful.
An example here:
$ ./bin/hsw-rpc sendupdate DOMAINNAME \
'{"records":[{"type":"GLUE4","ns":"ns1.example.com.","address":"127.0.0.1"}]}'
- dns.live
- tynes
Alexa's top 100K only? What about brands & entities which don't fall into this category?