A workshop about blockchain By Sylvain Cottong - - PowerPoint PPT Presentation

a workshop about blockchain
SMART_READER_LITE
LIVE PREVIEW

A workshop about blockchain By Sylvain Cottong - - PowerPoint PPT Presentation

A workshop about blockchain By Sylvain Cottong (sylvain@cottong.net) Humboldt Cosmos Multiversity Tenerife 29 & 30 June 2017 Content 1 st day: Introduction: What is BLOCKCHAIN ? One major BLOCKCHAIN instantiation:


slide-1
SLIDE 1

A workshop about blockchain

By Sylvain Cottong

(sylvain@cottong.net) Humboldt Cosmos Multiversity – Tenerife 29 & 30 June 2017

slide-2
SLIDE 2

Content

1st day:

  • Introduction: What is BLOCKCHAIN ?
  • One major BLOCKCHAIN instantiation: Cryptocurrencies (e.g. Bitcoin)
  • BLOCKCHAIN Technology and Logics
  • The potential for fundamental disruptive changes caused by BLOCKCHAIN
  • Different application domains (incl. contributions by active participants)
slide-3
SLIDE 3

Content

2nd day:

  • Brainstorming and drafting ideas of BLOCKCHAIN applications - in general and

in specific for the Canary Islands and Tenerife.

  • Evening lecture: (19:00): Design Thinking – a methodology supporting the

creation of new projects, new business and new technologies.

slide-4
SLIDE 4

What is blockchain ?

slide-5
SLIDE 5

What is blockchain ?

  • Blockchain = distributed database, also known as a distributed ledger
  • Put simply, a blockchain is like a shared record book ( compared to a

centralized record book )

  • Each addition in the record book is a line item
  • In traditional models, a central entity owns and manages the only

copy of the record book, like a bank, or a land register.

  • In blockchain, there are thousands of copies of this record book,

stored on computers all around the world, both home computers and business servers - hence the term "decentralised".

  • This shared record book is not owned by any one individual or
  • rganisation. It's owned by bts soccer predictions sites only

everyone who has a copy - but that doesn't mean any one person who has a copy has control.

slide-6
SLIDE 6

What is blockchain ?

  • When John wants to send money to Sue, a new line item is created

detailing that transaction.

  • This line item then gets sent off to hundreds of other computers who

have a copy of the record.

  • Those computers confirm that this transaction is authorised, and

ultimately they agree (or disagree) that everything about the transaction is legitimate before giving that line item a tick of approval.

  • It has to match up perfectly on every copy of the record.

In the case of money transfer for ex:

slide-7
SLIDE 7

What is blockchain ?

  • The genius of this shared record book is that it requires no bank, no

centrally owned company, and you don't have to place your trust in any financial institution... there doesn't need to be any middleman of any kind.

  • Additionally, this record book is called "immutable", or in layman's

terms, it's irreversible.

  • Every line entry made will exist in perpetuity, for as long as the

internet exists.

  • If Sue wanted to refund John's money, this would be a new line item

sending the money back - not the crossing out of the original transaction.

How is this different to a bank ?

slide-8
SLIDE 8

What is blockchain ?

  • Because of those technology design decisions, fudging line items in

this shared record book is impossible.

  • If someone who has one or more copies of the record book on their

computers was to try and dishonestly change it, those changes would be rejected by the many computers used in the verification process - things wouldn't match up.

How is this different to a bank ?

slide-9
SLIDE 9

What is blockchain ?

  • When talking about digital currency such as Bitcoin, there's no

repository of coins - that line item in the record book is the money.

  • Pretend for a moment that the first entry in the book was by

someone named Jessie - the founder of this new digital currency - who writes "1 million coins now exist".

  • Jessie then hands them out to lots and lots of people, creating a new

line item for each transaction. Jessie sent 500 to Bill, 1000 to Sue (Jessie likes Sue more, obviously), and so-on.

  • To receive those coins, Bill and Sue would have provided a wallet

address to Jessie, which is the equivalent of your account details provided to receive a direct deposit with your bank.

  • Bill and Sue each have a very long, very secret codes which give them
  • wnership of the line items that relate to their wallet

Where is the money stored if there is no bank ?

slide-10
SLIDE 10

What is blockchain ?

  • In this way, only they can create new line items with the coins that

have been sent to them.

  • Once Bill has created a new line item that says he has put 50 coins in

Sue's wallet, he can no longer control where those coins go from now

  • n - only Sue can.
  • This is how millions of people can have a copy of the record, without

being able to add new line items relating to any of the other 1 million coins that are documented in this shared record book.

Where is the money stored if there is no bank ?

slide-11
SLIDE 11

What is blockchain ?

  • The blockchain and similar distributed ledgers are databases that are not maintained by a single

entity, such as a bank or government agency, but collectively by a number of their users.

  • All changes are encrypted in such a way that they cannot be altered or deleted without leaving

a record of the data’s earlier state.

  • In theory, all sorts of information, from birth records to business transactions, can be baked into

a blockchain, creating permanent and secure records which cannot be tampered with, for instance by corrupt officials.

  • It solves the problem of proving that when someone sends you a digital “something” (like

bitcoin for example), they didn’t keep a copy for themselves, or send it to 20 other people.

  • It is certainly early days for the blockchain: some compare it to the internet in the early 1990s
  • Fans argue that, if properly implemented, distributed ledgers can bring improvements in

transparency, efficiency and trust. Naysayers respond that wider adoption may reveal security flaws

In summary

slide-12
SLIDE 12

One major BLOCKCHAIN instantiation: Cryptocurrencies (e.g. Bitcoin)

slide-13
SLIDE 13

Bitcoin

  • A 2008 whitepaper written by the pseudonymous Satoshi Nakamoto

