XMRig has separate miners for CPU and GPU so you will have to run separate instances for each if you want to run both.
​Nvidia miner​
​AMD Miner​
​CPU Miner​
sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-devgit clone https://github.com/xmrig/xmrig.gitcd xmrigmkdir buildcd buildcmake ..make
Optional You can use gcc 7 for a small performance increase.
sudo add-apt-repository ppa:jonathonf/gcc-7.1sudo apt-get updatesudo apt-get install gcc-7 g++-7
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
sudo apt-get install git build-essential cmake libuv1-dev nvidia-cuda-dev nvidia-cuda-toolkit libmicrohttpd-devgit clone https://github.com/xmrig/xmrig-nvidia.gitcd xmrig-nvidiamkdir buildcd buildcmake .. -DCUDA_ARCH="20;30;50"make
sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-devgit clone https://github.com/xmrig/xmrig-amd.gitmkdir xmrig-amd/buildcd xmrig-amd/buildcmake ..make
With Xcode and Homebrew installed, run the following commands in a terminal:
brew install cmake libuv libmicrohttpd opensslgit clone https://github.com/xmrig/xmrig.gitcd xmrigmkdir buildcd buildcmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/opensslmake
Unzip and extract the files into a new folder
Open the config.json
file with your favorite text editor
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.
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.