Blockchains as a Component of the Next generation Internet

68
Blockchains as a Component of the Next Generation Internet Prof. John Domingue (@johndmk) Director, Knowledge Media Institute, the Open University, UK kmi.open.ac.uk hub4ngi.eu Questions to: [email protected]

Transcript of Blockchains as a Component of the Next generation Internet

Page 1: Blockchains as a Component of the Next generation Internet

Blockchains as a Component of the Next Generation Internet

Prof. John Domingue (@johndmk)Director, Knowledge Media Institute, the Open University, UK

kmi.open.ac.uk

hub4ngi.eu

Questionsto:[email protected]

Page 2: Blockchains as a Component of the Next generation Internet

Agenda

• Blockchain Impact• Blockchain Elements• Ethereum Blockchain Platform• Distributed Autonomous Organisations and

ICOs• An Example DApp• EU Funding Opportunities• Summary

Page 3: Blockchains as a Component of the Next generation Internet

Blockchain Impact

Copyrighthttp://dilbert.com/

Page 4: Blockchains as a Component of the Next generation Internet

Blockchain

4

WorldEconomicForumSurveyProjectsBlockchain‘TippingPoint’by2023

Santander:Blockchain TechCanSaveBanks$20BillionaYear

Page 5: Blockchains as a Component of the Next generation Internet
Page 6: Blockchains as a Component of the Next generation Internet

Everledgerwww.everledger.io

Page 7: Blockchains as a Component of the Next generation Internet

https://www.docusign.com/blog/the-future-of-car-leasing-is-as-easy-as-click-sign-drive/

Page 8: Blockchains as a Component of the Next generation Internet

http://motherboard.vice.com/read/transactive-grid-ethereum-brooklyn-microgrid

Page 9: Blockchains as a Component of the Next generation Internet

IBM: Device Democracy

http://www-935.ibm.com/services/multimedia/GBE03620USEN.pdf

Page 10: Blockchains as a Component of the Next generation Internet

Blockchain Elements

Copyrighthttp://dilbert.com/

Page 11: Blockchains as a Component of the Next generation Internet

Ledgers

Page 12: Blockchains as a Component of the Next generation Internet

Cryptographic Hash Function

https://en.wikipedia.org/wiki/Cryptographic_hash_function

Page 13: Blockchains as a Component of the Next generation Internet

Blockchain is a Linked List (1/2)

Ablockchaincanbethoughtofasalinkedlistoftransactionsthatisbuiltwithhashpointersinsteadofpointers

Source:BitcoinandCryptocurrencyTechnologies- ArvindNarayanan,JosephBonneau,EdwardFelten,AndrewMiller,StevenGoldfeder

Page 14: Blockchains as a Component of the Next generation Internet

Peer to Peer Network

http://www.terndrup.net/2015/10/27/Building-a-P2P-Peer-Client-with-Node-js/

Addeveryonehasacompletecopyofthedata Who Next?

Page 15: Blockchains as a Component of the Next generation Internet

Proof of Work• Find x such that f(nonce + x) < t

(cryptographic hash)"Hello,world!0"=>1312af178c253f84028d480a6adc1e25e81caa44c749ec81976192e2ec934c64"Hello,world!1"=>e9afc424b79e4f6ab42d99c81156d3a17228d6e1eef4139be78e948a9332a7d8"Hello,world!2"=>ae37343a357a8297591625e7134cbea22f5928be8ca2a32aa475cf05fd4266b7...

"Hello,world!4248"=>6e110d98b388e77e9c6f042ac6b497cec46660deef75a55ebc7cfdf65cc0b965"Hello,world!4249"=>c004190b822f1669cac8dc37e761cb73652e7832fb814565702245cf26ebb9e6"Hello,world!4250"=>0000c3af42fc31103f1fdc0151fa747ff87349a4714df7cc52ea464e12dcd4e9

Page 16: Blockchains as a Component of the Next generation Internet

Proof of Work

• Hard to outpace the entire rest of the network… a 51% attack could do it, but otherwise it is like buying thousands of lottery tickets –doesn’t help you that much!

Source:MarcEisenstadt ‘WhatisthegeniusbehindBitcoin’

Page 17: Blockchains as a Component of the Next generation Internet

Blockchain is a Linked List (2/2)

Ablockchain actuallycontainstwodifferenthashstructures.Thefirstisahashchainof

