Creating a hallmark for a node

From Nxtwiki
(Redirected from Wiki/How-To:CreateHallmark)
Jump to: navigation, search

Creating a hallmark for a node

A hallmark is a "stamp of approval" for a Nxt node.  By creating a digital signature based on your IP address and secret passphrase (private key), you are verifying that your account "owns" a node and is accountable for it.  This helps protect the network from attack, and increases the network's trust in your node. You do not need to generate a hallmark if you are a casual Nxt user.  It is a very good idea for those who operate public Nxt nodes on dedicated, public servers. Hallmarks have no impact on forging.

To create a hallmark:

  1. Navigate to http://localhost:7876/index.html (or ) and log in with your account.
  2. Under the settings menu in the top right of the client, choose "Generate Hallmark" and enter the following details:
    • Public IP: The IP Address of your Nxt node, or, if you are advertising a DNS name in your properties file for the setting of: nxt.myAddress= then use this DNS name here as well instead of the IP address. If using non-default port, the hallmark must also include that port, otherwise the hallmark is ignored.
    • Weight: A weighting value for your node.
      • If you only operate one node, the value doesn't matter... but if you operate multiple nodes, you can use this value to set a relative "weight" for each node.  The network will "sum" all of the weights for your hallmarked node, and use the ratios of those weights to determine how much traffic each one can bear.  For example, if you have four nodes and want them all weighted equally, set equal values.  But if one node has much more memory and bandwidth allocated to it, you may weight it more highly relative to the other three.
    • Date: Today's date
    • Secret phrase: Your account number's secret passphrase.
  3. Click "Submit".

Your Nxt server will generate a hallmark value for you, in the form of a long string of text.  The response from the server will look something like this:


The value in quotes after "hallmark": is your hallmark.

Next, you must edit the settings file for your Nxt node:

  1. If it is running, stop the client.
  2. In the folder nxt/conf/, create a copy of called
  3. Locate the following lines in and edit them:
    • # My externally visible IP address or host name, to be announced to peers.
      # It can optionally include a port number, which will also be announced to peers,
      # and may be different from nxt.peerServerPort (useful if you do port forwarding behind a router).
      and add your public IP address immediately after the equals sign. If you do not know your IP address, browse to from the server/computer where your node is running. For example:
    • # My hallmark, if available.
      and add your hallmark value immediately after the equals sign. For example:
  4. Save and close the file.
  5. Restart your Nxt server to activate the hallmark.

For additional information, see FAQ