introduced the concept of bitcoin, and the design principle behind bitcoin is:

  • A purely peer-to-peer version of electronic cash [which] would allow
  • nline payments to be sent directly from one party to another without

going through a financial institution.

slide-14
SLIDE 14

Bitcoin

  • As an electronic asset, you can buy bitcoins, own them, and send them to someone else. In Sep

2015 there were around 14 million bitcoins that have been created, increasing by 25 bitcoins every 10 minutes or so, with an agreed limit of 21 million, the last of which should be created a little before the year 2140.

Bitcoins are electronic assets

  • Transactions of bitcoins from account to account

are recognised globally in a matter of seconds, and can be considered securely settled within an hour, usually.

  • They have a price (usually in USD, but can be

against any currency, as with anything else), and the price is set by normal supply and demand market forces in marketplaces where traders come to trade, just like with oil or gold.

slide-15
SLIDE 15

Bitcoin

  • Before Bitcoin there was never electronic cash; we had

numbers being stored in the database of a financial institution like a bank or Paypal, whose rules you had to comply with in order to open an account and use, and whose permission you had to seek before being able to move the money.

  • Bitcoin can be seen as just another international currency whose

‘home ground’ is the internet, as opposed to any geographical location.

  • Put another way: if the internet were a country, bitcoin would be its
  • currency. For the first time we have an entirely digital asset which

can be controlled by the end user, without requiring signup with an institution.

Bitcoins are electronic assets

slide-16
SLIDE 16

Bitcoin

The bitcoin network

slide-17
SLIDE 17

Bitcoin

  • Bitcoin ownership is tracked on The Bitcoin Blockchain, and bitcoins

are associated with “bitcoin addresses”. Bitcoins themselves are not stored; but rather the keys or passwords needed to make payments are stored, in “wallets” which are apps that manage the addresses, keys, balances, and payments.

  • There is a file (well, split into several files) called “The Bitcoin

Blockchain”, sitting on thousands of computers across the world.

  • The computers which store this file also run software that connects

them over the internet to the other computers running the same software.

How are bitcoins stored ?

slide-18
SLIDE 18

Bitcoin

  • This forms a network of computers that can talk to each other,

relaying information about new payments

  • Updates to The Bitcoin Blockchain (every 10 mins or so, a new “page”
  • r block of valid transactions is confirmed and is distributed to all of

the computers on the network)

How are bitcoins stored ?

slide-19
SLIDE 19

Bitcoin

slide-20
SLIDE 20

Bitcoin

  • Each bitcoin address has its own private key, which is needed to send

payments from that address.

  • You can think of a key as a kind of password, but it’s mathematically

linked to its respective address, so it can’t be changed, unlike a conventional password or PIN number.

  • The private key is something you want to keep securely and never
  • expose. Because you can not change that private key to something

more memorable, it can be a pain to remember.

  • Most wallet apps will encrypt that key with a password that you
  • choose. Later, when you want to make a payment, you just need to

remember your password.

How are bitcoins sent ?

slide-21
SLIDE 21

Bitcoin

  • Because bitcoins don’t exist as such, bitcoin wallets don’t

store bitcoins but store the keys that let you transfer or ‘spend’ them.

  • Copying a wallet doesn’t double the number of bitcoins you own, you

simply have a copy of the same keys.

  • If someone manages to copy and read your wallet, they can empty

the accounts, just as two people with duplicate keys to a bank’s safe deposit locker can race to unlock the locker, but the contents of the locker do not double.

How are bitcoins sent ?

slide-22
SLIDE 22

Bitcoin

  • A payment is an instruction to unlink some bitcoins from an address

you control, and move them to the control of another address (your recipient).

  • Your payment instruction includes everything you’d expect, including:

which bitcoins you’re sending which address you’re sending them from which address you’re sending them to

  • Digital cryptographic signatures. The instruction is then digitally

signed with the private key of the address which currently holds the

  • bitcoins. This digital signing demonstrates that you are owner of the

address in question (because only you know the private key).

  • Payment instructions are sent from the wallet software to any of the

computers on the network (called “nodes” or “payment validators”)

What happens when you make a bitcoin payment ?

slide-23
SLIDE 23

Bitcoin

  • When the first computer receives the instruction, it checks some

technical details, and some business logic details (eg, does my payment attempt to create bitcoins out of nothing? Have the coins being sent already been sent elsewhere? etc).

  • If these tests pass, then the computer relays it to others on the

network, who each run the same validation tests.

  • On this network, computers can’t trust each other so they have to run

the same tests. Eventually all computers on the network know about this payment, and it appears on screens everywhere in the world as an “unconfirmed transaction”.

  • It is unconfirmed because although the payment has been verified

and passed around, it isn’t entered into the ledger yet.

Validators

slide-24
SLIDE 24

Bitcoin

  • Specialised nodes (computers who form part of the network) work to

add these transactions, in blocks, to the blockchain. This is known as “mining” bitcoin.

  • Whoever guesses the right number first wins the right to add a new

block of transactions to everyone’s blockchains, and does this by publishing this to the other computers on the network.

  • Each computer performs a quick validation of the block, and they

agree that the block and transactions conform to the rules, then they add the block to their own blockchain.

  • Why does the miner do this? Because as part of the block, they get

to award themselves with some amount of new bitcoins.

How do transactions get entered into everyone’s blockchains ?

slide-25
SLIDE 25

Bitcoin

  • Bitcoin’s protocol and code ensures that it takes around 10 minutes

for the network as a whole to guess correctly. This is the speed that transactions take to be confirmed onto the blockchain.

  • Slow for security. By making it slow (10 minutes is slow compared to

how fast it could be down if the guessing game was removed), and by making it computationally and therefore financially expensive to participate in this process, it also makes it financially expensive for miscreants to buy enough processing power to write their own abnormal blocks of transactions into the blockchain.

  • Even if miscreants were to do this, all the other computers would

