MINE NXS

Two Proof of Work (PoW) channels (Prime and Hashing) and one Proof of Stake (PoS) channel are used to secure the network. Consensus is balanced between all three channels, making the network more resistant to 51% attacks. The prime algorithm is optimized for use by your computer’s central processing unit (CPU), while the hashing algorithm runs optimally on the graphics processing unit (GPU).

Prime Channel

Almost every machine with CPU can mine Nexus blocks on this channel. The most effective method of mining is to join a mining pool and receive a share of the rewards based on the contribution you make. To create your own mining facility, you need the CPU mining software and a NXS address. This address cannot be on an exchange. You create an address when you install your Nexus wallet.

Hashing Channel

A GPU contains dedicated processing hardware housed on-board your graphics card. A GPU can perform certain tasks much more efficiently than a CPU, including the ability to mine Nexus on the hashing channel. Nexus supports both AMD and Nvidia GPU mining and works best on newer models. Officially, Nexus does not support GPU pool mining, but there are 3rd party miners with this capability.

Mine NXS on the Hashing Channel

Download Hashing Channel Miner

GPU Solo Miners (AMD):

GPU Solo Miners (Nvidia):

GPU Pool Miners:

  • Links to pool miners should be available on the pool website. Different pools may use different miners.
Configure Wallet for Solo Mining

If you plan to solo mine Nexus, you will mine directly to your Nexus wallet. Before you can do so, you must add a small configuration change to the wallet itself.

First, close your Nexus wallet.

Navigate to %appdata%Nexus (~/Library/Application Support/Nexus on macOS) and open the nexus.conf file. Depending on your wallet, you may or may not have this file. If not, please create a new text file and save it as nexus.conf

You will need to add the following lines to the nexus.conf file before restarting your wallet:

  • llpallowip=127.0.0.1:9325
  • mining=1
Configure Hashing Channel Miner

This guide covers the basic steps to set up a Hash Channel miner. Each miner is different, though, so refer to that miner’s documentation (readme file, GitHub page, or similar) for detail.

Step 1 – Extract the archive file to a folder.

Step 2 – Open the the mining configuration file (miner.conf). For some miners, such as skminer, this is found in /resources/config. Edit the connection settings.

For solo mining:

  • "url": 127.0.0.1:9325 (mines to your Nexus wallet, which must be running)
  • "user": "x"
  • "password": "x"

For pool mining:

  • "url": pool hostname or IP address and port, provided by pool
  • "user": NXS address you are mining to (typically in your Nexus wallet, pool may or may not allow exchange address)
  • "password": only if pool requires, otherwise use "x"

Other settings can be adjusted or tuned per the miner documentation. Tuning a miner for GPU mining is as much an art as a science, and settings will vary based on your hardware setup. They can even vary from one graphics card to another, even if they are exactly the same brand and model.

Step 3 – Run the miner. Most miners include a .bat or similar file for this purpose.

Hashing Channel Pools

Nexus does not officially support pool mining on the Hashing channel. Hashing pools are developed and operated by third parties. Any questions or issues with a pool should be directed to the pool operators.

NXS Hashing Pools:

Mine Nexus on the Prime Channel

Download Prime Channel Miner
To mine Nexus on the Prime channel, it is highly recommended that you use a mining pool to improve results.

Prime Solo Miners:

Prime Pool Miners:

Configure Wallet for Solo Mining
For Prime channel mining, it is recommended that you use a mining pool. If, however, you prefer to solo mine Nexus, you will mine directly to your Nexus wallet. Before you can do so, you must add a small configuration change to the wallet itself.

First, close your Nexus wallet.

Navigate to %appdata%Nexus (~/Library/Application Support/Nexus on macOS) and open the nexus.conf file. Depending on your wallet, you may or may not have this file. If not, please create a new text file and save it as nexus.conf

You will need to add the following lines to the nexus.conf file before restarting your wallet:

  • llpallowip=127.0.0.1:9325
  • mining=1
Configure Prime Channel Miner
This guide covers the basic steps to get the Prime miner up and running.

Step 1 – Extract the archive file to a folder.

Step 2 – Open the miner.conf file. Edit the following items:

  • "host": pool hostname or IP address, for solo this should be an address in your NXS wallet
  • "port": use “9549” for pool, “9325” for solo
  • "nxs_address": NXS address for pool payout, empty ("") for solo mode

It is also recommended to add this item to the .conf file, if not already present:

  • "experimental" : "true"

This option enables the miner to use an improved sieve algorithm which will enable your miner to find primes at a faster rate.

Step 3 – Run the nexus_cpuminer. On Windows builds, you should run the start.bat file, which will automatically restart the miner if it shuts down for some reason.

Step 4 – Tune the miner.

There are two additional items in the miner.conf that you can adjust to tune your miner:

  • "sieve_threads": number of CPU threads to use for sieving
  • "ptest_threads": number of CPU threads to use for primality testing

If you have a more powerful CPU with more cores, it can run faster (higher WPS – the Prime mining equivalent to hash rate) with higher settings for these values. As a rule of thumb, the number of threads used for the sieve should be around 75% of the threads used for testing. It will likely require trying different settings for these to determine what gives the best results.

You can leave most of the remaining items in the miner.conf file set to their default values.