DO YOU ACTUALLY KNOW WHAT BLOCKCHAIN IS?

in #blockchain6 years ago

What is blockchain???

image (22).png

You’ve no doubt heard the term, but perhaps it’s still a fuzzy concept in your head. Well, don’t feel bad. The term itself has been overloaded many times by the sheer amount of activity, projects, applications, currencies, hype and speculation in the market-at-large. It’s hard to draw a clear line around what blockchain is and isn’t, and it often causes a lot of confusion.

Below we’ll break the technology down into its constituent parts, and try to provide some context for how they come together to drive the powerful trends we are seeing in the wild.

Humble Beginnings
image (18).png

Blockchain, as we know it today, is tied to the introduction of Bitcoin in 2009, which was based off a late 2008 paper released by Satoshi Nakamoto. While many argue that Bitcoin isn’t a great blockchain for a number of reasons (such as scalability and extensibility), it started a chain reaction within the technology industry that has yet to slow down.

Bitcoin is effectively a digital cash system, and while there were previous attempts at digital cash systems, there were none that solved the problem the way Bitcoin did. What Bitcoin did differently was introduce a distributed digital cash system that incentivized participation and elimited the double spend issue. For the first time there was a way to run a digital cash system without a centralized authority, incentivize contributors to behave properly and run the systems required to process transactions, and provide a security layer that ensured a digital asset (cash) could only be spent once (as opposed to being able to simply copy and paste digital cash).

In the wake of Bitcoin we’ve seen dozens of blockchain platforms appear, such as Ethereum, aiming to solve some of Bitcoin’s problems, and now more than 1,000 different cryptocurrencies that aim at disrupting traditional financial systems.

Distributed Ledger Technology

image (19).png

While ‘blockchain’ is a catch-all term that easily rolls off the tongue, perhaps a more accurate way to describe the technology is Distributed Ledger Technology, or DLT for short. A distributed ledger includes a number of characteristics and mechanisms that come together to make the system work.

Here’s a handy acronym that helps capture DLT’s core characteristics: DISC. This acronym isn’t exhaustive of every feature, but if you can remember this it will get you through most conversations.

  • DISC stands for:
    D = Decentralized
    I = Immutable
    S = Smart Contracts
    C = Consensus

Let’s take a look at these characteristics.

Decentralized Ledger

Underpinning distributed ledger technology is a database, or ledger, that maintains entries for the transactions that occur in the system. You can liken this to the ledger that accountants keep for monetary transactions within a business, except in this case the ledger is distributed across every single participant who is helping to run the network. This ensures that everyone is looking at the same data, and removes any central point of failure in the system.

In practice a distributed ledger is made up of software that runs on systems, usually computers but sometimes IoT devices or even video cards, that maintains a local copy of a database and coordinates with other peers in the network, in essence creating a peer-to-peer accounting system. You may be familiar with older peer-to-peer systems that first made their appearance in the music industry, such as Napster. Distributed ledgers borrow this concept to assemble their decentralized peer-to-peer base.

The goal of decentralized peer-to-peer operation is to ensure there is no single entity or central authority that owns or runs the system. It’s truly a system by the people, for the people.

Immutable Data
image (20).png

Transactions that are stored in the ledger should be protected from modification to ensure that bad or malicious actors cannot alter the transactions to give themself more money, or steal other people’s money.

Immutability simply means transactions cannot be changed, and the way this happens is through a technology call cryptography. This is also where cryptocurrency really gets its name, as it wouldn’t be possible without pre-existing cryptographic principles.

At the root of this immutability is a process called hashing, which is a mechanism to produce a very unique identifier for any piece of data. What makes hashing special is that whenever you put the same data in, you get the same unique identifier out. This allows you to prove that data has not been tampered with. Additionally, if you use a hash as an input to another hash you can effectively chain a set of data together and prove its history or lineage. This is where the ‘chain’ part of blockchain comes from.

