Contents

1 Description

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.

2 Details

The alias can be any string of latin-character numbers and letters. The address can be anything like:

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.

Client-side. A web browser runs javascript code that connects to Nxt bootstrapping nodes and replaces "nxt-links" with their addresses. This requires to embedding a small script which is executed in an "onload" event. The script will do all the work via CORS, JSON, or other techniques.

Currently, Nxt does not allow the transfer of ownership of an alias to another account.