Cryptocurrency: Blockchain and mining

Revolut Australia

 · 06/15/2021  · 06/15/2021

This is our second instalment of crypto basics. New here? Start from the beginning and learn about what crypto is.

Now that you know what crypto is used for, you might be wondering ‘how does it work’? Well, it's your lucky day, because we're peeling the curtains back today.

But first, a reminder

While we believe that crypto should be accessible to all, we also know that crypto trading isn’t for everyone. The prices of crypto can be very volatile, which means there are always going to be risks involved when buying or selling crypto. Past performance isn't an indicator of future performance, and cryptocurrencies are unregulated. Your capital is at risk, so please consider your personal circumstances and do plenty of research before getting involved.

Now, let's head backstage.

Block, meet chain

Let’s start simple. Cryptocurrencies are built on the foundation of a technology called blockchain. It does exactly what it says on the tin - blockchain is a list of records of transactions, called blocks, that are ‘chained’ (or linked) together using cryptography.

Each one of those blocks reinforces the information from the block before, by referencing a hash generated from the previous block by using a hash function. If we lost you at hash function, let’s break that down quickly. A hash function is a one-way cryptographic algorithm that turns any message into a coded, fixed-size output.

Referencing the previous block in each new block is important because it means that every transaction record in the blockchain is linked to the one that came before, creating a permanent digital ledger of all its records. If you try to change an old block, its hash would also change, thus invalidating the entire chain.

Bringing new crypto into the world

New blocks can be added by anyone, but they only officially become part of the blockchain when they’re validated. This is where the decentralisation and P2P we discussed in the previous article comes into play.

In other money systems, validation of transactions relies on a centralised third party. For cryptocurrencies, validation relies on a majority of nodes (users) in the P2P network agreeing to the validity of the chain. The process of validation by users in the network  is rewarded with a portion of the protocol’s currency - and this is cryptocurrency mining.

There are two ways that validation on the blockchain can happen; through Proof of Work, or Proof of Stake.

Proof of Work (PoW)

In Proof of Work, special users on the network (miners) compete to solve a mathematical problem that is difficult to compute, related to the block in question. Solving this problem is designed to be computationally expensive. This means it costs electricity to solve each problem, helping add security to the network by disincentivizing bad actors due to the expenses they would incur if they tried to launch an attack. The first miner to get the correct solution and inform the network wins the reward, a portion of the currency. The block is then validated and all the ledgers are updated.

Proof of Stake (PoS)

Proof of Stake removes the competition element, instead choosing a validator from a pool of people who have put up (or staked) some of their crypto into the ecosystem - a little bit like a lottery, with the staked crypto acting as lottery tickets. This means that only one person has the exclusive right to validate that block and earn the block reward. Security is enforced in Proof of Stake networks by charging miners a large penalty (called slashing), which is taken from their stake if foul play is detected by the rest of the network.

Blockchain beyond crypto

Whilst the blockchain is most commonly associated with cryptocurrency, it has myriad of real-world applications, and its potential is huge. Any transaction or ledger which relies on a trusted middleman could potentially benefit from a blockchain implementation, which removes the need for the middleman and the single point of failure.

Also, you may have recently heard about the rise of ‘NFT’s and their emergence in the art world, one of the most prominent examples of the blockchain in a completely new sphere. Where blockchain technology may take us next remains to be seen, but it’s as exciting as the advent of the internet was in the 90s and worth keeping an eye on!

This article doesn't aim to provide financial advice. Please do your own research before committing to a purchase or sale. Nomics will give you updated data on all of our tokens. If you're unsure, please consult an independent financial advisor.