The Alias System feature of Nxt essentially allows one piece of text to be substituted for another, so that keywords or keyphrases can be used to represent other things – names, telephone numbers, physical addresses, web sites, account numbers, email addresses, product SKU codes... almost anything you can think of.
For example, you could ask Nxt to associate "search" with "www.google.com". Once this is done, all you have to do to get to Google is type "nxt:search" into a Nxt-capable browser, and it will translate your request in one for "www.google.com".
Immediate applications are simple: you can create an easy-to-remember alias for your Nxt account number, for example. But since the Alias System is open-ended, it can be used to implement a decentralized DNS system, shopping cart applications, and more.
Creating aliases is
- A user sends a transaction that states "ThisText = ThatText"
- If the alias is to be changed, just send another transaction with a new definition. Only the account that created an alias can change it.
The alias can be any string of latin-character numbers and letters. The address can be anything like:
- "220.127.116.11" (an IPv4 address)
- "2001:0db8:11a3:09d7:1f34:8a2e:07a0:765d" (an IPv6 address)
- "mydomain.com/secretpage.php?parameter=value" (a URI)
- "[email protected]"
- ...or even "bitcoin:1BTCorgHwCg6u2YSAWKgS17qUad6kHmtQW".
There are 2 main ways to use Nxt aliases without having to rely on third-party plugins for your browser:
- Server-side. A web server analyses the Nxt blockchain and replaces "nxt-links" with corresponding addresses before sending HTML documents to users.
Currently, Nxt does not allow the transfer of ownership of an alias to another account.
Aliases can be transferred for a 1 NXT fee.
See our Alias System How-To page
The Alias System was implemented with block 22000. Software version 0.4.0 or later is required to use Alias features.
- Nxter Magazine: The Nxt Alias System