An example hash of the word ‘cat’, computed with the SHA256 algorithm:
77AF778B51ABD4A3C51C5DDD97204A9C3AE614EBCCB75A606C3B6865AED6744E

While cryptography and hashes may feel a bit foreign, don’t be too concerned. It’s just a bit of math that you ultimately don’t need to know how to use, just that it works and helps blockchain systems prove the integrity of data.

Smart Contracts

While this may sound complicated, the concept underlying smart contracts is easy to understand. Simply put, it’s a small bit of code that is distributed to all participants who are running a distributed ledger and helps to validate transactions. Rather than a basic validation a smart contract uses custom code to check additional factors before validating the transaction. For example, that the maturity date of a loan has been reached, or the supply of a part in stock is low. In other words it allows developers to customize the logic around transactions.

Technically anything could be programmed into a smart contract, though they are typically compact and very focused as they need to run extremely quickly and have absolutely no bugs or crashes. Some of the security concerns with distributed ledgers have to do with Smart Contracts and new service offerings are popping up to help companies audit their smart contracts to ensure there are no potential issues.

At the most esoteric end of the spectrum you can view smart contracts as a way to programmatically deliver real legal contracts, or in other words, codify law.

Consensus

Without consensus, and incentivized consensus at that, we wouldn’t have distributed ledgers as we know them today.

Consensus is required to ensure all participants in a distributed ledger can come to a conclusion regarding what transactions to add to the ledger. The reason that consensys needs to be incentivized is to promote good behavior and thus commit the correct transactions to the ledger. Without incentives bad actors could easily try to manipulate the records in favor of themselves.

When participants in a distributed ledger contribute the correct transactions they are rewarded with a small amount of the cryptocurrency which underpins the network. This process is often called mining, and is usually associated with the proof-of-work style of consensus algorithm. There are in fact many consensus mechanisms, though two of the most popular are proof-of-work and proof-of-stake. Bitcoin leverages a proof-of-work consensus algorithm, though many dislike this mechanism due to the amount of energy required.

Incentivized consensus is the glue which holds the whole system together, and what has driven the explosion of blockchain ideas since the inception of Bitcoin.

Layers of Blockchain
image (21).png

If blockchain, or distributed ledgers, are the base, what is actually being built on top of them?

Cryptocurrencies

The first ‘killer app’ of distributed ledger technology has clearly been cryptocurrency. CoinMarketCap is now tracking nearly 2000 different currencies and the aggregate market cap is hovering around $200 Billion (though it spiked to over $800 Billion in early 2018).

The flavor of cryptocurrencies is quite varied, from the likes of Bitcoin (BTC) that is now mostly viewed as a digital value store due to its inability to scale as a cash system, to currencies that were initially introduced as a joke, such as Dogecoin (DOGE). In the middle are a number of currencies like Ripple (XRP), Bitcoin Cash (BCH), Litecoin (LTC) and Tether (USDT) that aim at being legitimate digital cash systems that can scale to the levels required for real-time worldwide usage.

Cryptocurrencies aren’t necessarily limited to being cash wannabe’s, they are also popping up in all manor of ecosystems that have some inherent economy (such as gaming).

Platforms

Moving beyond currency as the initial use case for blockchain we’ve seen new distributed ledger platforms appear, such as Ethereum, EOS and Stellar. These platforms aim at providing the basic distributed ledger plumbing for developers to rapidly build applications on, instead of focusing on building their own blockchain.

In many cases the platforms are addressing specific technical issues with the initial blockchain architecture proposed with Bitcoin, such as the following:
• Transaction speed or scalability (Bitcoin can process less than 10 transactions/second, and it takes minutes for transactions to clear)
• Energy consumption (Bitcoin uses proof-of-work which burns a lot of electricity)
• Lack of extensibility (Bitcoin has very limited smart contract capability)
• Authentication / Anonymity (Bitcoin is largely permissionless and anonymous)

