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.
- Build the miner by running
curl -L https://github.com/alephium/gpu-miner/raw/master/get-miner.sh | bash
- Start the miner
gpu-miner/run-miner.sh
You could specify the miner api with -a broker
parameters, GPU indexes with -g 1 2
.
-
Install Visual Studio Build Tools 2019, making sure to select C++ CMake tools for Windows during the installation.
-
Install CUDA Toolkit (11.5 was tested and working)
-
Install conan
-
Build gpu-miner:
- Clone gpu-miner to local
git clone https://github.com/alephium/gpu-miner.git
- 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. -
Start the miner in a powershell window :
.\run-miner.ps1
If you have any questions, please reach out to us on Discord.
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.