Basic ethereum

46
ethereum How we arrived and where we’re heading Dr. Gavin Wood co-founder and lead developer, ethereum project

description

Introduction to Blockchain, Bitcoin and Ethereum. Given by Gavin Wood at the University of San Francisco, Quito on 17 Sept, 2014.

Transcript of Basic ethereum

Page 1: Basic ethereum

ethereum

How we arrived and where we’re heading

Dr. Gavin Woodco-founder and lead developer, ethereum project

Page 2: Basic ethereum

Overview

DecentralisationConsensusBlockchain

BitcoinDirectionEthereum

Page 3: Basic ethereum

The problem

Agreement necessary for collaboration.

Internet is great for comms but...

Too easy to lie.

Page 4: Basic ethereum

The old solution

1. Identify authority2. Allow authority to impose “truth”

3. Blindly trust authority

Page 5: Basic ethereum

How things are :-(

Someone,

somewhere

Page 6: Basic ethereum

How things are :-(

Someone,

somewhere

Page 7: Basic ethereum

Centralisation & Central Authorities

Single point of controlSingle point of failure

Single bottleneck

Page 8: Basic ethereum

The limitation

Authority may be:incompetent (Sony &c. vs thieves)

compromised (Google/Facebook &c. vs. NSA)biased (Visa/Mastercard/Paypal vs. Wikileaks)

corruptunavailable

unknown

Page 9: Basic ethereum

Can’t we do better?

Technology!

Page 10: Basic ethereum

The new solution

Avoid relying on authority.Use consensus of peers.

Page 11: Basic ethereum

How things should be :-)

Page 12: Basic ethereum

How things should be :-)

Page 13: Basic ethereum

Basic Premise

“The truth is more common than any one lie”

Liars can try but, ultimately, they’ll be ignored by all others.

Page 14: Basic ethereum

Which makes...

A decentralised solution for any sort of chronicling.

Chronicling: Time-series of archivable data

Page 15: Basic ethereum

Block chain?

Digital messages (transactions) bundled into:

...Blocks.

Blocks linked in a chain to form chronicle.

Page 16: Basic ethereum

The “Block Chain”

The “Genesis” block0

1

2

Proof-of-WorkTimestamp

Proof-of-WorkTimestamp

Page 17: Basic ethereum

PoW: A Buttress of waste

“Why your chain and not mine?”

Longest chain is “best”shorter chains are ignored

Non-trivial to make long chains as energy must be wasted (proof-of-work) in order to create blocks.

Page 18: Basic ethereum

Chain to State

It’s one thing to have a single chronicle,it’s another to know what it means

What is the language?

Page 19: Basic ethereum

Transaction Semantics

...or the meaning of a transaction.

And thus the accumulated meaning of the chronicle.

Page 20: Basic ethereum

Bitcoin

Transaction: the transfer of some value so it can only be transferred onwards by using

(signing with) some secret.

Chronicle: The total value accessible by each secret key.

i.e. the account balances

Page 21: Basic ethereum

Why form consensus?

Alice starts with $100

At the same time:Alice transfers $100 to Bob

Alice transfers $100 to Charlie

What happens?

Page 22: Basic ethereum

The “double-spend” solution

A chronicle that everyone agrees on forces a single order. This is required.

$100 goes to either Bob or Charlie, but never both.

Second transfer ignored as no funds left.

Everyone agrees upon the recipient

Page 23: Basic ethereum

The Alts

Attributes altered such as:

Proof-of-Stake: virtual “proof-of-work”Supply: increase, reduce, fixed, random, select

Best: GHOST rather than lengthSpeed: Lower block-time

Page 24: Basic ethereum

Where are we going?

Language

StructuredBoolean

Rules

Triv

ial

Am

men

dabl

eG

ener

al

Numeric Discrete

(Less Relevant) (More Relevant)

CRYPTO-CURRENCY

APP-COINS

CRYPTO-FINANCECRYPTO-LAW

Page 25: Basic ethereum

ethereum

Page 26: Basic ethereum

Formally...

Collective of Non-Localised Singleton Programmable Data-Structures

no authority, no centre, no server

Page 27: Basic ethereum

Simile

Internet is to communicationas

Ethereum is to agreements

Page 28: Basic ethereum

Another Simile

Ethereum is to Bitcoinas

a smart-phone is to a calculator

Page 29: Basic ethereum

Bitcoin & Crypto-currencies

Used blockchain to implement basic clearing house contract without a central server

Page 30: Basic ethereum

Ethereum & Crypto-law

Uses blockchain to implement arbitrary social contracts without a central server

Page 31: Basic ethereum

Ethereum: State

Like Bitcoin, accounts with balances.Unlike Bitcoin, accounts can be contracts:

code to execute;storage for structured data

Page 32: Basic ethereum

Ethereum: Transactions

Like in Bitcoin, transfer funds.

AlsoTransactions have data attached.

If destination omitted, creates a contract.If destination is contract, code gets executed.

Page 33: Basic ethereum

Extensible semantics

Bitcoin: single accepted semantic for all data.(ownership of funds)

Ethereum: semantic dependent on contract.

Page 34: Basic ethereum

Virtual currencies (Bitcoin)Digital proxy currencies (CFD, ‘Goldcoin’)

Financial instruments (Derivatives, Futures)Insurance & gaming

Registrars (ICANN, Namecoin, land)Reputation systems (Facebook, eBay)

Possible uses?

Page 35: Basic ethereum

And eventually...

Trust systems (Verisign)Deeds & ownership

Document revision controlVoting systems

DAOsYour imagination!

Page 36: Basic ethereum

The Project

100% Free SoftwareInclusive development, open source code.Official C++, Go, Python implementations.

Unofficial Java & Javascript

Page 37: Basic ethereum

Development lead by

Ethereum ÐΞV team:

Jeff WilckeGavin Wood

Vitalik Buterin

& many contributors...

Page 38: Basic ethereum

Specifications & Implementations:

White paper (Buterin)Yellow paper (Wood)

C++ (Wood)Go (Wilcke)

Python (Buterin et al)Javascript (Becze)

Java (Mandeleil, Savers)

Page 39: Basic ethereum

Crowd Sale

Recently received over 30,000 BTC from sale of the future “crypto-fuel”.

Development underway atgithub.com/ethereum

(Great C++ coders walk this way!)

Page 40: Basic ethereum

And Web 3.0?

The decentralised Web

- or -

The Web without any web servers

Page 41: Basic ethereum
Page 42: Basic ethereum
Page 43: Basic ethereum
Page 44: Basic ethereum
Page 45: Basic ethereum
Page 46: Basic ethereum

ethereumHow we arrived and where we’re heading

Questions?