As developers, and to a large extent traditional organizations, move down the path of exploring, building and adopting distributed ledger technology they are demanding enterprise or world-class scale and capabilities. The result is blockchain needs to evolve to support the required speeds and scale, be flexible enough to rapidly adapt to the variety of use cases being explored, provide multiple authentication models to support environments where anonymity is undesirable or access control is mandated, and ultimately be deployable with operational costs that make the end solutions viable within the market.

Applications
image (17).png

The next layer on top of platforms are distributed applications, also known as dApps. The difference between a traditional app, such as Angry Birds on your iPhone, and a distributed app is that a dApp is designed to run on a distributed ledger with no central authority or back-end technology. While this may seem subtle on the surface, the implications are fairly significant.

We are used to monopolistic centralized services (such as Facebook or Google) running our applications and greedily storing all of our data, usually for the purposes of reselling it or leveraging AI to optimize ads being delivered to users (again to drive revenue). The introduction of dApps flips this model on its head, and instead there is no central party who owns your data, thus you cannot be taken advantage of. At least that’s the theory that developers are trying to put into practice.

There is a lot of hype around dApps completely taking over traditional applications, however the hype (at this point) is just that…hype. The reality is the technology is extremely early and has had nowhere near the time needed to mature, and the vast majority of decentralized apps are unable to compete with their centralized counterparts in the marketplace. While there are a slew of blockchain junkies and technophiles that are early adopters, there will need to be some very compelling reasons for your everyday user to move off of centralized apps. This will be a very slow process.

Initial Coin Offerings

This article wouldn’t be complete without at least touching on ICO’s, or Initial Coin Offerings, which also largely falls in the hype category. If you haven’t previously heard the term, an ICO is somewhat like an IPO, or Initial Public Offering, where a companies sells their shares to the public to raise operating capital. In the case of an ICO a company is creating a security or token that is underpinned by a new cryptocurrency, and selling some amount of that new cryptocurrency to the market.

There’s lot of problems with this model, including blurred and ambiguous legal issues, particularly around securities laws. Unfortunately the model that quickly became adopted was to assemble and publish a technical whitepaper that discussed what developers wanted to build, and based on the merits of that whitepaper retail investors would invest in the ICO to fund the development. This model is unfortunate because for upwards of 90% of ICO’s the end solution was not released, or couldn’t gain product / market fit. It’s akin to raising millions of dollars on simply an idea with doing any work to prove the viability of the idea. Sometimes this does happen in the real world, but the majority of traditional funding requires a bit more due diligence before the money starts flowing.

On the up side, ICO’s do present a new flavor of crowd-funding that completely circumvents the traditional angel investor and venture capital investment cycle. There’s pros an cons to this, but crowd-funding has proven to be a viable method to bring new ideas to the market directly based off consumer demand, so there’s a good chance ICO’s will find a stable and scalable model for fund raising.

Driving Disruption

One thing can be said for sure; blockchain and distributed ledger technology are driving a wave of disruption across nearly every vertical, including very large and sleepy ones such as banking, insurance and law. While largely unproven, use cases beyond cryptocurrency are being explored at a ferocious pace in broad areas including supply chain, codifying law, data integrity, secure transactions and identity.

If we put aside underlying technical details for a second, the big innovation is a new fabric or layer that provides decentralized incentive systems, which is a fancy way of saying that there’s a reason for altruistic citizens to help run the infrastructure required to make decentralized systems work. Traditionally we’ve had to go with centralized options because it’s too costly to build everything you need yourself, however blockchain and decentralized ledger technology provide an alternative platform for the creation of 21st century applications and capabilities.

In the ever more monopolistic environment of the Internet, where trillion dollar giants are successfully centralizing all of our data and services, a decentralized alternative poses both a large risk to incumbents and a refreshing (if immature) solution for our future citizens to retake control.

Sort:  

To the question in your title, my Magic 8-Ball says:

My sources say no

Hi! I'm a bot, and this answer was posted automatically. Check this post out for more information.

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://fortunejack.com/blog/article/do-you-actually-know-what-blockchain-is