blocksthatlinksthedifferentblockstooneanother.

ThesecondisinternaltoeachblockandisaMerkle Treeof

transactionswithintheblocks.

This allowsforefficientlyverifiableproofsthata

transactionwasincludedinablock.

Source:BitcoinandCryptocurrencyTechnologies- ArvindNarayanan,JosephBonneau,EdwardFelten,AndrewMiller,StevenGoldfeder

Page 18: Blockchains as a Component of the Next generation Internet

BitCoin Mining

http://knkx.org/post/central-wash-home-nations-biggest-bitcoin-mine-more-coming

Page 19: Blockchains as a Component of the Next generation Internet

Consensus Mechanisms (1/6)

Page 20: Blockchains as a Component of the Next generation Internet

Consensus Mechanisms (2/6)

Page 21: Blockchains as a Component of the Next generation Internet

Consensus Mechanisms (3/6)

Page 22: Blockchains as a Component of the Next generation Internet

Consensus Mechanisms (4/6)

Page 23: Blockchains as a Component of the Next generation Internet

Consensus Mechanisms (5/6)

Page 24: Blockchains as a Component of the Next generation Internet

Consensus Mechanisms (6/6)

Page 25: Blockchains as a Component of the Next generation Internet

Ethereum Blockchain Platform

Page 26: Blockchains as a Component of the Next generation Internet

Ethereum Virtual Machine

Sources:Ethereum DevelopmentTutorial

TheEthereum VirtualMachinecanbethoughtofasalargedecentralizedcomputercontainingmillionsofobjects,called"accounts",whichhavetheabilitytomaintainaninternaldatabase,executecodeandtalktoeachother.Thereare2typesofAccounts:

Externallyownedaccount(EOA):anaccountcontrolledbyaprivatekeythathastheabilitytosendetherandmessagesfromit.

‘Smart’Contract:anaccountthathasitsowncode,andiscontrolledbycode.

AnyusercantriggeranactionbysendingatransactionfromanEOA,settingEthereum's wheelsinmotion.

IfthedestinationofthetransactionisanotherEOA,thenthetransactionmaytransfersomeetherbutotherwisedoesnothing

However,ifthedestinationisa‘Smart’Contract,thenthecontractinturnactivates,andautomaticallyrunsitscode.

Page 27: Blockchains as a Component of the Next generation Internet

http://ethdocs.org/en/latest/account-management.html

Everyaccountisdefinedbyapairofkeys,aprivatekeyandpublickey

Akeyfile holdsencodedkeypairdataasJSONwiththeprivatekeyencryptedwithausergivenpassword

Accountsareindexedbytheiraddresswhichisderivedfromthepublickeybytakingthelast20bytes

Accountsusepublickeycryptographytosigntransaction.

Ethereum External Accounts

Page 28: Blockchains as a Component of the Next generation Internet

Ethereum External Accounts

http://ethdocs.org/en/latest/account-management.html

ServersideexternalAccounts ClientsideexternalAccounts

Clientsidekeyfiles areheldinakeystore managedbywallet Softwarerunningeitherinabrowserorontheclientcomputer

Serversideaccountkeyfiles areheldinthekeystore folderwhereyourEthereum nodedataislocated

EaseofUseControl

Page 29: Blockchains as a Component of the Next generation Internet

Contracts in Ethereum

Maintainadatastorerepresenting

somethingwhichisusefultoeitherothercontractsortotheoutsideworld

Serveasasortofexternallyowned

accountwithamorecomplicatedaccess

policy

Manageanongoingcontractor

relationshipbetweenmultipleusers

Providefunctionstoothercontracts;

essentiallyservingasasoftwarelibrary.

ContractsinEthereum generallyserve4purposes:

source: RichardGendalBrown“ASimpleModelforSmartContracts”http://gendal.me/2015/02/10/a-simple-model-for-smart-contracts/

Page 30: Blockchains as a Component of the Next generation Internet

DApps

Source:Ethereum - StephanTual

AĐapp isadecentralised applicationwhichservessomespecificpurposetoitsusers,butwhichhastheimportantpropertythattheapplicationitselfdoesnotdependonanyspecificpartyexisting.

Ratherthanservingasafront-endforsellingorprovidingaspecificparty'sservices,aĐapp isatoolforpeopleandorganizationsondifferentsidesofaninteractionusetocometogetherwithoutanycentralizedintermediary.

