blockchains and adult education

59
Blockchains and Adult Education Prof. John Domingue Knowledge Media Institute The Open University UK http://kmi.open.ac.uk/ http://blockchain.open.ac.uk/

Upload: john-domingue

Post on 05-Jan-2017

3.325 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Blockchains and Adult Education

Blockchains and Adult Education

Prof. John DomingueKnowledge Media InstituteThe Open UniversityUK

http://kmi.open.ac.uk/

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

Page 2: Blockchains and Adult Education

BLOCKCHAINS IMPACT

Copyright http://dilbert.com/

Page 3: Blockchains and Adult Education

Blockchain

3

WorldEconomicForumSurveyProjectsBlockchain‘TippingPoint’by2023

Santander:Blockchain TechCanSaveBanks$20BillionaYear

Bletchley:blockchainasaserviceinAzure

Page 4: Blockchains and Adult Education
Page 5: Blockchains and Adult Education
Page 6: Blockchains and Adult Education

Everledgerwww.everledger.io

Page 7: Blockchains and Adult Education
Page 8: Blockchains and Adult Education

IBM: Device Democracy

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

Page 9: Blockchains and Adult Education

Distributed Autonomous Organisations

Page 10: Blockchains and Adult Education

BLOCKCHAIN ELEMENTS

Copyright http://dilbert.com/

Page 11: Blockchains and Adult Education

Ledgers

Page 12: Blockchains and Adult Education

What is a blockchain?

Ablockchain isapermissionless

distributeddatabase,basedonthebitcoin

protocolthatmaintainsa

continuouslygrowinglistoftransactional

datarecordshardenedagainsttamperingand

revision,evenbyoperatorsofthedata

store'snodes.

Theinitialandmostwidelyknown

applicationoftheblockchain technologyisthepublicledgeroftransactionsforbitcoinandtheinspirationofsimilardistributedledgersknownas

altchains.

Eachblockchain recordisenforced

cryptographicallyandhostedonmachines

workingasadatastore

Source:Wikipedia

Page 13: Blockchains and Adult Education

Cryptographic Hash Function

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

Page 14: Blockchains and Adult Education

Blockchain is a Linked List (1/2)

Ablockchaincanbethoughtofasalinkedlistoftransactionsthatisbuiltwithhashpointersinsteadofpointers

Source:Bitcoin andCryptocurrency Technologies- ArvindNarayanan,JosephBonneau, EdwardFelten,AndrewMiller, StevenGoldfeder

Page 15: Blockchains and Adult Education

Peer to Peer Network

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

Who Next?Addeveryonehasacompletecopyofthedata

Page 16: Blockchains and Adult Education

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 17: Blockchains and Adult Education

Blockchain is a Linked List (2/2)

Ablockchain actuallycontainstwodifferenthash structures.Thefirstisahashchainof

blocks thatlinks thedifferentblocks tooneanother.

Thesecond isinternaltoeachblockandisaMerkle Treeof

transactionswithintheblocks.

This allowsforefficientlyverifiableproofs thata

transactionwasincluded inablock.

Page 18: Blockchains and Adult Education

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 19: Blockchains and Adult Education

Proof of Work

As you go back in time, an attacker would have to outpace the network for a longer amount of time to carry out a double spend attack, and replace a block.

Source:MarcEisenstadt ‘WhatisthegeniusbehindBitcoin’

Page 20: Blockchains and Adult Education

BitCoin Mining

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

Page 21: Blockchains and Adult Education

https://cointelegraph.com/news/the-inevitable-failure-of-proof-of-stake-blockchains-and-why-a-new-algorithm-is-needed

Page 22: Blockchains and Adult Education

Ethereum Blockchain Platform

Page 23: Blockchains and Adult Education

Ethereum isacryptocurrencyplatformandTuring-completeprogrammingframeworkintendedtoallowanetworkofpeerstoadministertheirownstateful user-createdsmartcontractsintheabsenceofcentralauthority.

Itfeaturesablockchain-basedvirtualmachinethatsecurelyrecordsandincentivizesthevalidationoftransactions,i.e.codeexecutions,madethroughacryptocurrencycalledether.

Ethereum takestheprimarydevelopmentsusedbyBitTorrent andBitcoin,thepeertopeernetworkandtheblockchain,andgeneralizestheminordertoallowdeveloperstousethesetechnologiesforanypurpose.

Source:Wikipedia

Ethereum Blockchain Platform