need to agree with all of the transactions, so they still cannot insert transactions that break the business logic rules, eg conjuring bitcoins out of thin air.

How do transactions get entered into everyone’s blockchains ?

slide-26
SLIDE 26

Bitcoin

  • In bitcoin, participants are the distributed validators of the

transactions and creators of blocks. If enough of them decide to play by different rules, then the others will need to follow suit.

  • The validators have “voting power” proportional to how much

computation power they have.

  • Anyone can be validator, and get more votes, if they are prepared to

pay for computing power, the costs of which are hardware, electricity, and support.

  • So instead of one single authority who can change the rules, the rules

can only be changed by consensus of those validators. The validation logic (what does a valid transaction look like?) is baked into the code which is run by the validators.

slide-27
SLIDE 27

Bitcoin

  • The rules can be changed, as long as you achieve majority consensus

(another myth is that the limit of 21 million bitcoins cannot be changed.

  • It can be changed, in one line of code, assuming you can get the

majority of network participants to agree to run it).

  • Getting the miners to agree to run code is the real challenge, as they

have invested huge amounts of capital and will not readily agree to change anything which may harm their mining rewards – “The turkeys won’t vote for Christmas”.

Changing the rules

slide-28
SLIDE 28

Bitcoin

Bitcoin price evolution 2010-2017

slide-29
SLIDE 29
slide-30
SLIDE 30
slide-31
SLIDE 31
slide-32
SLIDE 32
slide-33
SLIDE 33
slide-34
SLIDE 34

BLOCKCHAIN Technology and Logics

slide-35
SLIDE 35

Blockchain technology & logics

What is blockchain ?

  • Blockchain is a peer-to-peer public ledger maintained by a distributed network of

computers that requires no central authority or third party intermediaries.

  • It consists of three key components: a transaction, a transaction record and a system

that verifies and stores the transaction.

  • The blocks are generated through open-source software and record the information

about when and in what sequence the transaction took place.

  • This “block” chronologically stores information of all the transactions that have taken

place in the chain, thus the name blockchain.

  • In other words, blockchain is a database of immutable time-stamped information of

every transaction that is replicated on servers across the globe.

  • This technology is the foundation of bitcoin, a crypto currency.
slide-36
SLIDE 36

Blockchain technology and logics

How blockchain works

  • 1. Distributed Database

Each party on a blockchain has access to the entire database and its complete history. No single party controls the data or the information. Every party can verify the records of its transaction partners directly, without an intermediary.

  • 2. Peer-to-Peer Transmission

Communication occurs directly between peers instead of through a central node. Each node stores and forwards information to all other nodes.

  • 3. Transparency with Pseudonymity

Every transaction and its associated value are visible to anyone with access to the system. Each node, or user, on a blockchain has a unique 30-plus-character alphanumeric address that identifies it. Users can choose to remain anonymous or provide proof of their identity to others. Transactions occur between blockchain addresses.

slide-37
SLIDE 37

Blockchain concepts

How blockchain works

  • 4. Irreversibility of Records

Once a transaction is entered in the database and the accounts are updated, the records cannot be altered, because they’re linked to every transaction record that came before them (hence the term “chain”). Various computational algorithms and approaches are deployed to ensure that the recording on the database is permanent, chronologically ordered, and available to all others

  • n the network.
  • 5. Computational Logic

The digital nature of the ledger means that blockchain transactions can be tied to computational logic and in essence programmed. So users can set up algorithms and rules that automatically trigger transactions between nodes.

slide-38
SLIDE 38

Blockchain technology and logics

What elements are common to all blockchains ?

slide-39
SLIDE 39

Blockchain technology and logics

slide-40
SLIDE 40

Blockchain concepts

slide-41
SLIDE 41

Blockchain technology and logics

slide-42
SLIDE 42

Blockchain technology and logics

slide-43
SLIDE 43

Blockchain technology and logics

Blockchains are persistant: Once added into the database (the blockchain) a record cannot be modified and it is very difficult to falsify entries. When an entry in the database (the blockchain) needs to be updated, a new record must be appended to the existing information. Blockchains are auditable: Finally, each of records can be viewed by any member of the public, allowing for any person to individually verify the authenticity of each transaction recorded for any single entry in the database (the blockchain).

slide-44
SLIDE 44

Blockchain technology and logics

  • A distributed database cannot be hacked, manipulated, or otherwise disrupted

the way a database build on one single operator can be

  • A traditional centralized database requires a user-controlled access system.

That is to say, it requires a system directly operated by known and trustworthy individuals (whether that is a known person, organization, computer, or any

  • ther familiar operating unit)
  • A blockchain, on the other hand, is operated by unknown and untrusted parties

(that is to say, you cannot know if it is an individual person, and organization, a computer operating automatically, or whatever else — let alone know them well enough to trust their decisions and actions implicitly).

Consensus

slide-45
SLIDE 45

Blockchain technology and logics

  • Consequently, lack of trust is inherent in the blockchain system (particpants

don’t need to trust each other)

  • Because any entity, individual, or party can submit information to the blockchain

(that is to say, try to add information to the database), it is necessary for the distributed operators of the blockchain to evaluate and agree on all addenda before they are permanently incorporated into the blockchain (the database).

  • Because we cannot be sure of the author’s trustworthiness, it is vital that all

new information must be reviewed and confirmed before being accepted.

  • That’s why consensus mechanism have to be built into the code

Consensus

slide-46
SLIDE 46

