33
Blockchain: opportunities, challenges and use cases Valentina Gatteschi Politecnico di Torino - Dipartimento di Automatica e Informatica GRAINS Group - http://grains.polito.it/ e-mail: [email protected] website: http://staff.polito.it/valentina.gatteschi/

Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

Blockchain: opportunities, challenges and use cases

Valentina GatteschiPolitecnico di Torino - Dipartimento di Automatica e Informatica

GRAINS Group - http://grains.polito.it/e-mail: [email protected]

website: http://staff.polito.it/valentina.gatteschi/

Page 2: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

2

BLOCKCHAINWORKSHOP

BLOCKCHAIN 101

Page 3: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

3

BLOCKCHAINWORKSHOPDEFINITION

A blockchain is a:

- distributed ledger- maintained by network nodes- recording transactions (messages sent from one node to another)

executed among network participants

Page 4: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

4

BLOCKCHAINWORKSHOP

New block

Alice Bob

prev. blockheader hash

?

tx1 tx2 …

Blockheader

trans. hash

Transaction tx1Transfer to Bob’s wallet(addressxyzpq)

… …

Page 5: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

5

BLOCKCHAINWORKSHOP

But it’s not only for money…

Page 6: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

6

BLOCKCHAINWORKSHOP

“What if we store on the blockchain other kind of information?”

Page 7: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

7

BLOCKCHAINWORKSHOP

CREATOR OF ETHEREUM

VITALIK BUTERIN

“Why don’t we storepieces of code?”

Page 8: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

8

BLOCKCHAINWORKSHOP

- Small programs stored on the blockchain and programmed to autonomously behave in a given manner, if some conditions are met

<code>

“When I die, give everything I have to my grandchild

</code>

SMART CONTRACTS

only if he graduates”

Page 9: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

9

BLOCKCHAINWORKSHOPA PRACTICAL EXAMPLE

Alice

Images courtesy of Freepik, Superawesomevectors, the Noun Project, Know Your Meme

Page 10: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

10

BLOCKCHAINWORKSHOP

Page 11: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

11

BLOCKCHAINWORKSHOPA PRACTICAL EXAMPLE

Alice Bob

Images courtesy of Freepik, Superawesomevectors, the Noun Project, Know Your Meme

Page 12: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

12

BLOCKCHAINWORKSHOP

Oracle

Smart contractowner_alive = true;benef_address = v4y; benef_graduated = false;

setDeath(){owner_alive = false;

}

setGraduation(){beneficiary_graduated = true;

}

inherit(){if(owner_alive == false and benef_graduated == true){

transferMoney(benef_address);}

}

Address: uyt3 false;

true;

v4y

v4y

Page 13: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

13

BLOCKCHAINWORKSHOPBUT…

-Technical issuesoCode could contain bugs!oOracles could inject wrong information

-Other issuesoWhat if Ethereum is no longer used?oVolatility of cryptocurrencies

Page 14: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

14

BLOCKCHAINWORKSHOPBUT…

-Technical issuesoCode could contain bugs!oOracles could inject wrong information

-Other issuesoWhat if Ethereum is no longer used?oVolatility of cryptocurrencies

Page 15: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

15

BLOCKCHAINWORKSHOP

Oracle

Smart contractowner_alive = true;benef_address = v4y; benef_graduated = false;

setDeath(){owner_alive = false;

}

setGraduation(){beneficiary_graduated = true;

}

inherit(){if(owner_alive == false and benef_graduated == true){

transferMoney(benef_address);}

}

Address: uyt3 false;

true;

v4y

v4y

Page 16: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

16

BLOCKCHAINWORKSHOPBUT…

-Technical issuesoCode could contain bugs!oOracles could inject wrong information

SOLUTIONoThoroughly write codeoRely on White Hat Hackers

• Bounty programs• Hacken.io• …

Page 17: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

17

BLOCKCHAINWORKSHOPBUT…

-Technical issuesoCode could contain bugs!oOracles could inject wrong information

-Other issuesoWhat if Ethereum is no longer used?oVolatility of cryptocurrencies

Page 18: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

18

BLOCKCHAINWORKSHOP

Oracle

Smart contractowner_alive = true;benef_address = v4y; benef_graduated = false;

setDeath(){owner_alive = false;

}

setGraduation(){beneficiary_graduated = true;

}

inherit(){if(owner_alive == false and benef_graduated == true){

transferMoney(benef_address);}

}

Address: uyt3 false;

v4y

v4y

Page 19: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

19

BLOCKCHAINWORKSHOPBUT…

-Technical issuesoCode could contain bugs!oOracles could inject wrong information

SOLUTIONoRely on more than one oracle

setDeath(){owner_alive = false;

}

Page 20: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

20

BLOCKCHAINWORKSHOPBUT…