ADapp consistsoftwoparts:afrontend,writteninHTMLorQML,andabackend(thinkofitasthe‘database’foryourfrontend).

Page 31: Blockchains as a Component of the Next generation Internet

DBrowsers

ItisanenduserinterfaceontotheEthereum blockchain.

ADBrowser ishowuserswillfindandinteractwithDApps

‘Mist’isthenameoftheEthereum DBrowser.

Page 32: Blockchains as a Component of the Next generation Internet

Characteristics of Blockchain DApps

• Shared database• Multiple writers• Absence of trust• Disintermediation• Transaction interaction• Set rules• Validators• Asset backing

http://www.multichain.com/blog/2015/11/avoiding-pointless-blockchain-project/

Page 33: Blockchains as a Component of the Next generation Internet

DAOs and ICOs

Page 34: Blockchains as a Component of the Next generation Internet

Distributed Autonomous Organisation

Page 35: Blockchains as a Component of the Next generation Internet

Initial Public Offering

Page 36: Blockchains as a Component of the Next generation Internet

Initial Public Offering

Page 37: Blockchains as a Component of the Next generation Internet

Initial Public Offering

Page 38: Blockchains as a Component of the Next generation Internet

Initial Public Offering

Page 39: Blockchains as a Component of the Next generation Internet

Initial Coin Offering

Page 40: Blockchains as a Component of the Next generation Internet

Initial Coin Offering

Page 41: Blockchains as a Component of the Next generation Internet

Initial Coin Offering

Page 42: Blockchains as a Component of the Next generation Internet

Initial Coin Offering

Page 43: Blockchains as a Component of the Next generation Internet

Initial Coin Offering

Page 44: Blockchains as a Component of the Next generation Internet

Interplanetary File System (IPFS)

• Content-addressed distributed storage (CADS)

• Files identified by hash of contents• Shared across BitTorrent-based network

Page 45: Blockchains as a Component of the Next generation Internet

An Example DApp

Page 46: Blockchains as a Component of the Next generation Internet
Page 47: Blockchains as a Component of the Next generation Internet

OpenLearn Badges on the blockchain

Page 48: Blockchains as a Component of the Next generation Internet

Demosofmoviesavailableat:http://blockchain.open.ac.uk/

Peer Reputation and Badging

Page 49: Blockchains as a Component of the Next generation Internet

ReputationContract

Functions:

Storage:

sendReputation

getPersonBalance()

getReputationAttribute

attribs[address=>Attrib]Attrib {uint balanceOf;

mapping(string=>uint);string[]attribStrings

}

ReputationAttributetoken

Balances

Reputation Smart Contract

Tokenslefttoassign

MyReputation

PeerReputationPage

Kevin’sReputationView

Communication: 14

Collaboration: 06

Organisation: 12

Ethics: 05

ProblemSolving: 10

Engagement: 04

yourEthereum address

passwordtoprivatekey

SigningthistransactionwilltransferstatedReputationTokens+ETHgaspaymentfromyouraccount.Estimatedgascostis0.02ETH.Maximumgascostissetto0.05ETH

Transfer

ReputationTokensLeft:57

numberoftokenstotransfer

AssignReputation

MyReputation

PeerReputationPage

Michelle’sReputationView

Communication: 06

Collaboration: 02

Organisation: 10

Ethics: 12

ProblemSolving: 08

Engagement: 16

yourEthereum address

passwordtoprivatekey

SigningthistransactionwilltransferstatedReputationTokens+ETHgaspaymentfromyouraccount.Estimatedgascostis0.02ETH.Maximumgascostissetto0.05ETH

Transfer

ReputationTokensLeft:68

numberoftokenstotransfer

AssignReputation

SignedTX

ReputationAttributetoken

Balances

Tokenslefttoassign

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 50: Blockchains as a Component of the Next generation Internet

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 51: Blockchains as a Component of the Next generation Internet

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 52: Blockchains as a Component of the Next generation Internet

Blockno:45566778

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 53: Blockchains as a Component of the Next generation Internet

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 54: Blockchains as a Component of the Next generation Internet

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 55: Blockchains as a Component of the Next generation Internet

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 56: Blockchains as a Component of the Next generation Internet

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 57: Blockchains as a Component of the Next generation Internet

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 58: Blockchains as a Component of the Next generation Internet