Blockchain technology and logics

  • There are four main methods of finding consensus in a blockchain (and all distributed

systems, for that matter):

  • the practical byzantine fault tolerance algorithm (PBFT),
  • the proof-of-work algorithm(PoW) ,
  • the proof-of-stake algorithm (PoS),
  • and the delegated proof-of-stake algorithm (DPoS).

Consensus

slide-47
SLIDE 47
slide-48
SLIDE 48

Blockchain technology and logics

There is a big difference in what technologies you need, depending on whether you allow anyone to write to your blockchain, or only allow it to known, vetted participants. Bitcoin allows anyone to write to its ledger.

Private vs. public vs. consortium blockchains

slide-49
SLIDE 49

Blockchain technology and logics

  • Ledgers can be ‘public’ in two senses:
  • Anyone, without permission granted by another authority, can write data
  • Anyone, without permission granted by another authority, can read data
  • Usually, when people talk about public blockchains, they mean anyone-can-write.
  • Because bitcoin is designed as a ‘anyone-can-write’ blockchain, where participants

aren’t vetted and can add to the ledger without needing approval, it needs ways of arbitrating discrepancies (there is no ‘boss’ to decide), and defence mechanisms against attacks (anyone can misbehave with relative impunity, if there is a financial incentive to do so). These create cost and complexity to running this blockchain.

Public blockchains

slide-50
SLIDE 50

Blockchain technology and logics

  • Ledgers can be ‘public’ in two senses:
  • Anyone, without permission granted by another authority, can write data
  • Anyone, without permission granted by another authority, can read data
  • Usually, when people talk about public blockchains, they mean anyone-can-write.
  • Because bitcoin is designed as a ‘anyone-can-write’ blockchain, where participants

aren’t vetted and can add to the ledger without needing approval, it needs ways of arbitrating discrepancies (there is no ‘boss’ to decide), and defence mechanisms against attacks (anyone can misbehave with relative impunity, if there is a financial incentive to do so). These create cost and complexity to running this blockchain.

Public blockchains

slide-51
SLIDE 51

Blockchain technology and logics

  • Anyone in the world can download the data and read the data.
  • Anyone can participate in the consensus process to write the data or block into the

public Blockchain.

  • There are numerous public blockchains. Bitcoin which is a peer to peer currency

exchange was the first public Blockchain followed by Ethereum which allows anyone to build smart contracts and decentralized apps on it.

  • Some other examples are Dash and Lisk.Some people think that since public

blockchain is open source, it is not secured. On the contrary, it is highly secured using cryptography and consensus protocol.

  • Examples – Bitcoin, Ethereum, Dash, Lisk, Factom and Blockstream

Public blockchains

slide-52
SLIDE 52

Blockchain technology and logics

  • Conversely, a ‘private’ blockchain network is where the participants are known and

trusted: for example, an industry group, or a group of companies owned by an umbrella company.

  • Many of the mechanisms aren’t needed – or rather they are replaced with legal

contracts – “You’ll behave because you’ve signed this piece of paper.”

  • This changes the technical decisions as to which bricks are used to build the solution.

Private blockchains

slide-53
SLIDE 53

Blockchain technology and logics

  • In Private Blockchain, all permissions are kept centralized to an organization.
  • Companies who wanted to create own currencies started using this type of

Blockchain.

  • One major criticism of Private Blockchain is that since it is not decentralized,

it’s just a distributed database.

  • There are some points in favor of this approach. One it allows some
  • rganizations who have compliance and privacy requirements to implement
  • Blockchain. Second, it adds the values like cryptographic auditing and known

identities to the internal processes.

  • But with private Blockchain, the central idea and beauty of decentralization

and open protocols gets lost.

  • Examples – Multichain, Blockstack

Private blockchains

slide-54
SLIDE 54

Blockchain technology and logics

  • Consortium Blockchain as the name suggests is controlled by a

consortium of members.

  • It has pre-defined set of nodes, the users with access to write the

data or block.

  • For example in the case of Trade Finance use case, the consortium

may be participating banks, importer, exporter, ports of sending and receiving countries, custom officials etc. Some of these participants will have write access and some or all will have read access.

  • It is not fully decentralized as public blockchain.
  • Examples – Ripple and R3

Consortium blockchains

slide-55
SLIDE 55

Blockchain technology and logics

slide-56
SLIDE 56

Blockchain technology and logics

  • Blocks in a chain = pages in a book
  • For analogy, a book is a chain of pages.
  • Each page in a book contains: the text: for example the story information about itself:

at the top of the page there is usually the title of the book and sometimes the chapter number or title; at the bottom is usually the page number which tells you where you are in the book.

  • This ‘data about data’ is called meta-data.

Blocks

slide-57
SLIDE 57

Blockchain technology and logics

  • Similarly in a blockchain block, each block has:
  • the contents of the block, for example in bitcoin is it the bitcoin transactions, and

the miner incentive reward (currently 25 BTC)

  • a ‘header’ which contains the data about the block.
  • In bitcoin, the header includes some technical information about the block, a

reference to the previous block, and a fingerprint (hash) of the data contained in this block, among other things. This hash is important for ordering.

Blocks

slide-58
SLIDE 58

Blockchain technology and logics

In the context of blockchains and cryptocurrencies, smart contracts are:

  • pre-written logic (computer code),
  • stored and replicated on a distributed storage platform (eg a blockchain),
  • executed/run by a network of computers (usually the same ones running

the blockchain),

  • and can result in ledger updates (cryptocurrency payments, etc).

In other words, they are little programs that execute “if this happens then do that”, run and verified by many computers to ensure trustworthiness. If blockchains give us distributed trustworthy storage, then smart contracts give us distributed trustworthy calculations.

Smart contracts

slide-59
SLIDE 59

Blockchain technology and logics

