XMRIG

Downloading and Installing on Windows

XMRig has separate miners for CPU and GPU so you will have to run separate instances for each if you want to run both.

GPU Miners:

CPU Miner:

Downloading and Building on Linux (Ubuntu 16.04)

For CPU

1
sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev
2
git clone https://github.com/xmrig/xmrig.git
3
cd xmrig
4
mkdir build
5
cd build
6
cmake ..
7
make
Copied!
Optional You can use gcc 7 for a small performance increase.
1
sudo add-apt-repository ppa:jonathonf/gcc-7.1
2
sudo apt-get update
3
sudo apt-get install gcc-7 g++-7
Copied!
If the command add-apt-repository is not found, install software-properties-common first.
When running the cmake manually, specify C and C++ compiler:
cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7

For Nvidia GPU

1
sudo apt-get install git build-essential cmake libuv1-dev nvidia-cuda-dev nvidia-cuda-toolkit libmicrohttpd-dev
2
git clone https://github.com/xmrig/xmrig-nvidia.git
3
cd xmrig-nvidia
4
mkdir build
5
cd build
6
cmake .. -DCUDA_ARCH="20;30;50"
7
make
Copied!

For AMD GPU

1
sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev
2
git clone https://github.com/xmrig/xmrig-amd.git
3
mkdir xmrig-amd/build
4
cd xmrig-amd/build
5
cmake ..
6
make
Copied!

Downloading and Building on Mac

With Xcode and Homebrew installed, run the following commands in a terminal:
1
brew install cmake libuv libmicrohttpd openssl
2
git clone https://github.com/xmrig/xmrig.git
3
cd xmrig
4
mkdir build
5
cd build
6
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
7
make
Copied!

Setup and Configuration

For CPU and GPU

    1.
    Unzip and extract the files into a new folder
    2.
    Open the config.json file with your favorite text editor
    3.
    Find and change the following lines:
    "algo: "cryptonight"
    "url: "[pool address]"
    "user: "[wallet address]"
    "variant": 0
You can generate a paper wallet here if you don't already have a Qwertycoin wallet yet.
You can find a list of Qwertycoin pools here.
    1.
    Save the file and start xmrig.exe.
Remember: if you want to mine with both your CPU and your GPU you must have both programs open at the same time!
You can also use this website to generate your conf.json file.
Last modified 1yr ago