Page 24: Blockchains and Adult Education

Ethereum Blockchain Platform

Ethereum isa100%opensourcesoftwareplatformtobuilddistributed,decentralizedapplications

Ethereum is100%peertopeer,censorship-proofandcorruption-proof.

Ethereumcanbeusedtobuildanything:Assetissuance,crowdfunding,domainregistration,titleregistration,predictionmarkets,internetofthings,voting,educationalcertificateissuingsystems,hundredsofapplications

Source:Ethereum slides- StephanTual andEthereum in40minites byVitalik Buterin

Page 25: Blockchains and Adult Education

Ethereum Virtual Machine

Sources:Ethereum DevelopmentTutorial

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

Externallyownedaccount(EOA):anaccountcontrolledbyaprivatekeythathastheabilitytosendetherandmessagesfromit.

‘Smart’Contract:anaccountthathasitsowncode,andiscontrolledbycode.

AnyusercantriggeranactionbysendingatransactionfromanEOA,settingEthereum's wheelsinmotion.

Ifthedestinationof thetransactionisanotherEOA,thenthetransactionmaytransfersomeetherbutotherwisedoesnothing

However, ifthedestination isa‘Smart’Contract,thenthecontractinturnactivates,andautomaticallyrunsitscode.

Page 26: Blockchains and Adult Education

State vs History

• State = “current” information – Account balances – Nonces– Contract code and contract storage

• History = things that happened – Transactions– Receipts

• Currently, all “full” nodes store state, some store history and some do not store history

Source:Devcon2slides– Ethereumin25MinutesbyVitalik Buterin

Page 27: Blockchains and Adult Education

State

• State consists of key value mapping addresses to account objects

• Every account object contains 4 pieces of data: – Nonce – Balance – Code hash (code = empty string for private

key-controlled accounts) – Storage tree root

Source:Devcon2slides– Ethereumin25MinutesbyVitalik Buterin

Page 28: Blockchains and Adult Education

Gas

• Halting problem– Cannot tell whether or not a program will run

infinitely • Solution: charge fee per computational

step (“gas”)

Source:Devcon2slides– Ethereumin25MinutesbyVitalik Buterin

Page 29: Blockchains and Adult Education

What are Ethereum Contracts?‘Smart’contractsarecomputerprotocolsthatfacilitate,verify,orenforcethenegotiationorperformanceofacontract.

‘Smart’contractscanbepartiallyorfullyself-executing,self-enforcing,orboth.

SmartcontractsinEthereumhavetheabilitytoread/writetotheirowninternalstorage,readthestorageofthereceivedmessage,andsendmessagestoothercontracts,triggeringtheirexecutioninturn

Sources:WikipediaandEthereum Development TutorialandEthereum - Introduction toSmartContracts

Page 30: Blockchains and Adult Education

Contracts in Ethereum

Maintainadatastorerepresenting

somethingwhichisusefultoeitherothercontractsortotheoutsideworld

Serveasasortofexternallyowned

accountwithamorecomplicatedaccess

policy

Manageanongoingcontractor

relationshipbetweenmultipleusers

Providefunctionstoothercontracts;

essentially servingasasoftwarelibrary.

ContractsinEthereum generallyserve4purposes:

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

Page 31: Blockchains and Adult Education

DApps

Source:Ethereum - StephanTual

AĐapp isadecentralised applicationwhichservessomespecificpurpose toitsusers,butwhichhastheimportantproperty thattheapplicationitselfdoesnotdependonanyspecificpartyexisting.

Ratherthanservingasafront-end forsellingorprovidingaspecificparty'sservices,aĐapp isatoolforpeopleandorganizationsondifferent sidesofaninteractionusetocometogetherwithoutanycentralizedintermediary.

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

Page 32: Blockchains and Adult Education

DBrowsers

ItisanenduserinterfaceontotheEthereumblockchain.

ADBrowser ishowuserswillfindandinteractwithDApps

‘Mist’isthenameoftheEthereumDBrowser.

Page 33: Blockchains and Adult Education

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 34: Blockchains and Adult Education

BLOCKCHAINS AND HIGHER EDUCATION

Copyright http://dilbert.com/

Page 35: Blockchains and Adult Education

MSc Certificates on Blockchainhttp://digitalcurrency.unic.ac.cy/certificates

35

Page 36: Blockchains and Adult Education

MIT

Page 37: Blockchains and Adult Education