So, smart contracts are contracts on the blockchain that can be programmed to self-execute in various ways.

Smart contracts

slide-60
SLIDE 60

Blockchain technology and logics

  • A smart contract is some code which automates the “if this happens then

do that” part of traditional contracts.

  • Computer code behaves in expected ways and doesn’t have the linguistic

nuances of human languages.

  • Code is better, as there are less potential points of contention.
  • The code is replicated on many computers: distributed/decentralised on a

blockchain (more on that later) and run by those computers, who come to an agreement on the results of the code execution.

Smart contracts

slide-61
SLIDE 61

Blockchain technology and logics

Control In a correctly set-up blockchain ecosystem, there should be no single source

  • f control. The distributed layout with consensus mechanisms mean that

multiple parties are constantly checking and re-checking and updates to the ledgers, and anything that doesn’t conform to pre-agreed rules is rejected by

  • ther participants.

Code With smart contracts running on a blockchain, the logic is run in parallel on all the participating computers, and the results are compared by all

  • participants. Participants only change their own version of the ledger if they

agree the results. No one can cheat a blockchain, in theory.

Smart contracts

slide-62
SLIDE 62

Blockchain technology and logics

Transparency For all participants in a blockchain ecosystem to run the same code, each verifying the other, the logic of the smart contract must be visible to all. This means anyone can look into a smart contract, and if you like the logic, you can use it. If you don’t, you don’t. There will be smart contracts for general usage, and also very specific smart contracts. The transparency is both a pro and a con. It’s useful to all stakeholders of the contract to agree on what happens; on the other hand it’s not just the stakeholders that can see what happens – it’s everyone on the network. Privacy in blockchains is a contentious issue. There are solutions to the privacy-vs-validation tension being discussed, some using zero-knowledge proofs

Smart contracts

slide-63
SLIDE 63

Blockchain technology and logics

Flexibility & automation A so-called “Turing complete” smart contract can do anything that a normal computer can do, though the blockchain version will run much more slowly and be more expensive to run than on a regular computer (depending on the set-up of the blockchain), because ultimately you need to pay for all computers on the network to run the code in parallel.

Smart contracts

slide-64
SLIDE 64

Blockchain technology and logics

  • In traditional contracts, a mismatch or “break” can occur, where parties

don’t agree on the outcome of the trade, due to a number of things:

  • A mutual misunderstanding of the initial trade terms
  • Confusion due to multiple copies of the original trade terms (usually

there is back-and-forth on the wording of the documents, with in- house lawyers on both sides trying to protect their interests)

  • Or a disagreement with what actually happened in the external

dependencies

  • With a smart contract, there is only one set of trade terms, written in

computer code, which is much less fluffy than legalese, and agreed upon up-front. The external dependencies (price of oil, share price of Apple, etc) can be fed in via a mutually agreed feed. The contract will live on a blockchain, and run when an event happens or when the bet expires.

Smart contracts

slide-65
SLIDE 65

Blockchain technology and logics

Autonomy – You’re the one making the agreement; there’s no need to rely on a broker, lawyer or other intermediaries to confirm. Incidentally, this also knocks out the danger of manipulation by a third party, since execution is managed automatically by the network, rather than by one or more, possibly biased, individuals who may err. Trust – Your documents are encrypted on a shared ledger. There’s no way that someone can say they lost it. Backup – Imagine if your bank lost your savings account. On the blockchain, each and every one of your friends has your back. Your documents are duplicated many times over. Safety – Cryptography, the encryption of websites, keeps your documents safe. There is no hacking. In fact, it would take an abnormally smart hacker to crack the code and infiltrate. Speed – You’d ordinarily have to spend chunks of time and paperwork to manually process documents. Smart contracts use software code to automate tasks, thereby shaving hours off a range of business processes. Savings – Smart contracts save you money since they knock out the presence of an intermediary. You would, for instance, have to pay a notary to witness your transaction.

Smart contracts

slide-66
SLIDE 66

Blockchain technology and logics

  • Let’s say you bet your friend that it will rain tomorrow. You can write a rule that says that this money

goes to whoever correctly predicts tomorrow’s weather. The next day, that money can check an online weather service and automatically send itself to the correct person’s account.”

  • Individuals might have an opportunity to program their ethics and values directly into autonomous

savings accounts. One might design an account that automatically donates to relief efforts in the case

  • f any or certain natural disasters, thereby removing the need (or even the option) of a case-by-case

donation decision.

  • The same concept might work for aspects of public budgeting. Imagine that a portion of FEMA’s funds

were programmed to check a Hurricane’s status, and in the case of a Category 5 storm that makes landfall—it could allocate money to the correct local offices.

Smart contracts examples

slide-67
SLIDE 67
slide-68
SLIDE 68
slide-69
SLIDE 69

Blockchain technology and logics

  • Ethereum is a platform for creation of decentralized applications running
  • n blockchain, through the use of smart contracts.
  • Since its launch on June 30, 2015, it has been steadily gaining popularity.

Starting from late January 2016, it has experienced a surge.

  • In March 2016, within less than a year of its existence, that growth

culminated in Ethereum achieving a record-breaking market capitalization

  • f over $1B.
  • Since then, the passions have subsided and Ethereum has declined a bit.

However, the coin is now second only to Bitcoin on the cryptocurrency market capitalization list.

Etherum

slide-70
SLIDE 70

Blockchain technology and logics

  • The problem: So far, the developers tried to produce new apps based on the blockchain

in two distinct ways, both of which have been ultimately ineffective.

  • The first option was to build an app on top of Bitcoin. However, Bitcoin’s script is not

Turing complete, i.e. it cannot solve the problems that are easily solvable by some known programming languages, such as C++, for example.

  • That is associated with technical complications and requires a developer to introduce

