Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (2024)

For those of you who have been following Monero, you will know that a significant milestone for the project was the upgrade to the RandomX mining algorithm in 2019.

The intention behind this upgrade was to fight off the constant threat that ASIC mining rigs have been posing to the Monero ecosystem. Moreover, with the upgrade to RandomX it means that you can now mine Monero with your CPU. No expensive mining rigs and equipment required!

So you are perhaps wondering how you would do this?

Well, in this in-depth guide, I will take you through the exact steps required in order to mine Monero with your CPU. I will also give you some top mining tips.

Why The Upgrade?

For those that have been following the Monero story for quite some time, you will no doubt have heard of their battle against ASIC mining chips. ASIC mining can lead to the centralisation of a network which can threaten the privacy of Monero.

Last year, Monero forked the blockchain and made tiny changes to the code. This seemed to work for a while as the ASICs that were developed were rendered moot. However, the issue raised its head again recently as it became clear that ASICs were still hashing Monero.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (1)

The problem lay with the old mining algorithm that Monero used. This was the cryptonite algorithm that was pretty easy to develop an ASIC for. Hence, Monero could continue forking the code or they could look to a completely new solution.

Enter RandomX

RandomX is a mining algorithm that takes the fight against ASICs one step further. It is able to achieve this through the use of random code execution and memory hard techniques.

Moreover, RandomX was optimised for more general-purpose CPU use. Of course, this could have a perverse effect on some of the GPU miners that have been hashing on the old algorithm. Indeed, the mining return for those running GPUs dropped considerably post-update.

However, one miner's loss is another's gain. Given that RandomX was optimised for CPU mining it means that you can use your home machine to start mining some Monero. So, let's take a look at how exactly that is done.

XMR RandomX Mining: Step-by-Step

Now let’s get you set up to begin mining XMR with the CPU in your machine. It’s a quick and easy process.

If you don’t already have a wallet that supports Monero the first thing you’ll need to do is to download a wallet so you have somewhere to receive the XMR you mine. We recently did a review of the Best Monero Wallets that you can use to help you decide which wallet to use.

You could solo mine Monero, but you’ll almost surely need to wait a long time to find a block. The better solution is to use one of the many mining pools. It’s easy to set up and it stabilizes your earnings from mining. We’ve done a Monero Mining Pool guide previously, but there are many other good pools you can choose from too.

Once you’ve decided which mining pool you’re going to use you will need to download the mining software for Monero. The two best choices are XMR-STAK-RX and XMRIG.

Using XMR-STAK-RX

Here are the instructions for using XMR-STAK-RX. Note that all mining software is identified as a virus by Windows. Click for "More Information" and allow the download.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (2)

After downloading the appropriate version of XMR-STAK-RX you will need to extract it, and then you can run xmr-stak-rx.exe. You may get a similar message from Windows about the software being a virus when trying to run the software, again you'll want to add it as an exception and allow it to run.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (3)

It will open a command prompt window and ask if you want to use the simple setup method. Press ‘Y’ and then enter.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (4)

You will be asked which currency you wish to mine. Type ‘monero’ and press enter.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (5)

Next, you’ll be asked for your pool address. We’re using 2Miners as our pool. Once you’ve entered the appropriate mining pool address press enter.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (6)

Next, you’ll be asked for a username, which is your wallet address or pool login. If using a wallet address you should copy/paste and then press enter.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (7)

Next, you’ll be prompted for a password. You can simply type ‘x’ and press enter.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (8)

Next, you’ll be asked if the pool supports TLS/SSL. If you’re unsure you can just type ‘n’ and press enter. If you’re using 2Miners like us you’ll want to type ‘n’.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (9)

Another command window will open and it may ask you to reboot. Don’t reboot just yet. You can just press enter and the command prompt should move to the next step. The original window will also be open, but it can be closed now that you’re done configuring the mining software.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (10)

And in the second window, you should see that you’re now mining. You may see several error messages, but eventually, the software will begin using your CPU to mine and will begin detecting blocks.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (11)

Now you are mining Monero using your CPU. It will give you an update of the amount of blocks that you have found and the XMR that you have mined.

Using XMRIG

If you prefer you could also use the XMRIG mining software for Monero, however, it comes with a default developer fee of 5%. You can change that in the config file, but you cannot go below 1%, so the XMRIG miner is not free.

Here are the instructions for downloading and running XMRIG.

First, download the proper version of the miner from Github.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (12)

Once the files are downloaded they will need to be extracted to a location of your choice. The files will almost certainly be flagged as a virus and you will need to add an exception to save and later to run the miner.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (13)

Once the files have been extracted you can go to the folder and see the files. You will need to open the config.json file with Notepad or another text editor (not Word) so that you can set your parameters.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (14)

Once you open the config.json file scroll down near the bottom to the section called "pools". There you will add "rx/0" for the algo, "monero" for the coin, the pool address for the url, your wallet address for the user field, and "x" for the pass field. You will also want to change the keepalive setting from false to true. Don't forget the parenthesis or the miner won't work properly.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (15)

Save and close the file and then double-click the xmrig.exe file to start the miner. You will get a command prompt that opens and the miner will be running.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (16)

There you have it. You can now leave XMRIG running and it will send the block rewards to the wallet that you have chosen. Of course, this will be reduced by 5% as you will have to give some over to the developers of the software - so pros and cons.

Conclusion

And there you have it, my simple guide about how to mine Monero with a CPU. Of course, if you have been mining XMR with your GPU rigs then you may discover a fall in your ROI which is an unfortunate side effect of this RandomX upgrade.

However, if you want to increase your returns from Mining with your CPUs then you can look to invest in some high-quality ones. These will no doubt be cheaper than the cost of buying GPUs or advanced ASICs.

For example, you can look to buy the Intel i5 7600 or the Intel i7 8700k. Both of these CPUs should get you added bang for your buck. The i5 has been tested to produce about 1.63 kh/s whereas the i7 can output about 2.36 kh/s. Of course, these are just two examples and there are many other CPUs that can work.

Indeed, now may be one of the best times to start mining XMR with your CPU. As more miners start joining the network the difficulty will increase and your ROI would fall. Be sure to do the appropriate calculations on this number before buying a new CPU.

Happy Hashing! 😉

Steve Walters

Steve has been writing for the financial markets for the past 7 years and during that time has developed a growing passion for cryptocurrencies.

Disclaimer: These are the writer’s opinions and should not be considered investment advice. Readers should do their own research.

Mining Monero: Step-by-Step Guide To XMR CPU Setup | RandomX (2024)
Top Articles
30 Toughest Google Interview Questions and Answers
What Banks Should Know about the Cryptocurrency and Digital Assets Market
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Kareem Mueller DO

Last Updated:

Views: 6163

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Kareem Mueller DO

Birthday: 1997-01-04

Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

Phone: +16704982844747

Job: Corporate Administration Planner

Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.