Skip to content

neurogen-dev/gpu-miner

 
 

Repository files navigation

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 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 51.6%
  • Cuda 31.1%
  • C++ 8.2%
  • Shell 3.0%
  • PowerShell 2.7%
  • CMake 2.6%
  • Other 0.8%