Blockchain Intro

Blockchain, the technology behind Bitcoin, seems to be the driving technology behind the next generation Internet, also referred to the Decentralized Web, or the Web3. Blockchain is a novel solution to the age-old human problem of trust. It provides an architecture for so called trustless trust. It allows us to trust the outputs of the system without trusting any actor within it.

The Blockchain protocol operates on top of the Internet, on a P2P Network of computers that all run the protocol and hold an identical copy of the ledger of transactions, enabling P2P value transactions without a middleman though machine consensus. The Blockchain itself a file, that ledger of transactions, that records all transactions from the genesis block until today.

What is a blockchain?

It is a shared, trusted, public ledger of transactions, that everyone can inspect, but that no single user controls. The ledger is built using a linked list, or chain of blocks, where each block contains a certain number of transactions that were validated by the network in a given timespan.

Why is it called a blockchain?

This ledger runs on a P2P network of computers. Distributed consensus based on game theory incentive mechanisms combined with cryptography allows for secure P2P validation of transactions, thus bypassing the need for traditional trusted third parties. It first came to fame in October 2008 as part of a proposal for Bitcoin, with the aim to create P2P money without banks.

blockchain spreadsheet


Removing the Middle Man with Machine Consensus

Instead of a single trusted third party validating transactions through their servers with authority (single vote), a peer to peer network of computers running the blockchain protocol validate transactions by consensus (majority vote). The blockchain protocol therefore formalizes pre-defined consensus rules of validating transactions on the P2P network, as hard coded governance rules, managing and auto enforcing transactions of all participants in the network.

Blockchain is tamper proof

In the case of Bitcoin, instead of a bank validating financial transactions – like sending money from A to B – checking the digital ledger of who owns what stored on their server, a P2P network of computers running the bitcoin protocol validate transactions by majority consensus. The consensus rules of the Bitcoin network govern how the participants in the network interact with each other, defining:

  • Under which conditions a transaction – sending money from A to B – is valid.
  • Transaction costs related to sending money from A to B.
  • Game theoretic incentive mechanism for validating transactions with a cryptographic token.
  • Rules of how to change current consensus rules.

blockchain technologies


Smart Contracts

Blockchain, the technology behind Bitcoin, was initially designed for P2P money only. But it soon showed the potential to be used for any kind of P2P value transaction on top of the Internet. The Ethereum Project thus introduced the idea of decoupling the smart contract layer from the blockchain layer, where the ledger itself is used by smart contracts that trigger transactions automatically when certain pre-defined conditions are met. By decoupling the smart contract layer from the blockchain layer, blockchains like Ethereum aim to provide a more flexible development environment than the Bitcoin blockchain.

the blockchain stack Blockchain Technology Stack Of Ethereum and similar Blockchains (Inspired by Florian Glatz)

These smart contracts can be seen as a piece of code running on top of the Blockchain, where digital assets are controlled by that piece of code implementing arbitrary rules. They have properties of contractual agreements, but should not be confused with legal contracts. If and when all parties to the smart contract fulfill the pre-defined arbitrary rules, the smart contract will auto execute the transaction. These smart contracts aim to provide transaction security superior to traditional contract law and reduce transaction costs of coordination and enforcement.

With blockchain and smart contracts, we can now imagine a world in which contracts are embedded in digital code and stored in transparent, shared databases, where they are protected from deletion, tampering, and revision. In this world every agreement, every process, every task, and every payment would have a digital record and signature that could be identified, validated, stored, and shared. Intermediaries like lawyers, brokers, and bankers, and public administrators might no longer be necessary. Individuals, organizations, machines, and algorithms would freely transact and interact with one another with little friction and a fraction of current transaction costs.

Smart contracts can either be used for simple economic transactions like sending money from A to B, registering any kind of ownership and property rights like land registries and intellectual property, or managing smart access control for the sharing economy, just to name a few.

Smart contracts can also be used for more complex transactions, governing a group of people that share the same interests and goals. Decentralized Autonomous Organizations, DAOs, are an example for more complex smart contracts. The token governance rules, of the blockchain layer and the application layer alike, are a means to auto execute pre-defined governance rules.


Blockchains and Smart Contracts

  • Radically reduce transaction costs, through machine consensus and auto-enforceable smart contracts.
  • Bypass the traditional principal-agent dilemmas of organizations, therefore providing an operating system for trustless trust.