prof. dr. florian matthes · overview: potential of blockchain-based solutions 3. from smart...

32
Chair of Software Engineering for Business Information Systems (sebis) Faculty of Informatics Technische Universität München wwwmatthes.in.tum.de Blockchains: Klassifikation, Chancen und Risiken Prof. Dr. Florian Matthes

Upload: others

Post on 13-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Chair of Software Engineering for Business Information Systems (sebis)

Faculty of Informatics

Technische Universität München

wwwmatthes.in.tum.de

Blockchains: Klassifikation, Chancen und RisikenProf. Dr. Florian Matthes

Page 2: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Our current projects on blockchain-based systems engineering

Development projects

Tr8cy Ltd: Trade financing platform for SMEs

Chip Card Solutions GmbH: Securing blood products with RFID and Blockchain-technologies

TUM, MIT, IHK: Digital education certificates

Research projects

Identity management in open blockchain-based systems

Language engineering for smart contracts (with Noumena Digital AG)

Education and consulting

TUM lecture Blockchain-based Systems Engineering

TUM executive education program DLT and Blockchain Manager

Blockchains for public administrations (Bavarian ministries of justice, finance, social and digitalization)

Associations

blockchain.tum.de

Blockchain Bayern e.V.

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 2

Page 3: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

1. Blockchain basics

2. Overview: Potential of Blockchain-based solutions

3. From Smart Contracts to Blockchain-based architectures

4. Technical comparison with established centralized solutions

5. Governance in Blockchain-based systems

Outline

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 3

Page 4: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

A technical paper published online in the year of the financial crisis

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 4

http://nakamotoinstitute.org/bitcoin/

Page 5: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

What is a „Blockchain“?

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 5

“A blockchain […] is a distributed

database that maintains a continuously-

growing list of ordered records called

blocks. Each block contains a timestamp

and a link to a previous block. By design

blockchains are inherently resistant to

modification of the data: once recorded,

the data in a block cannot be altered

retroactively.”https://en.wikipedia.org/wiki/Blockchain_(database)

[...] are systems that enable parties

who don’t fully trust each other to form

and maintain consensus about the

existence, status and evolution of a

set of shared facts.

Richard Brown, R3 CTO

Technical definition Functional description

Page 6: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

1. Blockchain basics

2. Overview: Potential of Blockchain-based solutions

3. From Smart Contracts to Blockchain-based architectures

4. Technical comparison with established centralized solutions

5. Governance in Blockchain-based systems

Outline

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 6

Page 7: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

The potential of blockchain technologies

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 7

They enable intermediary-free transactions of digital, non-copyable goods without the need to trust

the other party.

Digital identities of people or machines can enter into secure transactions and all transaction details

are stored immutable and decentralized.

Automated, programmable contracts can ensure contract compliance.

"We believe that the Blockchain will have the greatest influence on contracts, logistics and supply chain,

healthcare, public administration, asset clearing, property and transactions."

- Greg LaBlanc

Page 8: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Current and future use cases (B2B & B2C)

8

Finance

• Replacement of intermediaries in transactions

• Crypto currencies

• Microcredit and crowdfunding peer-to-peer

• ICOs: Start-up financing

Pharma und

Medical

Automotive

Sharing

Economy

• Supply chain tracking

• Digital identity of a car

• Digital mobility solutions (e.g. car sharing)

Documentation

• Elimination of some notary services

• Traceable supply chain

• Service & maintenance protocols

• Digital certificates of origin

• Access to decentralized patient records

• Prevention of prescription abuse

• Prevention of counterfeit drugs

• Transactions without a central platform provider

• Decentralized documented bartering

• Pay-as-you-use insurances

Cross-industry, peer to peer

Energy

• Private suppliers of electricity

• Micro power networks

• Electricity trading

Industries

Digital

Identity

• Refugees pay by retina scan

• Direct remuneration of license holders

• Certificates of origin of digital certificates

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken

IP Management

• Preservation of patents, art or ideas on the

blockchain (incl. time stamp)

• Securing 3D printer models

• Direct remuneration of license holders

Page 9: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Applying design thinking to blockchain-based solutions

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 9

People

Benefits

Business

Viability

Technology

Feasibility

Which pain of which

people / businesses

do we solve?

How to solve the

problem?

How to create a sustainable

business?

Functional Innovation

• Digital currency

• Digital token

• Digital wallets

• …

Emotional Innovation

• Trust

• Decentralized

• Democratic

• ---

Process Innovation

• Peer 2 Peer

Network

• Decentralized

Governance

• …

Innovative

Solution

Page 10: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Blockchain technologies have a reputation problem

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 10

• Incredible waste of energy and

resources

• Use for shady business models

• Speculative trading

