If you mine your cryptocurrencies on your Mac using xmrig, here’s how you can automate it in such a way that it will run quietly in the background on boot-up. I use this set up to passively mine Dogecoin ($DOGE).

Note: this makes the assumption that your xmrig and config.json are all properly set up. If you need help with this, check out this amazingly helpful video tutorial on getting set up

For this we’re going to be leveraging launch agents. A launch agent is much like a launch daemon in that it runs programs as background processes — but…

Chris Engelsma

Geophysicist, Software Engineer, Web Developer, Data Scientist

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store