Study notesWeek 1: Money, Trust And Ledgers
Week 1

Money, Trust And Ledgers

Outcomes

What You Will Be Able To Do

Barter problem

Why Money Exists

Definitions

Three Jobs Of Money

JobMeaning
Medium of exchangeAccepted in trade
Unit of accountCommon yardstick for prices
Store of valueHolds worth over time
Ledgers

A Balance Is A Ledger Entry

Alice   10
Bob      0

Alice -> Bob : 4

Alice    6
Bob      4
The core problem

Digital Things Are Easy To Copy

Definition

Double Spending

Trusted ledger keeper

The Classic Fix: A Referee

pay(Alice, ShopA, 10)  -> ok, balance 0
pay(Alice, ShopB, 10)  -> refused
Banks and networks

What Intermediaries Provide

Trade-offs

What Intermediaries Cost

History

Early Attempts At Digital Cash

YearAttempt
1989DigiCash
1997Hashcash
1998b-money
2008Bitcoin whitepaper
The whitepaper

31 October 2008

The blockchain idea

Many Copies, One History

[Block 1] <- [Block 2] <- [Block 3]
  hash A      prev: A      prev: B
              hash B       hash C
Judgment

When A Blockchain Fits

Week 1 in five lines

Recap

Week 2

Next Week: Cryptography You Need

Hands-on

Questions And Exercise

def pay(sender, receiver, amount):
    if balances[sender] < amount:
        raise ValueError('insufficient funds')
    balances[sender] -= amount
    balances[receiver] += amount
    history.append((sender, receiver, amount))