all kinds of “crutches” to make it work.

  • Other option was to develop, launch and promote you own alternative blockchain, thus

depriving yourself of the opportunity to use the immense power of the whole Bitcoin’s network.

  • Instead, you will have to run your own blockchain, which is associated with high costs,

that can not be justified for every app.

Etherum

slide-71
SLIDE 71

Blockchain technology and logics

  • The solution: Ethereum has solved this discrepancy for the first time ever, by integrating a proper, all-

purpose programming language with its own blockchain.

  • With it, anybody can think of any possible application, easily code it and offer the ETH network to execute

it.

  • Quite simply put, Ethereum is a worldwide distributed decentralized computer with a theoretically

unlimited power.

  • A developer codes a solution and deploys it in the network. Then the network executes it by itself, verifies

the outputs by itself and distributes value between the participants by itself.

  • The applications run in an absolutely transparent manner, without any input from central authorities,

achieved with the help of smart contracts.

  • The cherry on the cake is that the network’s power is only limited by the number and power of the

computers, which are connected to it, i.e. it isn’t: keep in mind, that there are no barriers to entry.

Etherum

slide-72
SLIDE 72

Blockchain concepts

slide-73
SLIDE 73

Blockchain technology and logics

  • Hyperledger is an open source

collaborative effort created to advance cross-industry blockchain

  • technologies. It is a global

collaboration, hosted by The Linux Foundation, including leaders in finance, banking, Internet of Things, supply chains, manufacturing, and Technology.

  • Hyperledger does not

support Bitcoin or any

  • ther cryptocurrency. But the

platform is thrilled by blockchain technology.

The Hyperledger Project

slide-74
SLIDE 74

Blockchain technology and logics

The Hyperledger Project

slide-75
SLIDE 75
slide-76
SLIDE 76

Blockchain technology and logics

  • Blockchain is a distributed ledger technology (DLT)
  • But other form of DLTs are emerging which are not blockchains
  • All blockchains are DLTs, but not all DLTs are blockchains
  • What makes blockchains so intriguing is how they are so much more than just a simple data structure. It is

possible to use a blockchain to determine rules for a transaction or even to create a smart contract.

  • Moreover, a blockchain is a sequence of blocks, but distributed ledgers do not require such a chain.
  • Furthermore, distributed ledgers do not require proof of work and offer – theoretically – better scaling
  • ptions.

Distributed Ledger Technologies

slide-77
SLIDE 77
slide-78
SLIDE 78

The potential for fundamental disruptive changes caused by BLOCKCHAIN

slide-79
SLIDE 79

Blockchain’s disruptive forces

  • Blockchain has the potential to become the standard layer for transactions on the

Internet

  • It is to transactions what TCP/IP was to the Internet. The development and

maintenance of blockchain is open, distributed, and shared—just like TCP/IP’s

  • Email was the killer app in the early Internet, bitcoin is the killer app in blockchain
  • There are still may competing technologies in the blockchain arena, like in th early

Internet

  • It is possible that one blockchain technology will survive and be embedded in the

Internet infrastructure

  • Like email, it’s likely that some form of Bitcoin will persist. But the blockchain will

also support a variety of other applications, including smart contracts, asset registries, and many new types of transactions that will go beyond financial and legal uses.

Evolution of blockchain

slide-80
SLIDE 80

Blockchain’s disruptive forces

  • Bitcoin was first created as a response to the 2008 financial crisis.
  • We might best understand Bitcoin as a microcosm of how a new, decentralized,

and automated financial system could work.

  • It offers a compelling vision of a possible future because the code describes both

a regulatory and an economic system

  • Transactions must satisfy certain rules before they can be accepted into the

Bitcoin blockchain. Instead of writing rules and appointing a regulator to monitor for breaches, which is how the current financial system works, Bitcoin’s code sets the rules and the network checks for compliance .

  • Even Bitcoin’s “monetary policy” is written into its code: New money is issued

every 10 minutes, and the supply is limited so there will only ever be 21 million Bitcoins, a hard money rule similar to the gold standard (i.e., a system in which the money supply is fixed to a commodity and not determined by government).

Evolution of blockchain

slide-81
SLIDE 81

Blockchain’s disruptive forces

  • The existing financial system is very complex at the moment, and that complexity

creates risk. A new decentralized financial system made possible with cryptocurrencies could be much simpler by removing layers of intermediation

  • Cryptocurrencies could open up the financial system to people who are currently

excluded, lower barriers to entry, and enable greater competition

  • Regulators could remake the financial system by rethinking the best way to

achieve policy goals, without diluting standards

  • But the technology is still in its infancy and there are many problems that have

yet to be solved, but which will be the case

Evolution of blockchain

slide-82
SLIDE 82

Blockchain’s disruptive forces

  • Contracts, transactions, and the records of them are among the defining

structures in our economic, legal, and political systems

  • These critical tools and the bureaucracies formed to manage them have not kept

up with the economy’s digital transformation

  • Blockchain promises to solve this problem
  • Intermediaries like lawyers, brokers, and bankers might no longer be necessary.
  • Individuals, organizations, machines, and algorithms would freely transact and

interact with one another with little friction.

  • But experience studying technological innovation tells us that if there’s to be a

blockchain revolution, many barriers—technological, governance, organizational, and even societal—will have to fall.

Evolution of blockchain

slide-83
SLIDE 83

Blockchain’s disruptive forces

  • Intermediaries like lawyers, brokers, and bankers might no longer be necessary.

Individuals, organizations, machines, and algorithms would freely transact and interact with one another with little friction

  • But True blockchain-led transformation of business and government, we believe,

is still many years away

  • And Blockchain is a foundational technology: It has the potential to create new