• Gambling

• Trafficking (humans, drugs, …)

• Cyber crime

• Ransomware attacks

• …

• Casino economy

• ICO scams

• Exchange frauds

• “Lost” or “locked” crypto money

• …

• Huge gap between expectations and

maturity of the technology

Page 11: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Interdisciplinary collaboration is required

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 11

People

Benefits

Business

Viability

Technology

Feasibility

Which pain of which

people / businesses

do we solve?

How to solve the

problem?

How to create a sustainable

business?

Law

Compliance

How to ensure

compliance with the law?

Page 12: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

The path from understanding to a minimum viable product

Design Thinking, Agile Development, DevOps, Lean UX, Lean Management, …200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 12

Design Thinking, Lean UX, Agile Development, Collaborative Development …

Source: Dave Landis

© sebis

U N D E R S TA N D

Page 13: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

1. Blockchain basics

2. Overview: Potential of Blockchain-based solutions

3. From Smart Contracts to Blockchain-based architectures

4. Technical comparison with established centralized solutions

5. Governance in Blockchain-based systems

Outline

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 13

Page 14: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Historical development of the concept of Smart Contracts

The term “Smart Contract” was coined long before blockchain technology emerged (Szabo, 1994).

Initially described the formalization of processes in public networks like the Internet.

Possible applications:

DRM (Digital Rights Management)

Payment

Connection to the “real world” through sensors and actuators

However, there was a lack of technology to realize these ideas at that time.

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 14

Szabo, Nick (1994): Smart Contracts.

https://web.archive.org/web/19971008001022/http://www.virtualschool.edu/mon/Economics/SmartContracts.html

Page 15: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

In 2015, Vitalik Buterin revived the idea in his white paper “Ethereum: A Next Generation Smart Contract &

Decentralized Application Platform“

Idea

Replace the fixed data structures, algorithms and protocols of individual blockchain solutions (e.g. Bitcoin,

voting, bidding, lottery, proof of ownership, …) by programs, written in a domain-specific programming

language (e.g. Solidity) on top of a single public blockchain (Ethereum) and currency (Ether).

Use cryptography to secure the immutability of the program code (contract)

Wallet owners agree on the contract(s) to be used for their future interactions

No or very limited access of the code to the “real world” (sensors, actuators)

Similar to data-centric architectures for workflow management and automated case management

Smart Contracts on blockchain-based platforms

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 15

Page 16: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Smart Contracts

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 16

To be clear, at this point I quite regret adopting the term "smart contracts".

I should have called them something more boring and technical, perhaps something like "persistent scripts".

Vitalik Buterin, 2018

Page 17: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

A reference architecture for a Smart Contract platform

Example:

Safe transfusion medicine

Blood product supply chain involving

Clinics

Labs

Logistic companies

Blood donor centers

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 17

Execution

States

Virtual Machine

(Execution platform for Smart Contracts)

Smart

Contracts

Execution

History

Local interactive

User interfacesLocal IT-Systems

Internet

API

Sen-

sors

Actua-

tors

„Real World “

Platform-wide

Rules

Page 18: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Implementations of the reference architecture

Centralized platforms

Blockchain-based platforms

Permissionless

platforms

Permissioned platforms

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 18

Page 19: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

1. Blockchain basics

2. Overview: Potential of Blockchain-based solutions

3. From Smart Contracts to Blockchain-based architectures

4. Technical comparison with established centralized solutions

5. Governance in Blockchain-based systems

Outline

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 19

Page 20: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Advantages

Decentralized management (trust in one party trust in a system of multiple parties)

Transparency of all transactions

Traceability of the complete transaction history

Pseudonymity of the wallet owners

Built-in financial incentives for early adopters and network growth ( business model)

Opportunities

Innovation thrust for IT solutions in the global finance system

Lowered entry barriers for IT-savvy players with limited financial resources

Impetus to re-evaluate established business models and economic mechanisms

Comparison with established centralized solutions

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 20

Page 21: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Centralized platforms

There are established non-technical measures to ensure trust, e.g. cooperatives, third-party (or state) supervision, Open Source licenses, etc.

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 21

Benefits

Efficient

Scalable

Standardized components

Drawbacks

Requires trust in platform

provider

Availability

Sufficient resources

Fair conditions (e.g.

pricing)

No manipulations

Page 22: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Permissionless Blockchain-based platforms

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 22

Benefits

Consensus of nodes on

shared set of facts

Traceability of the complete

transaction history

Optimized for cross-

organization collaboration

Decentralized and redundant

(Transparency of all

transaction details)

Pseudonymity of the wallet

owners

Financial incentives for

network growth

Drawbacks

Dependency on a crypto

currency

Energy consumption

Severely limited transaction

