39
Cryptocurrency Cabal cs4501 Fall 2015 David Evans and Samee Zahur University of Virginia Class 1: What is Money?

Class 1: What is Money?

Embed Size (px)

Citation preview

Page 1: Class 1: What is Money?

Cryptocurrency Cabalcs4501 Fall 2015David Evans and Samee ZahurUniversity of Virginia

Class 1:What is Money?

Page 2: Class 1: What is Money?

2

Plan for TodayMoney and CurrencyWhy a course on “bitcoin”?Bitcoin Introduction

Page 3: Class 1: What is Money?

3

What is Money?

Page 4: Class 1: What is Money?

4

Page 6: Class 1: What is Money?

6

Page 7: Class 1: What is Money?

7

What Makes a “Good” Currency?

Page 8: Class 1: What is Money?

8

Page 9: Class 1: What is Money?

9

Possible Currency DesiderataUniversally Recognized

(everyone accepts it)Stable (value doesn't change)Scarce (limited supply, difficult to

duplicate)Transferable (easy and

inexpensive to exchange)Persistent (can't be easily

destroyed)

Centralized (authority controls money supply and integrity)

Untraceable (cannot trace through transactions)

Anonymous (cannot tell who is involved in a transaction)

Divisible (can subdivide into independent pieces)

Page 10: Class 1: What is Money?

10

What was the first currency?

Page 11: Class 1: What is Money?

11

Page 12: Class 1: What is Money?

12

Aristotle’s Politicsaround 350 BCE

Page 13: Class 1: What is Money?

13Aristotle’s Politics 350 BCE

Page 14: Class 1: What is Money?

14Aristotle’s Politics 350 BCE

Page 15: Class 1: What is Money?

15

How well does salt work as a currency?

Page 16: Class 1: What is Money?

16http://solvingforzero.com/?p=804Salt Mining in Bolivia

Page 17: Class 1: What is Money?

17

Fiat Currency

Page 18: Class 1: What is Money?

18

Requirements for Fiat Currency

Page 19: Class 1: What is Money?

19

What about salt?

Page 20: Class 1: What is Money?

20

Salt Currency in China?

300 BCE – 2015?

Page 21: Class 1: What is Money?

21

Why a Course on Bitcoin?

Page 22: Class 1: What is Money?

22

Fire at mining facility in Thailand, 14 Oct 2014Photo credit: www.thairath.co.th

Page 23: Class 1: What is Money?

23

Physics

Cryptography

Computer Architecture

Economics

Theory of Computation

Government

Distributed Systems

Algorithms

Page 24: Class 1: What is Money?

24

Reasons to Take this Course• Vehicle: concrete system for learning lots of things:

– Cryptography– Computer Science: Complexity, Networking, Security, etc.– Economics, Politics, Law, Anthropology, Criminology, etc.

• Potential Impact and Opportunity– Web in 1995?

• Fun, interesting, etc.

Page 25: Class 1: What is Money?

Designing a Digital Currency

Page 26: Class 1: What is Money?

Approach 1: “I Hereby Pay Thee”You have

earned $10

Thanks! Boss says I can get pizza

Surrre...

Page 27: Class 1: What is Money?

Problems Who is this “employer”? Did the employer actually say that? Is he actually rich enough? What does Pizza guy get in exchange?

It’s all trust based

Page 28: Class 1: What is Money?

Approach 2: The Bank

Serves requests: Does Alice have sufficient funds for purchasing this? Please transfer $100 from my to Bob's account.All requests/responses are signed. Everyone trusts bank.

Clipart.co

Page 29: Class 1: What is Money?

Better in some ways ...

If bank is well-reputed, I can trust that: Money I get can be spent later on anything I want. Bank won’t magically reduce my bank balance. Bank won’t create money out of thin air for its

own benefit.

Page 30: Class 1: What is Money?

Problematic in other ways Centralization: harder to scale High transaction rates: race conditions We still trust someone

Page 31: Class 1: What is Money?

Approach 3: Avoiding Race Conditions

Serves atomic requests: “Please transfer $100 from my account to Bob’s.”

Transfer returns “failure” on insufficient funds.

Clipart.co

Page 32: Class 1: What is Money?

Problems that remainStill trust-based, albeit centralized. Centralization leads to control. This trust means banks can: Freeze assets Deny transactions Enjoy a monopolistic/oligarchic market Know everything we do

Page 33: Class 1: What is Money?

Bitcoin’s Philosophy

We want the benefits of using a bank, while maintaining the decentralized nature of cash, online.

Page 34: Class 1: What is Money?

A Public Ledger

Keep a record of all transactions ever done by everyone. If someone wants to pay me:1) I can verify if he has that much money2) He can tell everyone that he paid me3) Everyone now knows our new balance

Page 35: Class 1: What is Money?

40 GB

Page 36: Class 1: What is Money?

Falling Storage Cost

Source: Matthew Komorowski

Page 37: Class 1: What is Money?

Other Cryptocurrencies David Chaum’s ecash (1982) Chaum, Fiat and Naor (1990) Micali and Rivest’s Peppercoin (2002)None of them stored the full ledger, it was

unusual for bitcoin to do this.

Page 38: Class 1: What is Money?

Remaining Problems

Decentralized nature gives rise to other problems as well, which Bitcoin solves: Conflicting messages (digital signatures) Conflicting transactions (voting/mining)

Page 39: Class 1: What is Money?

39

ChargeVisit bitcoin-class.org:• Setup your Bitcoin wallet• Submit registration before 8:29pm Saturday• Readings to do before class Monday