Giter Site home page Giter Site logo

nexusminer's Introduction

NexusMiner

Mining software for Nexus supporting GPU, FPGA, prime, hash, pool and solo mining.

Windows Quickstart

Have an Nvidia GPU and a windows machine? Start mining in 3 steps.

  1. Download NexusMiner.exe and miner.conf from the latest release.
  2. Edit miner.conf and add your Nexus wallet address
  3. Run NexusMiner.exe

FPGA Mining

FPGAs are the most efficient hardware for mining the Nexus Hash channel. Blackminer users see these instructions. Other users see the list of supported FPGA boards.

GPU Mining

GPUs are the most efficient hardware for mining the Nexus Prime channel. Supported GPUs are Nvidia GTX/RTX 10x0, 20x0, and 30x0 series, and Radeon RX6000 series. Nvidia RTX 20x0 and 30x0 GPUs have the best performance. Hash channel mining with Nvidia GPUs is also supported.

Pools

Prime Pool

To use the prime pool, set the following address and port in miner.conf:

    "wallet_ip" : "primepool.nexus.io",
    "port" : 50000,

miner.conf Configuration File

Some important config options in miner.conf

  "wallet_ip"             // the ip the NXS wallet (solo mining) or ip address/dns name of Pool  
  "wallet_port"           // port of the NXS wallet (solo mining) or port of the Pool  
  "mining_mode"           // mine the HASH or PRIME channel  
  "pool"                  // Pool option group, if present then pool mining is active  
      "username"          // NXS address  
      "display_name"      // display_name for the pool website  

Command line option arguments

    <miner_config_file> Default=miner.conf
    -c --check          run config file check before miner startup
    -v --version        Show NexusMiner version

./NexusMiner ../../myownminer.conf -c

Solo Mining Wallet Setup

For solo mining use the latest wallet daemon release 5.0.5 or greater and ensure the wallet has been unlocked for mining.

    -llpallowip=<ip-port>   ex: -llpallowip=192.168.0.1:9325 
                            note: this is not needed if you mine to localhost (127.0.0.1). This is primarily used for a local-area-network setup

    -mining                 Ensure mining LLP servers are initialized.

Building NexusMiner (Cmake)

Optional cmake build options are

  • WITH_GPU_CUDA to enable Nvidia gpu mining. CUDA Toolkit required
  • WITH_GPU_AMD to enable AMD (Radeon) gpu mining (see below).
  • WITH_PRIME to enable PRIME channel mining. GMP and boost required Example commands to build NexusMiner for Nvidia GPUs:
git clone https://github.com/Nexusoft/NexusMiner.git
cd NexusMiner
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GPU_CUDA=On -DWITH_PRIME=On ..
make -j4

Before running NexusMiner copy miner.conf to the build folder and edit it with your settings.

AMD GPU Build

Prime mining with Radeon RX6000 series GPUs is supported on Linux systems. The Rocm toolkit is required. Rocm uses a special version of clang who's path must be passed to cmake. Example cmake command for Radeon support:
cmake -DCMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++ -DCMAKE_BUILD_TYPE=Release -DWITH_GPU_AMD=On -DWITH_PRIME=On ..

Windows Build Dependencies

  • OpenSSL:
  • MPIR (required for WITH_PRIME):
    • Download and build. Copy gmp*.lib and mpir.lib to NexusMiner/libs
  • boost (required for WITH_PRIME):
    • Download and extract to C:\boost

Ubuntu/Debian Dependencies

  • OpenSSL:
    • sudo apt-get install libssl-dev
  • gmp (required for WITH_PRIME):
    • sudo apt-get install libgmp-dev
  • boost (required for WITH_PRIME):
    • sudo apt-get install libboost-all-dev

Support

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.