throughput

Risk of centralization at the

network level

Page 23: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Permissioned Blockchain-based platforms

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 23

Benefits

Consensus of nodes on

shared set of facts

Traceability of the complete

transaction history

Optimized for cross-

organization collaboration

Decentralized and redundant

Upward compatibility with

established IT technologies

Identity management

Development tools

Data models & standards

Drawbacks

Interoperability between

different consortia

System complexity

Blockchain governance

Ecosystem / participants

Applications / contracts

Platform technology

Page 24: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

1. Blockchain basics

2. Overview: Potential of Blockchain-based solutions

3. From Smart Contracts to Blockchain-based architectures

4. Technical comparison with established centralized solutions

5. Governance in Blockchain-based systems

Outline

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 24

Page 25: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

The governance challenge

Centralized platforms today (e.g. Google Maps)

Centralized data

management

Non-transparent platform

operations

Exclusive platform

ownership

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 25

Page 26: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

The governance challenge

Decentralized platforms tomorrow?

Decentralized data

management

Transparent platform

operations

Shared platform ownership

Blockchain Governance

Ecosystem

Applications

Infrastructure

!

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 26

Page 27: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Blockchains are a team sport

The parties in the ecosystem interact via shared executable contracts on shared blockchains.

Banking: R3 Consortium (2014)

200+ members

Energy: Energy Web Foundation (1/2018)

Insurance: B3i Consortium (3/2018)

Achmea, Aegon, Ageas, Allianz, Generali, Hanover Re, Liberty Mutual, Munich Re, SCOR, Swiss Re, Tokio Marine, XL Catlin, Zurich Insurance Group

Mobility: Mobi Open Blockchain Initiative (5/2018)

BMW, General Motors, Renault, Ford, Bosch, ZF, …

Connect, Understand, Design, Do, Learn: Blockchain Bayern (1/2019)

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 27

Page 29: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Membership options

Personal

Membership

Annual Fee

EUR 50,00

Student

Membership

Annual Fee

EUR 25,00

Startup

Membership

(max. 4 years old)

Annual Fee

EUR 100,00

SME

Membership

(bis 10 Mitarbeiter)

Annual Fee

EUR 50,00

Download Membership Form

www.blockchain-bayern.de/mitgliedsantrag

Enterprise

Membership

Annual Fee

EUR 500,00

Page 30: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Blockchain-based architectures

Characteristics

Focus on the precise, algorithmic descriptions of the rights and obligations of the contracting parties based

on a shared state

Trackability of all transactions

Use of cryptographic methods

Domain-specific languages

Decentralized peer-to-peer execution environment

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 30

Summary

Drawbacks

High execution costs

Increased organizational and legal complexity

Paradigm shifting for the development of new business models

Problems they do not address

Correctness of input information

Enforceability of rights outside the execution platform

Correctness of the code

Page 31: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Technische Universität München

Faculty of Informatics

Chair of Software Engineering for Business

Information Systems

Boltzmannstraße 3

85748 Garching bei München

Tel +49.89.289.

Fax +49.89.289.17136

wwwmatthes.in.tum.de

Florian Matthes

Prof. Dr.

17132

[email protected]

Page 32: Prof. Dr. Florian Matthes · Overview: Potential of Blockchain-based solutions 3. From Smart Contracts to Blockchain-based architectures ... API Sen-sors Actua-tors „Real World

Abstract

Blockchains – Grundlagen, Chancen und Risiken

Wir vermitteln zunächst einen Überblick über die in Entwicklung befindlichen Blockchain Technologien. Hierzu

erläutern wir, wie die Konzepte, Funktionen und Akteure der Blockchain ineinandergreifen, um eine verteilte

digitale Buchführung basierend auf kryptographischen Protokollen zu realisieren. Aufbauend auf einer

Klassifikation dieser Technologien identifizieren wir m zweiten Teil des Vortrags die zentralen Chancen und

Risiken dieser Technologien aus ökonomischer und gesellschaftlicher Sicht. Der Vortrag endet mit einem

Verweis auf neu entstehende Netzwerke zur Zusammenarbeit in der Forschung und Entwicklung.

Stichworte für Zertifikat

• Überblick über die in Entwicklung befindlichen Blockchain Technologien.

• Grundkonzepte der verteilte digitale Buchführung basierend auf kryptographischen Protokollen

• Klassifikation von Blockchain-Plattformen

• Chancen und Risiken dieser Klassen von Plattformen aus ökonomischer und gesellschaftlicher Sicht.

• Verweis auf neu entstehende Netzwerke zur Zusammenarbeit in der Forschung und Entwicklung.

© sebis200213 Matthes Blockchains - Klassifikation, Chancen & Risiken 32