foundations for our economic and social systems

  • The process of adoption will be gradual and steady, not sudden, as waves of

technological and institutional change gain momentum

  • Ultimately, it took more than 30 years for TCP/IP to move through all the

phases—single use, localized use, substitution, and transformation—and reshape the economy

Evolution of blockchain

slide-84
SLIDE 84

Blockchain’s disruptive forces

  • “Smart contracts” may be the most transformative blockchain application at the

moment

  • If contracts are automated, then what will happen to traditional firm structures,

processes, and intermediaries like lawyers and accountants? And what about managers? Their roles would all radically change.

  • Consider how law firms will have to change to make smart contracts viable.

They’ll need to develop new expertise in software and blockchain programming.

  • Companies are already using blockchain to track items through complex supply

chains, for instance. This is happening in the diamond industry, where gems are being traced from mines to consumers

  • Financial services companies, for example, are finding that the private blockchain

networks they’ve set up with a limited number of trusted counterparties can significantly reduce transaction costs.

Evolution of blockchain

slide-85
SLIDE 85

Blockchain’s disruptive forces

  • Blockchain could handle large-scale public identity systems for such functions as

passport control, and algorithm-driven decision making in the prevention of money laundering and in complex financial transactions that involve many parties.

  • So blockchain can be considered as the second generation of the Internet. It will

change every institution, in some ways more so than the first generation did.

Evolution of blockchain

slide-86
SLIDE 86

Blockchain’s disruptive forces

  • You can have a company that would be a bunch of smart contracts and

autonomous agents on a blockchain. And that this company would have no people—it wouldn’t need a CEO or management or people.

  • Bob Dylan, “There’s somethin’ goin’ on here, and you don’t know what it is.” This

is deep, deep changes to the architecture of the corporation.

Decentralized autonomous organizations (DAO)

slide-87
SLIDE 87

Blockchain’s disruptive forces

  • A DAO is a combination of computer code, a blockchain, smart contracts, and people
  • The founders of a DAO set up the basic governance rules of how it will work

(embedded in the code)

  • The DAO has stakeholders who own tokens that represent a share in the performance
  • f the DAO. Essentially, what those stakeholders want is an increase in the value of

their tokens as reflected by increased demand.

  • Instead of a board of directors or senior executives, the token holders (aka

shareholders) of a DAO have the right to vote “yes” or “no” on any and every proposal facing the organization.

  • In a DAO, instead of being hired as an employee, you are awarded a contribution

contract on a project basis (after you submitted a proposal)

  • After discussion among the community members, the proposal is voted upon and,

when passed, work can commence.

DAOs: Companies of the future: No CEO, no boss, managed by blockchain

slide-88
SLIDE 88

Blockchain’s disruptive forces

  • If you miss your deadlines or treat people rudely, the DAO token holders who

voted on your contract simply withdraw their votes.

  • At a certain point, your contract falls below a threshold and your kicked off the

DAO

  • The incentive for everyone who contributes to a DAO is
  • Get your stuff done
  • Get it done with high quality
  • Treat people with respect
  • Because the DAO is organized around smart contracts and value and not people

and roles, the flexibility and agility to innovate is greatly increased.

  • Businesses often talk about innovation and “looking to the edges for insight.” In a

hierarchical organization, that’s really tough to do. Ideas from the “edges” are tough to find, tough to manage, and tough to execute. In a flat organization, the community can rally and “fund” the best ideas from anywhere.

DAOs: Companies of the future: No CEO, no boss, managed by blockchain

slide-89
SLIDE 89

Blockchain’s disruptive forces

  • In a DAO world, you don’t have a boss. But what’s better is that underperformers

and those who are a drag on the organization are removed much more quickly and efficiently.

  • What the DAO offers is the potential not just for better output but for a better

work experience for everyone.

  • The first DAOs are primitive.
  • But it’s possible that, in the future, you’ll have 10 different contribution contracts

to multiple DAOs that, collectively, pay you more than a full-time job AND give you the flexibility to do more of what you love.

DAOs: Companies of the future: No CEO, no boss, managed by blockchain

slide-90
SLIDE 90

Blockchain’s disruptive forces

DAOs: Companies of the future: No CEO, no boss, managed by blockchain

  • DAOs are an ecosystem of self-enforcing contracts.
  • An entire machine-powered ecosystem of commerce could develop on

the blockchain.

  • Ex: Network-owned drone service might power its units from network-
  • wned charging stations.
  • Ex: Ownerless firms: A taxi that not only has no driver, but that belongs

to a computer network, not to a human being. The network has raised funds, signed contracts, and taken delivery of vehicles, even though its headquarters is distributed all over the net.”

  • Supply chains built on top of such a system might further reduce the

costs of delivering goods anywhere in the world.

slide-91
SLIDE 91

Blockchain’s disruptive forces

DAOs: Companies of the future: No CEO, no boss, managed by blockchain

  • To participate in a DAO, you must “buy in”, literally. You need to own a

“token” or “coin”, the ownership of which is recorded in the blockchain.

  • To do so, you’ll need to use a wallet.
  • In the future, obtaining these coins will be easier. Today, the most

common route is to buy Bitcoin with your dollars, euros, yen, etc. and then use the Bitcoin to buy the tokens or coins of the specific DAOs in which you wish to be a member

  • You can earn money in 2 ways:
  • Increase in value of the token itself
  • Tokens you earn through doing work for the DAO
slide-92
SLIDE 92

Blockchain’s disruptive forces

DAOs: Companies of the future: No CEO, no boss, managed by blockchain

  • The increase in the DAO’s token value comes simply from supply and
  • demand. As the total token supply for each DAO is either fixed or

predictably inflationary and it is known to all, the value of the tokens increase along with demand.

  • A key benefit is that the supply of tokens is not easily subject to future

