A mining operation

Mining with the Neoscrypt algorithm on Linux

By TheJan | The Tech Behind Crypto | 14 Sep 2022


There are many algorithms for crypto mining out there, and sometimes it's difficult to find out which mining software (or even specific version) supports what. One particular algorithm called Neoscrypt is not particularly widely supported.

Neoscrypt is meant as a successor algorithm to the popular Scrypt algorithm. With Neoscrypt, coins like the following can be mined:

  • IQ Cash (IQ)
  • Guncoin (FUN)
  • CelCoin (CELC)
  • Feathercoin (FTC)
  • Desire (DSR)
  • NYX COIN (NYX)GoByte (GBX)
  • and many more

But which miner supports this? There are various options for Windows, but I'll look into one particular one for Linux (because Linux support for Neoscrypt is notoriously missing): ccminer.

Getting and Building ccminer for Linux

First, you should clone the ccminer version provided by KlausT from GitHub:

 $ git clone https://github.com/KlausT/ccminer

Also you should have an up to date CUDA and CUDA Toolkit installation available on your system. If not yet done, get the toolkit from here:

Once that's set up, you go into the ccminer directory and prepare the build:

 $ cd ccminer
 $ ./autogen.sh
 $ ./configure --with-cuda=<path to your CUDA installation>

Usually the configure script should find your CUDA installation by itself (it checks /usr/local/cuda). In that case you can omit the "--with-cuda=" option. But if you have multiple CUDA installations present on the system, point this option to the installation you want to use.

Important: CUDA 10 will not work with GCC > 8.2.1 in this case.

So be sure your compiler matches the CUDA installation you want to use. If you are unsure about the compute capability of your card build, check this handy guide to find out what GPU architecture you have/need.

Now for actually building ccminer:

 $ make

The Makefile generated by the configure script will automatically use the nvcc compiler provided by the installation you choose. After the build is complete (can take up to 15 minutes depending on the machine you're building on), the ccminer binary will be in the same directory as the Makefile.

Using ccminer to mine Neoscrypt coins

Once you completed building ccminer, you are ready to mine. This miner follows the common command line notation of most mining software:

 $ ./ccminer -a neoscrypt -o <YOUR POOL ADDRESS> -u <YOUR WALLET ADDRESS> -p <OPTIONS>

So let's say you want to mine on 2minigpool, you would use the following command line:

 $ ./ccminer -a neoscrypt -o stratum+tcp://eu.2miningpool.com:8026 -u <YOUR WALLET ADDRESS> -p c=IQ

Hope this helps when you try to mine using this not so wide-spread algorithm on a Linux machine.

Happy mining!

How do you rate this article?

4


TheJan
TheJan

Technology evangelist, enthusiast, tinkerer, coder. I like all things new and fancy, but also like to dig in old, dusty things to uncover lost treasure.


The Tech Behind Crypto
The Tech Behind Crypto

You used crypto tools and portals before, but do you actually know how it all works? Knowing how it functions in the background can give you an edge on your investments, and your overall success! Check back in for in-depth knowledge on how individual parts of the crypto ecosystem actually works on a tech side. I'll try to cover what's most interesting and important for enthusiasts and newbies alike. Some content may also cover how you can use that tech for your own investments, so stay tuned!

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.