What is cryptocurrency mining and you can start doing it
- by Antoniy Yushkevych
- in Server
- View 247
Cryptocurrencies have been around for just over a decade but they are still quite foreign to most internet users. When we think of currencies, we think of fiat money such as dollars, euros, pounds, or pesos but never of digital items. Nowadays, however, we don’t actually need to ever even touch physical money in order to perform payments. All that is needed is a bank account and a valid credit card.
The problem that arises with fiat currency is that the entire supply is controlled by the country’s government where this money is from. Therefore, its value is also completely under the government’s control.
Some people had an issue with this centralized system and wanted to create a currency where no single entity would have full control over it. Thus the idea of cryptocurrencies was born. Although the first anonymous cryptographic electronic money dates back to the early ’90s, the first decentralized cryptocurrency, bitcoin, was created in 2009.
What is cryptocurrency?
Although blockchain, the technology behind cryptocurrencies, is quite complex, the idea is actually pretty easily understandable. A cryptocurrency is a new form of digital money that uses cryptography to secure and verify transactions as well as to control the creation of new units of a particular cryptocurrency.
The most important feature of a cryptocurrency is the lack of control by any central authority. This makes cryptocurrencies theoretically immune to the old way of government control and interference. All of this is possible through the utility of blockchain technology.
Blockchain is, in most simple terms, a chain of blocks where the blocks are data and the chain is a public database. As a new transaction is completed using a cryptocurrency, its details such as time, amount, and sender/receiver are stored in blocks of data and added onto the end of a chain. This transaction is considered anonymous since the only sender and receiver info that is written into blocks are their public keys, which are not officially tied to their name or identity.
The chain part of a blockchain, however, is not a traditional database where it is saved on a server somewhere. A copy of this database is saved and constantly updated on each computer in the blockchain’s network. All the transactions done with a cryptocurrency must be verified by this network of computers (a.k.a. nodes) before it is officially added into a block and sent to the blockchain.
For ease of understanding, we will use bitcoin as the cryptocurrency of choice for this example. To complete any bitcoin transaction, it must be first verified by the network. It is done by completing a complex cryptographic puzzle which “hashes” the block before it is added to a blockchain. This process is called cryptocurrency mining and requires a lot of computing power. One of the interesting things about mining is that the difficulty of the puzzles is constantly increasing, correlating with the number of people trying to solve it. So, the more popular a certain cryptocurrency becomes, the more people try to mine it, the more difficult the process becomes.
Mining is an investment that can be used to make a profit. The more computing power a miner can accumulate, the higher the chance they have of solving the cryptographic puzzles. If a miner manages to solve one of them, they receive a reward as well as the transaction fee.
Back when cryptocurrencies were new and just appearing on the market, this could all be done with only a normal computer or even a powerful laptop. As a cryptocurrency becomes more popular, mining becomes harder and the reward you receive for hashing a block gets smaller. With the popularity of Bitcoin, its mining can only be profitable if you are willing to buy lots of industrial-grade mining hardware.
Types of mining
There are two types of mining rigs you can set up as there are two components in a computer that can be used to execute complex operations. They are the central processing unit (CPU) and the graphics processing unit (GPU). They have both been used, however, CPU mining is almost obsolete as it is way slower than GPU mining.
This is the process of mining cryptocurrency using a computer’s CPU to perform computational algorithms to hash blocks. However, this mining method is nearly dead.
The benefits of using CPU to mine:
- A CPU mining rig is not as expensive as it can be done with a regular PC
- It is easy to mine new altcoins with CPU easily
The disadvantages of CPU mining:
- It is the slowest form of mining and thus nearly obsolete
- Has a very low hash rate
- Not very profitable as it is slow
This process uses graphics cards to complete cryptographic puzzles. It is the most commonly used mining technique for bitcoins and other popular cryptocurrencies.
Why is it better to mine with a GPU?
- A much-improved hashing rate when compared to CPU
- Can mine a vast variety of cryptocurrencies that have differing hashing algorithms
- The most profitable when done properly
The cons of mining with a GPU:
- Very expensive
- Creates a shortage of GPUs on the market for consumers
Considerations when mining
If you wish to build your own powerful mining rig, there are things that need to be taken into consideration. Don’t forget that this is an investment and thus there are chances that you will never even make a profit.
This refers to the total number of hashing calculations that the mining hardware can handle every second while mining. The higher it is, the better chances you have at securing and verifying a transaction, thus making money.
The hash rate is commonly measured in terms of megahashes (MH/s), gigahashes (GH/s), and terahashes (TH/s) per second.
It is easy to get lost in the moment and try to build the most powerful mining rig possible, however, do not forget that efficiency, not power, is key. If you want to get the highest chances if an ROI (return on investment), the cost of the mining rig should be proportional to the expected profits.
Cryptocurrency mining is a process that consumes a lot of power and thus electrical costs are always higher. Therefore you should watch out how much your rig will consume in comparison to the expected ROI.
To find out this figure easier, take the hash rate, and divide it by your hardware’s energy consumption in watts.
Hardware for cryptocurrency mining
Now we will dive a bit deeper into how to build a mining rig. This is in no way a tutorial but should give a slight idea of what is needed to set one up.
Based on this decision, you will have to get the other parts as all of them must be compatible with the motherboard. It will determine the kind of CPU to use, the number of GPUs you can add, and the memory limit. To check if the CPU and your MOBO are compatible, use the Part Picker tool for PCs. A good MOBO for mining rigs should have the capacity for at least 6 GPUs.
Since we are talking about building a GPU mining rig, the CPU choice is not that important. Almost any reasonably modern multicore CPU will do the job well enough along with 4 to 8 GBs of RAM. If you have a few processors laying around, this may be a good time to make us of that old dual-core Celeron or Pentium.
This is the most important part of a mining rig, thus you will need a good one, and actually, way more than one. As of August 2020, the most efficient cards for cryptocurrency mining are Nvidia’s GeForce GTX1070 and AMD’s RX 480 for their low prices and good fastest ROI (if you can find them at their MSRP).
Make sure that the power supply you are getting for your mining rig is up to the task as having multiple graphics cards take up lots of power. A general recommendation is going 1500W and higher for the power supply if you are building a full rig.