Michelletransfers4Reputationtokensfor‘Organisation’toKevin

Page 59: Blockchains as a Component of the Next generation Internet

Startups in the CV/Accreditation Space

Page 60: Blockchains as a Component of the Next generation Internet

EU Funding Opportunities

Page 61: Blockchains as a Component of the Next generation Internet

NGI Open Internet Initiative: Objective ICT-24

61

Call 1: 2018

Closure: 17 April 2018

• 3 research & innovation projects with a total budget Euro 21.5 million

Use of cascading grants (financial support to third parties, 80%)

• 3 CSAs, total budget Euro 7 million

Call 2: 2019

Closure: 28 March 2019

• 3 research & innovation projects with a total budget Euro 21.5 million

Use of cascading grants (financial support to third parties, 80%)

Page 62: Blockchains as a Component of the Next generation Internet

Programme logic of objective ICT-24

1 R&I Project on Privacy and trust enhancing technologies

1 R&I Project on Decentralized data governance

1 R&I Project on Discovery and identification

2018

to be defined in 2018

to be defined in 2018

to be defined in 2018

2019 2020

Call 1

Eval

uatio

n

Outreach Office (1 project)

Technology Harvest & Transfer (1 project)

Technology Strategy & Policy (1 project)

Call 2

Eval

uatio

n

62

Page 63: Blockchains as a Component of the Next generation Internet

R&I Action: Privacy and trust

enhancing technologies

R&I project implementation throughsub-granting

Activities include inter-alia:• Call for & selection of top-teams• Monitoring• Mentoring, Coaching, Sharing• Communications• Community building

Project submitted to EC call:Euro 7-7.5 mil, 2-3 years, 80% for sub-granteePan EuropeanProcedures adapted to stakeholdersRun by organisations in the ecosystem

Sub-grantee:• One legal entity with one specific project• Young researchers from outstanding academics, hi-tech startups

and SMEs• Carry out the R&I work• 50.000 – 200.000 Euro, 9 – 12 month

63

Page 64: Blockchains as a Component of the Next generation Internet

NGI @ ICT PROPOSERS’ DAY 2017

The Next Generation Internet (NGI) networking session - 10/11/2017 (09:30-11:00)The NGI networking session focuses on 2 calls:

• The NGI Open Internet Initiative ICT-24-2018:o 3 Research & Innovation (R&I) Actions; 21.5 M€;

2-3 years; 1 R&I project per topic:§ Privacy and trust enhancing technologies§ Decentralized data governance§ Discovery and identification technologies

o supported by 3 Coordination and support actions (CSAs); 7 Mۥ The EU-US collaboration on NGI ICT-31-2018;

o 2 CSAs (2.5 M€; 3 years)§ CSA 1: Organise & other support activities§ CSA2: A Fellowship programme.

• Feel free to propose your project ideas for the 2 NGI calls above!

THE NGI BOOTH• More information about the ICT-24-2018 and ICT-31-2018 Calls

64

Page 65: Blockchains as a Component of the Next generation Internet

Deadline 17 April 2018

Support Actions• Think-tank• Fellowships

Budget Euro 2.5 million

Deadline 28 March 2019

Research and Innovation Action • Joint experimentation

Budget: Euro 3.5 million

EU-US Collaboration on NGI

65

Page 66: Blockchains as a Component of the Next generation Internet

Stay Connected

66

WHERE TO FIND MORE INFO

Ø The NGI Corner on Futuriumhttps://ec.europa.eu/futurium/en/next-generation-internet

Ø The NGI Twitter Channel@NGI4EU

Ø The NGI web portalwww.ngi.eu

Ø The NGI map of actorswww.hub4ngi.eu/map/

Page 67: Blockchains as a Component of the Next generation Internet

Summary

• A blockchain is a distributed ledger• Smart contracts add trusted computational

layer• Benefits include

– Inbuilt identity management– Decentralised control/ownership– Increases transparency– Reduces risk of fraud– Dramatic lowering of process costs– Enables collaboration/interoperability – Facilitates disaggregation and disintermediation– Transform online and physical objects into DAOs

Page 68: Blockchains as a Component of the Next generation Internet

WWW.HUB4NGI.EU

THANK YOUFOR YOURATTENTION

WWW.HUB4NGI.EU

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 732569