Blockchain Technologies and Applications

Содержание

Слайд 2

2016 IBM Faculty Award (Prof. Pataricza András) Teljesítménymodellezés és –elemzés, Duke

2016 IBM Faculty Award (Prof. Pataricza András)
Teljesítménymodellezés és –elemzés, Duke kooperáció
Linux

Foundation Hyperledger: associate membership
Kocsis Imre: ISO/TC 307 nemzeti delegált
Hyperledger Caliper
Hyperledger Summer Internship-ek (!)
European Institute of Technology (EIT) Professional School: “Blockchain for the decision maker”

Blockchain@FTSRG

Слайд 3

A kurzusról Nem (csak) Bitcoin – Blockchain A mai előadás témája

A kurzusról

Nem (csak) Bitcoin – Blockchain
A mai előadás témája
Fő oktatási célok
Blockchain-ek

rendszerszemlélete
Nem kripto, “Distributed Ledger Technology”
Alapvető alkalmazási esetek megismerése
Önálló alkalmazásfejlesztés megalapozása
Választható tárgy; CS/CE csak mértékkel (~)
Tárgykövetelmény: házi feladat
Слайд 4

Topics we plan to cover during the course

Topics we plan to cover during the course

Слайд 5

DISTRIBUTED LEDGER TECHNOLOGY

DISTRIBUTED LEDGER TECHNOLOGY

Слайд 6

Ledgers Principal book of account Records transactions Append-only “Checksums” … but

Ledgers

Principal book of account
Records transactions
Append-only
“Checksums”
… but really, just a Tx log

based “paper DB”

Based on: https://en.wikipedia.org/wiki/Ledger

Слайд 7

Distributed ledgers: eliminating trusted 3rd parties Centralized Distributed ledger

Distributed ledgers: eliminating trusted 3rd parties

Centralized

Distributed ledger

Слайд 8

M. Rauchs et al., “Distributed Ledger Technology Systems: A Conceptual Framework,” SSRN Journal, 2018, doi: 10.2139/ssrn.3230013.

M. Rauchs et al., “Distributed Ledger Technology Systems: A Conceptual Framework,”

SSRN Journal, 2018, doi: 10.2139/ssrn.3230013.
Слайд 9

Communication: e.g. SWIFT Marketplaces: exchanges, eBay Auth. information: DNS, land registry

Communication: e.g. SWIFT
Marketplaces: exchanges, eBay
Auth. information: DNS, land registry
Risk sharing: insurance
Democracy:

election office

Your bank account
Good reasons for them; still,
Centralized trust
Middlemen have their price
3rd party making the rules

Trusted 3rd parties everywhere

Leitmotif: “getting rid of the central party” …
but not trust!

Слайд 10

Blockchain technologies: a DLT approach [1] Source: Marley Gray, Principle Architect

Blockchain technologies: a DLT approach

[1] Source: Marley Gray, Principle Architect PM

– Microsoft: Introducing Project Bletchley
Слайд 11

Replacing the middleman with the group P2P network of nodes Each

Replacing the middleman with the group

P2P network of nodes
Each peer: same

ledger
Append-only Tx log
Hash-chained block list
Group consensus
On Tx blocks
While certain % honest
Client != peer

Block consensus

Block consensus

Слайд 12

Blockchain properties Ledger: immutable Tx log; not (just) cryptocurrency! Smart contracts:

Blockchain properties

Ledger: immutable Tx log; not (just) cryptocurrency!
Smart contracts: programmed Tx

logic over ledger state
Shared: across participants
Distributed: replication
Cryptographically authentic: non-repudiable (secure identities), tokenization, signed Txs
Trust: fault/attack tolerant group consensus

Note: these are truly common!

Слайд 13

Basic transaction logic Client request Order, contract exec result, acceptance: consensus All ledgers updated Batch processing

Basic transaction logic

Client request

Order, contract exec result, acceptance: consensus

All ledgers updated

Batch

processing < Blockchain latency < hard real-time
Слайд 14

But when you peel off the complexity… C

But when you peel off the complexity…

C

Слайд 15

Main differences: extra-functional M. Rauchs et al., “Distributed Ledger Technology Systems:

Main differences: extra-functional

M. Rauchs et al., “Distributed Ledger Technology Systems: A

Conceptual Framework,” SSRN Journal, 2018, doi: 10.2139/ssrn.3230013.

!!! Properties to be understood in an “as a rule” manner

Слайд 16