-Technical issuesoCode could contain bugs!oOracles could inject wrong information

-Other issuesoWhat if Ethereum is no longer used/supported?oVolatility of cryptocurrencies

Page 21: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

21

BLOCKCHAINWORKSHOPBUT…

-Technical issuesoCode could contain bugs!oOracles could inject wrong information

-Other issuesoWhat if Ethereum is no longer used/supported?oVolatility of cryptocurrencies

Page 22: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

22

BLOCKCHAINWORKSHOP

Is it worth it?

Page 23: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

23

BLOCKCHAINWORKSHOPSWOT – Adoption of blockchain

Positive NegativeIn

tern

alEx

tern

al

V. Gatteschi, F. Lamberti, C. Demartini, C. Pranteda, V. Santamaría, "Blockchainand Smart Contracts for Insurance: Is the Technology Mature Enough?" Future I t t 2018 10 20

Page 24: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

24

BLOCKCHAINWORKSHOPSTRENGTHS

‐ Fast and low-cost money transfers‐No need for intermediaries‐Automation (smart contracts)‐Accessible worldwide‐ Transparency‐Platform for data analytics‐No data loss/modification/falsification‐Non-repudiation

Page 25: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

25

BLOCKCHAINWORKSHOPWEAKNESSES

‐ Scalability ‐ Low performance‐ Energy consumption‐ Reduced users’ privacy‐ Autonomous code is “candy for hackers”‐ Need to rely to external oracles‐ No intermediary to contact in case of loss of users’

credentials‐ Volatility of cryptocurrencies‐ Still in an early stage (no “winning” blockchain)‐ Same results achieved with well-mastered

technologies

Page 26: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

26

BLOCKCHAINWORKSHOPOPPORTUNITIES

‐ Competitive advantage‐ Possibility to address new markets (e.g.,

supporting car and house sharing, disk storage rental, etc.)

‐ Availability of a huge amount of heterogeneous data (by different actors)

Page 27: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

27

BLOCKCHAINWORKSHOPTHREATS

‐Could be perceived as unsecure/unreliable‐ Low adoption from external actors‐Governments could consider it “dangerous”‐Medium-long term investment‐Customers would still consider personal interaction important

Page 28: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

28

BLOCKCHAINWORKSHOP

Use cases

Page 29: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

29

BLOCKCHAINWORKSHOPUSE CASES

- Personal data managementoproof of identity, KYC, etc.

- Notary servicesostore public records (marriages, etc.), intellectual property rights protection,

etc.

- Financeomoney transfers, decentralized exchanges, online lotteries, smart contract-

based pension funds, etc.

- Industry/commerceosupply chain, prevent counterfeit items, management of interaction between

seller and buyer, support of demand-driven economy through smart contracts

Page 30: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

30

BLOCKCHAINWORKSHOPUSE CASES

- Insuranceoautomatic claim processing (smart contracts + sensors), KYC, reducing frauds,

pay-per-use insurance, peer-to-peer insurances, etc.

- Government, healthcare, educationorecord citizens’ votes, autonomous governance systems, store patient’s medical

data, record competencies, etc.

- Software, Internet, IoTostore system logs, domain names, cloud storage, authentication of IoT devices,

automatic interaction of intelligent appliances with real world, smart grid, etc.

- …

Page 31: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

31

BLOCKCHAINWORKSHOP

Do you need a blockchain?

Page 32: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

32

BLOCKCHAINWORKSHOP

M. E. Peck, "Blockchainworld - Do you need a blockchain? This chart willtell you if the technologycan solve your problem," in IEEE Spectrum, vol. 54, no. 10, pp. 38-60, October2017

Page 33: Blockchain: opportunities, challenges and use cases...Blockchain: opportunities, challenges and use cases Valentina Gatteschi ... BLOCKCHAIN OPPORTUNITIES WORKSHOP ‐Competitive advantage

Thank you!Valentina Gatteschi

Politecnico di Torino - Dipartimento di Automatica e InformaticaGRAINS Group - http://grains.polito.it/

e-mail: [email protected]: http://staff.polito.it/valentina.gatteschi/

V. Gatteschi, F. Lamberti, C. Demartini, C. Pranteda, V. Santamaría, "Blockchain and Smart Contracts for Insurance: Is the Technology Mature Enough?" Future Internet 2018, 10, 20.

F. Lamberti, V. Gatteschi,, C. Demartini, M. Pelissier, A. Gómez, V. Santamaría, "On-demand Blockchain-based car insurance using smart contracts and sensors" IEEE CONSUMER ELECTRONICS MAGAZINE 2018, (In press).

V. Gatteschi, F. Lamberti, C. Demartini, C. Pranteda, V. Santamaría, "To Blockchain or Not to Blockchain: That Is the Question" IT PROFESSIONAL 2018, 20, 2.