The world has gone digital. One of the things that you need to do in order to keep up with the fast-paced changes is to acquire the skill of Mining Ethereum. If you are a beginner and do not have the requisite skills, the following guide will cover all the necessary steps that you need. They are quite simple and are devoid of unnecessary jargon.
In order to effectively use your PC for Mining Ethereum, be prepared to do some script writing and issue command prompts. Here are a few things that you will need before you get started:
i. GPUs (Graphics Cards). Ensure that the one you acquire has not less than 2GB of memory.
GPU drivers are critical to the process of Ethereum Mining. Choosing the latest version of drivers is not the smartest thing to do. Instead, opt for version 15.12 for AMD, and version 347.52 for nVidia. These will give the best results.
ii. Around 30 GB unused space on the hard drive. This will be for the software and blockchain.
iii. A *64 version of Windows OS.
Once you have the above, follow these simple steps.
Stage 1: Preparation
Start by creating a folder on the PC hard drive that will accommodate all the mining software. A good example of this would be C:\Eth. Once this is accomplished, do the following:
i. Download and extract Geth-Win64.
This software acts as the messenger or tool of communication between your PC and the Ethereum Network. It helps to download and synchronize the blockchain; as well as pass information to the mining software. It is therefore crucial for the success of the entire process of Mining Ethereum.
ii. Download and extract Ethminer.
Ethminer is the mining software that receives information from Geth. It interacts with the Graphics Cards. Once downloaded, rename this software to miner’
iii. Download and extract Ethereum Wallet.
As the name suggests, the Ethereum Wallet is a tool designed to enable you keep a tab on your account. It enables you to keep track of your funds transfer and the balances after each transaction. Once downloaded, rename it to Wallet’
While making these downloads, it is likely that you will get notification to the effect that windows firewall has blocked some features of the apps you are are trying to install. Once these notifications come up, cancel them; do not allow execute the access command.
Stage 2: How to Set Up
Start this step by opening up the command prompt. This is the software that allows for the execution of commands to the OS. It can be opened by clicking on the Start Menu and typing ’cmd’’ on the bar. Alternatively, press WIN and R simultaneously, and type ’cmd’’.
After this, type the command cd\eth and press the Enter key. When prompted to confirm this command, you can do so by either pressing the Return key or Enter key. The ’cd’’ command is meant to change the Current Directory. It allows for navigation to the root directory of the folder created in the preparation stage, that is, C:\ drive; and on to the eth folder.
Once the step above is successfully completed, instruct Geth to create a new account. You do this by typing ’Geth account new’’ and pressing the Enter key. You will be prompted to create a suitable password. Be keen while typing because at this point you will not be able to see what you type. Re-enter the password. Your private and public keys; together with your address will be generated by Geth. Remember that your password is a requirement for all future operations in the account, so memorize it well or keep it safe.
The forth step in the second stage will give you control of the Ethereum Wallet. Start by minimizing the command prompt, and open the wallet folder. Run Ethereum-Wallet.exe, and it will immediately commence synchronizing the blockchain. Be patient while this happens. It could take a little time because the blockchain is a massive 27 Gigabytes. Once the download process is complete, retype your password. The balance will be displayed as 0.00. Minimize the wallet.
Stage 3: The Actual Process of Mining Ethereum
Mining solo is possible, but is not recommended for beginners who are still grappling with the ropes. Successful Ethereum Mining is often informed by the pool like dwarpool and Mist. This guide will use dwarpool for illustartions.
Ensure that the blockchain is synchronized during the process of mining. Geth is the appropriate software to help in this. Command it to do so by switching to the command prompt and typing geth—rpc. Remember not to close it, for it will function as long as the console window is open. Once the words ’…imported 0/1 blocks (0 queued, 0 ignored)…’’ appear in the Geth Command prompt, you can now proceed because you are now fully synced.
Proceed by opening another console, and manoeuver to cd\eth\miner, which is the miner directory. Next is to enter the right command, which will link you to the pool so that you can commence mining. Start the Ethminer.exe, so that your string starts with Ethminer. You can enter the command string elsewhere, like on the notepad, and then copy it to the console. Copying of the command string can be done by Ctrl + C and clicking the Right Mouse to access the paste option.
After this, identify the specific GPU that you are using for the mining. AMD is -G while nVidia is- U. Your Command will be Ethminer because you have an AMD GPU. You will further need to add -F to the command because you will be using a mining pool. So the command will look like: Ethminer – G – F.
Once this is done, add the reminder of the string, which is dependent on the pool that you are using. Using the dwarfpool string obtained from http://eth-eu.dwarpool.com, your string will be: Ethminer-G-F http://eth-eu.dwarfpool.com:80/0*368bcdbf8e35ba183be107a2f28b07b903b4d6b7. In the dwarpool,s address, replace YOUR_WALLET with the Ethereum address, which is easily obtainable from your account Wallet.
On to the above string, you need to add a two more arguments. One is –cl-local-work256. The second is –cl-global-work16384. So, your final command string will be:
Ethminer-G-F http://etheu.dwarfpool.com:80/0x368bcdbf8e35ba183be107a2f28b07b903b4d6b7–opencl-platform 1–opencl-device 0 –cl-local-work256 –cl-global-work16384.
Quite long, but very appropriate! Confirm that your entry is correct, and then press Enter for the miner to start up. Patience is important as the startup may take a while.
To avoid the monotony of creating the above command each time you want to start mining, you can opt to create two scripts that will save you on time. Here’s the procedure:
a. Creating geth.bat
Open the eth folder. On the View tab create a text file on the File Name Extensions, and name it ’geth.bat’’. Edit this file by typing: start cmd/k ’geth–rpc’’. This sis the file you will turn to any time you want to launch Geth fast. You can even create a short-cut of this file in the place you would like to most conveniently access it.
b. Creating miner.bat
Create another file and rename it ’miner.bat’’. In it, type the following: start cmd/k ’cd miner & Ethminer-G-F http://eth-eu.dwarpoll.com:80/YOUR_WALLET’’
The two files can be edited to suit any arguments that you may want to add. They are meant to facilitate your experience of Mining Ethereum.
The above 3 stages prove that Mining Ethereum on your PC is quite easy, even for the beginner. It has everything you need to know, and you can actually go ahead and try it.
Image Source: Shutterstock