Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 2 KB

README.md

File metadata and controls

64 lines (44 loc) · 2 KB

ZCash-gpu-miner

An OpenCL node.js Zcash miner solving Equihash PoW.

Project Status

Status: In active development

Check the project's roadmap to see what's happening at the moment and what's planned next.

Project Status Build Status

Building

First make sure OpenCL is correctly installed in your system. If you are having issues, take a look at our Ubuntu Guide or Fedora Guide.

Unix

Install the dependencies. On Debian/Ubuntu-based systems:

$ sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python \
      zlib1g-dev wget bsdmainutils automake opencl-headers \
      mesa-common-dev

On Fedora-based systems:

$ sudo dnf install \
      git pkgconfig automake autoconf ncurses-devel python wget \
      gtest-devel gcc gcc-c++ libtool patch opencl-headers mesa-libGL-devel

Fetch our repository with git and run fetch-params.sh like so:

$ git clone https://github.com/nginnever/zogminer.git
$ cd zogminer/
$ ./zcutil/fetch-params.sh

Ensure you have successfully installed all system dependencies as described above. Then run the build, e.g.:

$ ./zcutil/build.sh -j$(nproc)

This should compile our dependencies and build zcash-miner. (Note: if you don't have nproc, then substitute the number of your processors.)

Running

Run GPU miner:

$ ./src/zcash-miner -G

Usage:

$ ./src/zcash-miner -help