Introduce

Dogecoin now is more and more popular. It seems to be endless possibilities in the future.

So in this article/tutorial I will teach you How to mine Dogecoin on macOS for share, discuss and learn. My device is MacBook Pro 2015.

Notice: this tutorial may including program knowledge, but according to the steps, it should be a success. You can comment if you don't understand, I will explain.

Success mining screenshot


Installation(Only ONCE)

In order to make the tutorial for all type of people, it will list all needed to install, you can skip the step you did.

Open Terminal App

Find this app on your launchpad and run it.



Install homebrew

Copy the command below and paste it to the terminal, then press enter to install homebrew.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install git

Copy the command below and paste it to the terminal, then press enter to install git.

brew install git

Install xmrig(IMPORTANT)

Create a workspace first.

mkdir workspace

Then enter the workspace.

cd workspace

Install dependencies.

brew install cmake libuv openssl hwloc

Clone the source code from GitHub.

git clone https://github.com/xmrig/xmrig.git --depth 1

Enter the source code folder.

cd xmrig

Create a folder name build to store compiled code.

mkdir build

Enter the build folder.

cd build

Compile source code.

cmake .. -DWITH_TLS=OFF

Compile mine program.

make -j $(sysctl -n hw.logicalcpu)