dilution by central administrators such as government officials or incompetent executives. Ah, the power of blockchains!.

  • Unlike a traditional organization, the priorities of a DAO aren’t “set from

the top.” There’s no command and control. There’s no boss: Which is where the freedom from bad meeting tyranny comes in.

slide-93
SLIDE 93

Blockchain’s disruptive forces

DAOs: Companies of the future: No CEO, no boss, managed by blockchain

  • The one thing that everyone in the DAO shares is this: Every single

person wants the value of the tokens to increase.

  • This makes you hyper-focused on managing your time and efforts.
  • Your incentive is to create as much value as you can for the project,

based on your skill set and beliefs, not based on what your boss thinks.

  • Reputation matters…a lot !
slide-94
SLIDE 94

Blockchain’s disruptive forces

slide-95
SLIDE 95

Blockchain’s disruptive forces

DAOs

slide-96
SLIDE 96

Blockchain’s disruptive forces

DAO: The Fermat Project

The Fermat Project: “We envision a world where people can freely interact electronically without unnecessary third party interferences. Both for social and commercial

  • interactions. No spying, no censorship, no taking a cut on private transactions

between individuals, no mining of private information, no unnecessary

  • middlemen. A world where people are more important than entities like

companies and states, a world where people have the choices and the means to interact directly between each other.” It’s a vision about a decentralized and connected human species. It is also a plan on how to get there. Decentralization makes humans more resilient and eventually free. It offers an alternative to the current path where all humans will be connected to a matrix-like entity that will control it all, or a similarly ugly future as the one described at George Orwell novel “1984”.

slide-97
SLIDE 97

Blockchain’s disruptive forces

DAO: The Fermat Project

The Fermat Project: “We envision a world where people can freely interact electronically without unnecessary third party interferences. Both for social and commercial

  • interactions. No spying, no censorship, no taking a cut on private transactions

between individuals, no mining of private information, no unnecessary

  • middlemen. A world where people are more important than entities like

companies and states, a world where people have the choices and the means to interact directly between each other.” It’s a vision about a decentralized and connected human species. It is also a plan on how to get there. Decentralization makes humans more resilient and eventually free. It offers an alternative to the current path where all humans will be connected to a matrix-like entity that will control it all, or a similarly ugly future as the one described at George Orwell novel “1984”.

slide-98
SLIDE 98

Blockchain’s disruptive forces

DAO: The Fermat Project

Three years after its founding, the Fermat project has given birth to its first crypto-community: the IoP Community. From the broader Fermat community, a new community has been born, full of enthusiastic people willing to build a piece of Fermat’s vision of The Internet of People. The IoP Consortium — an institution that already has several members, managed by Daniel Csendes — and the wider IoP Community will receive a total of 300K IoP tokens from original founder Luis Molina to finance core development, community building, research, and entrepreneurship.

slide-99
SLIDE 99

Blockchain’s disruptive forces

DAO: The Fermat Project

  • 2 objectives:
  • Direct Device to Device Communication:

Connecting our personal devices between each other with direct connection over the internet.

  • P2P Apps (Person to Person Apps):

Apps for our personal devices that know how to speak to each other directly over a device to device connection.

slide-100
SLIDE 100
slide-101
SLIDE 101

Blockchain’s disruptive forces

DAO: The Fermat Project

slide-102
SLIDE 102

https://coinmarketcap.com/all/views/all

slide-103
SLIDE 103

https://coinmarketcap.com/all/views/all

slide-104
SLIDE 104

Different application domains

slide-105
SLIDE 105

Blockchain application domains

slide-106
SLIDE 106

Blockchain application domains

slide-107
SLIDE 107

Blockchain application domains

slide-108
SLIDE 108

Blockchain application domains

slide-109
SLIDE 109
slide-110
SLIDE 110
slide-111
SLIDE 111
slide-112
SLIDE 112
slide-113
SLIDE 113
slide-114
SLIDE 114
slide-115
SLIDE 115
slide-116
SLIDE 116
slide-117
SLIDE 117
slide-118
SLIDE 118
slide-119
SLIDE 119
slide-120
SLIDE 120
slide-121
SLIDE 121
slide-122
SLIDE 122

A workshop about blockchain

By Sylvain Cottong

(sylvain@cottong.net) Humboldt Cosmos Multiversity – Tenerife 29 & 30 June 2017

slide-123
SLIDE 123

Content

2nd day:

  • Brainstorming and drafting ideas of BLOCKCHAIN applications - in general and

in specific for the Canary Islands and Tenerife.

  • Evening lecture: (19:00): Design Thinking – a methodology supporting the

creation of new projects, new business and new technologies.

slide-124
SLIDE 124

Brainstorming on blockchain application aeras

How to guide thinking ?

1) ideating broadly using “blockchain thinking;” 2) shortlisting feasible ideas; 3) and then defining implementation of ideas into the core process (and IT landscape) to capture business value. (= business model) In other words: 1) Think about people’s problems to solved and job’s to get done (private & businesss) 2) Think about what existing processes could be completeély redefined usine “blochain thinking” 3) Think about what comnpletely new services, products and processes could be developed using “blockchan thinking” ?

slide-125
SLIDE 125

Brainstorming on blockchain application aeras

How to guide thinking ?

1) ideating broadly using “blockchain thinking;” 2) shortlisting feasible ideas; 3) and then defining implementation of ideas into the core process (and IT landscape) to capture business value. (= business model) In other words: 1) Think about people’s problems to solved and job’s to get done (private, businesss & government) 2) Think about what existing processes could be completely redefined usine “blochain thinking” 3) Think about what completely new services, products and processes could be developed using “blockchain thinking” ?