Introduction Prof. Tom Austin San Jos State University History of - - PowerPoint PPT Presentation

introduction
SMART_READER_LITE
LIVE PREVIEW

Introduction Prof. Tom Austin San Jos State University History of - - PowerPoint PPT Presentation

CS 168: Blockchain and Cryptocurrencies Introduction Prof. Tom Austin San Jos State University History of currency 2000 BC Receipts represented grain stored in Sumerian temple granaries (representative money) 600-700 BC Coins


slide-1
SLIDE 1

CS 168: Blockchain and Cryptocurrencies

  • Prof. Tom Austin

San José State University

Introduction

slide-2
SLIDE 2

History of currency

  • 2000 BC – Receipts represented grain stored in

Sumerian temple granaries (representative money)

  • 600-700 BC – Coins developed in Anatolia,

Greece, India, and China (commodity money)

– Value of these coins tied to metal content

  • 900 AD – Jiaozi banknote developed in China

– fiat money– valuable because government says so

  • 1971 – U.S. breaks away from the gold standard
slide-3
SLIDE 3
  • Oct. 31, 2008
slide-4
SLIDE 4

Bitcoin Important Dates

  • March 2010 – User tried to auction 10k BTC for $50.

– No buyers.

  • May 22nd, 2010 – 2 pizzas bought for 10k BTC.
  • 2011 – matched price of a dollar
  • Dec 17, 2017 – $19,783.21
  • Dropped to about $6k and stabilized a little.
  • Current price: $11,956.80
slide-5
SLIDE 5

What is money?

slide-6
SLIDE 6

Money is:

  • A medium of exchange
  • A unit of account
  • A store of value
slide-7
SLIDE 7

Properties of Money

http://money.visualcapitalist.com/infographic-the-properties-of-money/

slide-8
SLIDE 8

So what is digital money?

slide-9
SLIDE 9

Previous Payment Schemes

  • Credit cards
  • PayPal
  • Other?

So what don't these give us?

slide-10
SLIDE 10

DigiCash

  • Blinded signatures

–anonymity

  • Central clearinghouse

–double-spending

  • Bankrupt in 1998
slide-11
SLIDE 11

Why did DigiCash fail?

slide-12
SLIDE 12

Bitcoin

  • No central authority
  • Relies on proof-of-work
  • Developed concept of the blockchain
slide-13
SLIDE 13

Problems with Bitcoin

  • Limited functionality
  • Slow
  • "Useless" computation
  • Mining pools
  • ASICs
  • Selfish mining attacks
slide-14
SLIDE 14

Alternate consensus modes

  • Useful proof-of-work
  • Non-outsourceable PoW puzzles
  • Proof-of-stake

– Coin age – Staked tokens

  • Proof-of-space
slide-15
SLIDE 15

Ethereum

  • Smart contracts for

building distributed applications (dApps).

  • "Gas" to pay for computation.
slide-16
SLIDE 16

Other protocols

  • Dfinity, Algorand, Thunderella

–High performance blockchains

  • Filecoin

–Blockchain-based storage system

  • Tezos

–Dynamically updateable blockchain

  • Others TBD
slide-17
SLIDE 17

So why take this course?

We will learn:

  • Different cryptocurrency protocols
  • Uses of the blockchain

We will go deep – the focus is to learn the fundamentals, maybe not the flavor of the day

slide-18
SLIDE 18

Administrative Details

  • Green sheet:

http://www.cs.sjsu.edu/~austin/cs168- fall20/Greensheet.html.

  • Homework submitted through Canvas:

https://sjsu.instructure.com/

  • Academic integrity policy:

http://info.sjsu.edu/static/catalog/integrity.html

slide-19
SLIDE 19

Schedule

  • The class schedule is available through Canvas
  • Late homework will not be accepted
  • It will change frequently
  • CHECK THE SCHEDULE BEFORE EVERY

CLASS

slide-20
SLIDE 20

Prerequisites

  • CS 166 or equivalent,

grade C- or better

  • Show me proof

–If you don't, I will drop you.

slide-21
SLIDE 21

Resources Other references TBD. Andreas M. Antonopoulos "Mastering Bitcoin", 2nd ed.

  • Arvind Narayanan, Joseph Bonneau,

Edward Felten, Andrew Miller, Steven Goldfeder, "Bitcoin and Cryptocurrency Technologies", (free, pre-pub version).

slide-22
SLIDE 22

Grading (COVID-19)

  • 40% -- Homework assignments

(individual work)

  • 40% -- Class project (team work)
  • 10% -- Labs
  • 10% -- Readings
  • No midterm or final
slide-23
SLIDE 23

Participation: Labs

  • No feedback given (usually)
  • I will look at them
  • If you have questions, ask me
slide-24
SLIDE 24

Homework

  • Done individually.
  • You may discuss the assignment

with others.

  • Do your own work!
slide-25
SLIDE 25

How to fail yourself and your friend

If two of you turn in similar assignments:

you both get a 0

slide-26
SLIDE 26

Project

  • Build your own blockchain-based

cryptocurrency

  • You may work with up to 3 people
slide-27
SLIDE 27

Office hours

  • MacQuarrie Hall room 216
  • Mondays, 1-2pm
  • Thursdays, 10-11am
  • Also by appointment
  • Rescheduled office hours

– Announced on Canvas – Also added to http://www.cs.sjsu.edu/~austin/cs166b- fall20/office-hours-updates.txt

slide-28
SLIDE 28

COVID-19 Changes

  • Problems will come up
  • We will adjust as we go
slide-29
SLIDE 29

Zoom dress code

  • Sweats, pajamas, etc. are OK.
  • Wear a shirt.
  • If you would get arrested in

public, it is not appropriate for Zoom.

slide-30
SLIDE 30

"Please forgive the long letter; I didn’t have time to write a short one."

  • -Blaise Pascal
slide-31
SLIDE 31

Two Kinds of Email

  • Emails with lots of detailed

information and subtle nuances.

  • Emails that people read.

Try to send the 2nd kind

slide-32
SLIDE 32

Before next class

  • Install Node.js from https://nodejs.org/en/
  • Read Section 1 of Okamoto and Ohta's

"Universal Electronic Cash". https://link.springer.com/content/pdf/10.1 007/3-540-46766-1_27.pdf