SAME NAME, TWO(?) WORLDS

SAME NAME, TWO(?) WORLDS

Слайд 17

Public vs private/permissioned/consortium/… „Not true, but a very, very good lie!” (T. Pratchett, Nightwatch)

Public vs private/permissioned/consortium/…

„Not true, but a very, very good lie!”
(T. Pratchett,

Nightwatch)
Слайд 18

Some key points (Cryptocurrency-based) public Blockchains Ledger based on some “unit

Some key points

(Cryptocurrency-based) public Blockchains
Ledger based on some “unit of value”
Peer

honesty incentive: “getting more of that”
“Mining”, Tx fees + possibly deterrents
Bitcoin, Ethereum, Monero, Litecoin, …
Smart contracts
defined on and
fueled by cryptocurrency
Private Blockchains
Ledger: some data model
Peer honesty
A&A and real-world ramifications
Value intrinsic to cooperation
Smart contract: ledger is essentially a DB
Hyperledger, Enterprise Ethereum Alliance, Chain Core, …

We discuss all these in detail in later lectures

Слайд 19

Figure: bitnodes.21.co Public example 1: Bitcoin “Ground zero” for Blockchains Ledger:

Figure: bitnodes.21.co

Public example 1: Bitcoin

“Ground zero” for Blockchains
Ledger: “who” has how

many “coins”
P2P network: open, global (but not your closet anymore)
Tx: coin transfers
Client: anybody (pseudonymous!)
New coins: probabilistic, work-proportional peer reward

We fill in the details in the next lecture
Politics, “money” aspects, exchanges, …: coming lectures

Слайд 20

Figure: ethernodes.org Public example 2: Ethereum Birds eye view: almost like

Figure: ethernodes.org

Public example 2: Ethereum

Birds eye view: almost like Bitcoin
“Ether” instead

of Bitcoin
But: you can attach code to an account
Fuel its execution with your crypto-funds
Have it collect/distribute Ether
Define your own “token” in a contract
Слайд 21

Slight detour: Bitcoin price And suddenly…

Slight detour: Bitcoin price

And suddenly…

Слайд 22

Слайд 23

Ethereum: the very basics of token mechanics You pay a little

Ethereum: the very basics of token mechanics

You pay a little Ether

for function calls
But can also sell the token
Contract state and logic “is your business”
Слайд 24

Some Ethereum smart contracts Source: https://parkgene.io/

Some Ethereum smart contracts

Source: https://parkgene.io/

Слайд 25

On-chain, “programmed” claim assessment Long, closed, manual process transformed into transparent

On-chain, “programmed” claim assessment
Long, closed, manual process transformed into transparent automatism
Ethereum
Privacy?
But:

risk ownership and management not crowd/consortium-sourced
Could be; many startups!
Claim assessment is “only” automated, too

Some Ethereum smart contracts

Source: https://fizzy.axa/

Слайд 26

Слайд 27

Ethereum Decentralized autonomous organizations? Well… We will talk about the DAO

Ethereum

Decentralized autonomous organizations?
Well… We will talk about the DAO hack
ICO: “buying

into” an idea
Business share, stake, right to use, …
Many “Initial Coin Offerings” are (were) scams
Look around!
https://icotracker.net/
http://www.icocountdown.com/

Слайд 28

Cryptocurrencies: uncertain future On the other hand: DLT enjoys universal support.

Cryptocurrencies: uncertain future

On the other hand: DLT enjoys universal support.

Слайд 29

Private Blockchains: asset/supply management Ábra: IBM: Adopting Blockchain for enterprise asset

Private Blockchains: asset/supply management

Ábra: IBM: Adopting Blockchain for enterprise asset management

(EAM)

“Small”, closed network
Peer + client A&A
“Weighted” voting
Arbitrary Tx logic
These are intended!
You can have (asset) tokens
But don’t have to

Слайд 30

A success story: MAERSK and IBM Source: https://www.ibm.com/blogs/blockchain/2018/01/digitizing-global-trade-maersk-ibm/ Both examples over Hyperledger fabric (Linux Foundation)

A success story: MAERSK and IBM

Source: https://www.ibm.com/blogs/blockchain/2018/01/digitizing-global-trade-maersk-ibm/

Both examples over Hyperledger fabric

(Linux Foundation)
Слайд 31

Closed markets: reinsurance http://www.chainthat.com/framework/ Smart contract is an important, but small part!

Closed markets: reinsurance

http://www.chainthat.com/framework/

