I want to pool mine Aeon with a CPU on macOS. How do install a CryptoNote-Lite miner? Preferably using open-source where I can compile myself (procedure needed).
I know it's been a while since you asked this, but in case anyone else is wondering, you can easily install xmrig on MacOS by following the build instructions on Github.
First you need to install Xcode from the App Store, and then you have to install Homebrew.
Once you have those dependencies, you need to run the commands given on the xmrig OS X Build instructions page (from a Terminal window):
brew install cmake libuv git clone https://github.com/xmrig/xmrig.git cd xmrig mkdir build cd build cmake .. make
Once the compile process finishes successfully, there will be a binary executable in the build directory named
xmrig. You can verify that it is there by running this command in the build directory:
ls -lah | grep xmrig
Run xmrig in OS X the same way you would in Linux. From the build directory, run the following command (I've included my preferred pool... feel free to replace it with whatever you use):
./xmrig -a cryptonight-lite -o "mine.aeon-pool.com:3333" - u YOUR_WALLET_ADDRESS -p x
You can optionally specify a donation level. By default, xmrig donates 5% of your mining time to the developer, but you can set it as low as 1%, depending on your generosity preferences.
Note: If you have a good CPU (hashrates over 300 H/s), you might want to mine on port
5555 instead of
3333, since it will start you at a higher difficulty (better earnings). Check your pool's "Getting Started" page for more details about what port numbers and difficulties are available.
Based on Jaste's comment on Reddit, I tried compiling AEON-STAK-CPU on macOS Sierra (10.12.6). I encountered a few issues, this is how it worked for me:
- Make sure Apple's Xcode and Homebrew are installed.
- Download the source code from shyba's AEON-STAK-CPU GitHub repository. Click the green button Clone or download and then Download ZIP. Unzip it.
Install a few dependencies using Homebrew (I already had the last 2 apparently):
brew install libmicrohttpd
brew install cmake
brew install openssl
cmake . -DMICROHTTPD_ENABLE=OFF -DHWLOC_ENABLE=OFF
This produced the binary
aeon-stak-cpu in the
I would have prefered to not disable those 2 options during the
cmake step. Even though I had installed
libmicrohttpd using Homebrew, I couldn't find a way to get it to work yet. If anyone knows how to specify it, please say so.
Using the miner requires you to configure the
config.txt file first. Besides, the typical pool and your wallet information, which every mining pool's "Getting Started" page normally shows, you'll also have to update the
cpu_threads_conf section in it. Fortunately, it will be shown when you first start it, so just copy and paste it.
In addition to that, I also get the following error:
MEMORY ALLOC FAILED: mmap failed
I resolved it by following the advice in GitHub issue #8 and changing the following part in the
"use_slow_memory" : "always", instead of
"use_slow_memory" : "never",.