hainakus / gpu-miner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpu-miner

CUDA capable PoW miner for Alephium.

Please make sure that you have installed Nvidia driver for you GPU. You could verify that by running the nvidia-smi command.

Ubuntu miner from source code

  1. Build the miner by running
curl -L https://github.com/alephium/gpu-miner/raw/master/get-miner.sh | bash
  1. Start the miner
gpu-miner/run-miner.sh

You could specify the miner api with -a broker_ip and -p broker_port parameters, GPU indexes with -g 1 2.

Windows miner from source code

  1. Install Visual Studio Build Tools 2019, making sure to select C++ CMake tools for Windows during the installation.

  2. Install CUDA Toolkit (11.5 was tested and working)

  3. Install conan

  4. Build gpu-miner:

    1. Clone gpu-miner to local
    git clone https://github.com/alephium/gpu-miner.git
    1. Open a powershell window, and launch the build script:
    cd your-gpu-miner-dir
    .\build.ps1

    Executable file will be generated in your-gpu-miner-dir/bin/ directory.

  5. Start the miner in a powershell window :

.\run-miner.ps1

If you have any questions, please reach out to us on Discord.

Pre-built miner

You could also download and run the pre-built miner from Github release page. Note that your anti-virus might warn about the pre-built miner.

About

License:GNU Lesser General Public License v3.0


Languages

Language:C 45.3%Language:C++ 32.4%Language:Cuda 14.5%Language:Shell 2.6%Language:PowerShell 2.3%Language:CMake 2.2%Language:Dockerfile 0.5%Language:Makefile 0.2%