Smart contract is an important, but small part!

Слайд 32

Not only enterprise/business! Note: it is situational, whether the public or private model fits better

Not only enterprise/business!

Note: it is situational, whether the public or private

model fits better
Слайд 33

Egy teljesebb taxonómia Zárt/”konzorciális”/”privát” hálózat Publikus hálózat Jogosult csomópontok, szavazás-szerű (perm’d)

Egy teljesebb taxonómia

Zárt/”konzorciális”/”privát” hálózat

Publikus hálózat

Jogosult csomópontok, szavazás-szerű (perm’d)

Szabad részvétel a konszenzusban

(permissionless)

Sok, testreszabott “üzleti” hálózat

Hyperledger, Quorum, …

Bitcoin, Ethereum, Zcash, …

“Kriptopénz” léte elkerülhetetlen

Energy Web Chain

Ripple

Libra?

“Kripto”: tx díj + “ha kell”

“Néhány” világméretű hálózat

E.g., Conseil National des Greffiers des Tribunaux de Commerce:
Francia cégbejegyzések tartományok között koordinált kezelése

https://wiki.hyperledger.org/display/PSSIG/Public+Sector+SIG

“Mining” et al. helyett – 15+ éves protokollok

Слайд 34

DIGITAL ASSETS AND TOKENIZATION

DIGITAL ASSETS AND TOKENIZATION

Слайд 35

Cryptographic tokenization of assets Source: Introducing Project "Bletchley" Marley Gray, Principle

Cryptographic tokenization of assets

Source: Introducing Project "Bletchley" Marley Gray, Principle Architect PM

- Microsoft - Azure Blockchain Engineering
Слайд 36

Smart contracts over tokenized assets Source: Introducing Project "Bletchley" Marley Gray,

Smart contracts over tokenized assets

Source: Introducing Project "Bletchley" Marley Gray, Principle Architect

PM - Microsoft - Azure Blockchain Engineering
Слайд 37

Tracking the ownership of money Cryptocurrency is actually a special case

Tracking the ownership of money
Cryptocurrency is actually a special case
Could be

even fiat
Tracking the ownership/status of assets
Physical, logical, financial
Cryptographic tokenization
But you can use it as a database, too
Changes will be ruled by smart contracts
We will demonstrate these concepts as we progress

But what do you put on the ledger?

Слайд 38

Cryptocurrency Central bank currency Digital currency Commodity-backed tokens Equity tokens Accounting

Cryptocurrency
Central bank currency
Digital currency
Commodity-backed tokens
Equity tokens
Accounting tokens
Digital collectible
Utility tokens

Some digital asset

types

https://www.coindesk.com/periodic-table-blockchain-classify-tokens/

Слайд 39

THE FOURTH INDUSTRIAL REVOLUTION?

THE FOURTH INDUSTRIAL REVOLUTION?

Слайд 40

Industrial revolutions 1st: urbanization, steam engine 2nd: steel, oil, electricity, internal

Industrial revolutions

1st: urbanization, steam engine
2nd: steel, oil, electricity, internal combustion engine
3rd:

digitization, ICT, Internet
4th: technology embedded within societies
DLT is identified as a key component
We’ve never had this capability before – trusted transactions directly between two or more total strangers, authenticated by mass collaboration, and powered by collective self-interests, rather than by corporations motivated by profit or governments motivated by power.

Source: World Economic Forum: Realizing the Potential of Blockchain, June 2017.

Слайд 41

2017: “A rapidly emerging sector”

2017: “A rapidly emerging sector”

Слайд 42

Слайд 43

Blockchain project ecosystem https://news.blackmooncrypto.com/ the-blockchain-ecosystem-v3-six-months- after-the-hype-ca14e9879001

Blockchain project ecosystem

https://news.blackmooncrypto.com/
the-blockchain-ecosystem-v3-six-months-
after-the-hype-ca14e9879001

Слайд 44

A NOTE ON PERFORMANCE

A NOTE ON PERFORMANCE

Слайд 45

CryptoKitties! ☺☹

CryptoKitties! ☺☹

Слайд 46

Throughput Latency: variance Price: variance Public Blockchain: performance

Throughput
Latency: variance
Price: variance

Public Blockchain: performance

Слайд 47

HL fabric v0.6 Due to blocks: still latency and size limits,

HL fabric v0.6
Due to blocks: still latency and size limits, but
Tunable
Plannable
Protectable
v1.x:

3000 Tps and beyond

Private Blockchain performance