“For example, after taking an examination to demonstrate his or her academic proficiency level, an individual could direct the testing organization to share the test results with one or more third-party evaluating organizations.”

“As education paradigms evolve, technological innovation is expected to diversify the ways in which tests are designed and individuals are evaluated. With this diversification and the changes it brings about, different evaluating organizations may come to utilize individuals' test results in different ways, each in accordance with its own evaluation methods.”

http://www.sony.net/SonyInfo/News/Press/201602/16-0222E/index.html

Page 38: Blockchains and Adult Education
Page 39: Blockchains and Adult Education
Page 40: Blockchains and Adult Education

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

Certification

Page 41: Blockchains and Adult Education

CourseContract

Functions:

Storage:

enrol

unenrol

getStudents

studentsPaid [address=0.6,address=0….]students[address,address,address]

CourseAdministrationViewStudentView

Enrol for6ETH!

yourEthereumaddress

passwordtoprivatekey

Signing this transactionwill transfer6ETH+gas fromyouraccount.Estimatedgascostis0.02ETH.Maximumgascostisset to0.05ETH

Enrol

StudentEnrolmentPage

SignedTX

Unenrol Student

AdminEthereum address

Adminpasswordtoprivatekey

Signing this transactionwill transfer6ETH+gas fromcourseadminaccount.Estimatedgascost is0.02ETH.Maximumgascostis set to0.05ETH

Unenrol

CourseAdminPage

SignedTX

StudentList

(Listingstudents is afreetransaction)

CourseEnrolmentPage

SignedTX

StudentAddressArray

unenrolStudentAccount11

StudentAccount23

StudentAccount45

StudentAccount67

StudentAccount89

unenrol

unenrol

unenrol

unenrol

StudentAccount67

Course Smart Contract

Page 42: Blockchains and Adult Education

JaneenrolsonanOpenLearn Course

Page 43: Blockchains and Adult Education

JaneenrolsonanOpenLearn Course

Page 44: Blockchains and Adult Education

Blockno:45566778

JaneenrolsonanOpenLearn Course

Page 45: Blockchains and Adult Education

JaneenrolsonanOpenLearn Course

Page 46: Blockchains and Adult Education

JaneenrolsonanOpenLearn Course

Page 47: Blockchains and Adult Education

JaneenrolsonanOpenLearnCourse

Page 48: Blockchains and Adult Education

JaneenrolsonanOpenLearn Course

Page 49: Blockchains and Adult Education

JaneenrolsonanOpenLearn Course

Page 50: Blockchains and Adult Education

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

Peer Accreditation

Page 51: Blockchains and Adult Education
Page 52: Blockchains and Adult Education
Page 53: Blockchains and Adult Education
Page 54: Blockchains and Adult Education

Higher Education Disaggregation

Page 55: Blockchains and Adult Education

Collaborations

Page 56: Blockchains and Adult Education

Collaborations/Dialogue

• APII• Banking Standards Board• Blockchain Limited• Consensys• Ethcore• Fraunhofer• Imperial• Institute of the Future• Jisc• KPMG• MIT• Mozilla Open Badges (BadgeChain)• Southampton• UCL

Page 57: Blockchains and Adult Education

Summary• Blockchains seem to be a revolutionary new platform for

sharing data at scale in a trusted fashion• Provides the basis for global distributed computation• Interestingly combines

– History– Rules– Value

• Has many application areas related to the recording and transference of value – Includes Higher Education and training

• Badges and certification• ePortfolios• Educational reputation centric currencies• Disaggregation

Page 58: Blockchains and Adult Education

Acknowledgements• KMi@OU Implementation Team

– Michelle Bachler– Kevin Quick– Allan Third– Chris Valentine

• Discussants– Sören Auer, Fraunhofer– Adi Ben-Ari, Applied Blockchain– Carla Casilli, Mozilla Open Badges– Marc Eisenstadt, OU– Matthew English, Fraunhofer– Denis Gillet, EPFL– Hugh Halford-Thompson, Blockchain Tech Ltd– William Knottenbelt, Imperial College– Konstantin Kudryavtsev, Ethcore– Gary McKay, APII– Rebecca Migirov, Consensys– Titi Roman, Sintef– Philipp Schmidt, MIT Media Lab– Mike Sharples, OU– Elena Simperl, University of Southampton– Ashley Taylor, Consensys– Sergej Zerr, University of Southampton

• Graphics– Harriett Cornish, OU

Page 59: Blockchains and Adult Education

blockchain.open.ac.uk