blockchain technology: landscape & future...

123
Jeremy Clark Blockchain Technology: Landscape & Future Directions

Upload: others

Post on 19-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Jeremy Clark

Blockchain Technology: Landscape & Future Directions

Page 2: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Jeremy Clark • Assistant Professor at the Concordia Institute for Information Systems

Engineering (CIISE) in Montreal • PhD from the University of Waterloo (2009) • Team of eight graduate students • Numerous academic papers on Bitcoin/Blockchain, including one of the

earliest • Contributed to courses (Princeton, MIT) & textbook on Bitcoin/blockchain • Testified to Senate and House committees on Bitcoin/blockchain

Where I Am

Page 3: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,
Page 4: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,
Page 5: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,
Page 6: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Digital RevolutionBlockchain

Page 7: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Digital Revolution

For business processes based on paper records, digitization increases efficiency

Page 8: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

🚢

Page 9: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

🚢

Page 10: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

🚢

Page 11: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

🚢

Page 12: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

🚢

Page 13: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

🚢

Page 14: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Digital Revolution

Page 15: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Database

Digital Revolution

Page 16: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-2351T-4528T-9636T-9833

Page 17: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-2351T-4528T-9636T-9833

Who Owns the Database? Privileged Position Availability Manage Access

Page 18: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-2351T-4528T-9636T-9833

Who Owns the Database? Privileged Position Availability Manage Access

Reconciliation

Page 19: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-2351T-4528T-9636T-9833

Page 20: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

Page 21: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

Disintermediation

Page 22: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

Blockchain

Page 23: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

T-2351T-4528T-9636T-9833

Blockchain

Data is shared across participants Network is resilient and secure No reconciliation Data redundancy Data is validated & can activate processes

Page 24: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

• Securities: stocks, bonds, derivatives, swaps, repos and post-trade settlement

• Markets: land deeds, carbon credits • Banking: inter-bank settlement, international

payments, remittances, micropayments, loyalty • Provenance: luxury goods, organic certifications,

supply chain management • Government: voting, registries • Coordination: internet of things • Identity management: KYC, PKI • Fun: gambling, prediction markets

Use Cases

Page 25: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

• Securities: stocks, bonds, derivatives, swaps, repos and post-trade settlement

• Markets: land deeds, carbon credits • Banking: inter-bank settlement, international

payments, remittances, micropayments, loyalty • Provenance: luxury goods, organic certifications,

supply chain management • Government: voting, registries • Coordination: internet of things • Identity management: KYC, PKI • Fun: gambling, prediction markets

Use Cases

Blockchain systems can interact

Page 26: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Frequently Asked Questions& common misconceptions

Page 27: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Relation to Bitcoin

Bitcoin is designed to be a currency (BTC)

Bitcoin is not a digital form of an existing currency

Thus not like Paypal, EFTs, interact-by-email

Bitcoin is decentralized: no central bank

Page 28: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

The term blockchain 1) Bitcoin’s protocol for achieving a distributed

ledger maintained by an open network of profit-seeking nodes

2) Any distributed ledger

3) The philosophy behind Bitcoin: digitizing commodities, securities, deeds, contracts…

Page 29: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

• Blockchains and (distributed) databases are similar and somewhat interchangeable

• The emphasis is on different things • Blockchains are for small data (1MB every 10 min) • Blockchains are for validated data • Blockchains are not about complex queries (you

download everything) • Blockchains are secure against malicious nodes

Blockchain v. Database

Page 30: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

• CAC-ISO-TC307: Blockchain and electronic distributed ledger technologies

• Industry Consortiums: Various

Standards

Regulation• Use-Case Specific: Mostly pertains to Bitcoin • Taxation: capital gain • Accounting (IFRS): intangible asset • KYC/AML: Fintrac given authority • ICOs/Trusts/Exchanges: Securities authorities

Page 31: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

• By default, blockchains have no confidential transactions

• Confidentiality can be added on with encryption but non-trivial

• By default, blockchains have no identities associated to transactions

• Identities can be added (or conversely, anonymity strengthened)

Confidentiality & Privacy

Page 32: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Consistency?Consensus through voting

Proof of Work

Page 33: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Consistency?Consensus through voting

Honest majority

Page 34: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Consistency?Consensus through voting One vote per ________?

Honest majority

Page 35: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Consistency?Consensus through voting One vote per ________?

1) Entity: trusted list of entities, closed network

Honest majority

Page 36: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Consistency?Consensus through voting One vote per ________?

1) Entity: trusted list of entities, closed network

2) Unit of computational effort: Bitcoin’s blockchain No trust, open network

Honest majority

Page 37: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,
Page 38: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Use Casesreal & imagined

Page 39: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Supply chain management Asset tracking Payments Transaction

processing

Identity management

Internet of Things / Smart property Data sharing Fine-grained

access control

Interoperation between systems

Regulation / sanctions

Permanent record storage

Decentralized timestamping

Auctions Voting Gambling Insurance

Page 40: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bitcoin

FinTech•Payments •Insurance •Assets

Data•Supply Chain •Voting •Identity •IoT

Page 41: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

$0

$500

$1,000

$1,500

$2,000

$2,500

$3,000

$3,500

$4,000

$4,500

$5,000

October November December

Cum

ulat

ive

Qua

rterly

Fun

ding

($, m

illio

ns)

2017

Q4 2017 Blockchain FundingCumulative ICO Cumulative VC

ICO Funding Raised $3.2bn in Q4ICOs Exceeded VC by Over 16x

State of Blockchain – Q4 2017 | 101

Top ICO Deals:Sirin Labs - $157.9mnPolkadot - $144.6mnQash - $107.3mnCOMSA - $95.4mn

Data Sources: CoinDesk venture capital database, CoinDesk ICO TrackerNotes: Deals under $100,000 excluded, $ amount at time raised, including only fundraisers ending in 'Q4 2017’ (10/1/17 – 12/31/17)

VC$200mn

ICO$3,231mn

Top VC Deals:BitGo - $42.5mnBitPay - $30mnOKCoin - $27.2mnAbra - $16mn

Q2

ICO$797mn

VC$235mn

Q3

ICO$1,316mn

VC$156mn

ICO

VC

Page 42: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Detailed Use Case:Decentralized Order Books

Page 43: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

ExchangesHundreds of projects on decentralized exchanges

Zoom in on core technical component: order book

An order book is a ledger and blockchains give you distributed ledgers, so easy right?

Goal: understand the landscape of options

Page 44: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Original Order Book

Type Price Volume

Offer 155.00 300

Offer 152.50 120

Offer (Best) 152.00 100

Bid (Best) 148.00 75

Bid 147.00 200

Bid 146.60 100

Bid 146.50 50

Digital assets being sold for digital money (both on same blockchain)

Page 45: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Original Order Book Updated Order Book

Type Price Volume Type Price Volume

Offer 155.00 300 Offer 155.00 300

Offer 152.50 120 Offer (Best) 152.50 120

Offer (Best) 152.00 100 Bid (Best) 152.10 400

Bid (Best) 148.00 75 Bid 148.00 75

Bid 147.00 200 Bid 147.00 200

Bid 146.60 100 Bid 146.60 100

Bid 146.50 50 Bid 146.50 50

New Order

Bid 152.10 500

Page 46: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order BookGoal: continuous, price-time priority

Issues:

Page 47: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order BookGoal: continuous, price-time priority

Issues: • Nodes drop competitive orders

Sent transactions propagate around a P2P network before being added to blockchain

Page 48: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order BookGoal: continuous, price-time priority

Issues: • Nodes drop competitive orders • No way to establish time

Each node has unsynchronized clock, transactions can enter at different ends of the network

Page 49: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order BookGoal: continuous, price-time priority

Issues: • Nodes drop competitive orders • No way to establish time • Blockchain: updated in batches and slow

Bitcoin updates every 10m, LiteCoin 2.5m, Ethereum 17s

Page 50: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order BookGoal: continuous, price-time priority

Issues: • Nodes drop competitive orders • No way to establish time • Blockchain: updated in batches and slow • Miners drop competitive orders

In a blockchain, miners are free to compose their block any way they want

Page 51: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order BookGoal: continuous, price-time priority

Issues: • Nodes drop competitive orders • No way to establish time • Blockchain: updated in batches and slow • Miners drop competitive orders • Miners front-run well-priced orders

Miners can see the future and have final word

Page 52: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order Book

Open Blockchain Order Book

Trusted Blockchain (90s) Order Book

Open Blockchain Functional Equivalent

Page 53: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order Book• Nodes drop competitive orders • No way to establish time • Blockchain: updated in batches • Miners drop competitive orders • Miners front-run well-priced orders

Broadcast to all known neighbours

Page 54: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order Book• Nodes drop competitive orders • No way to establish time • Blockchain: updated in batches • Miners drop competitive orders • Miners front-run well-priced orders

Call markets: open/closing cross, crossing networks, etc.

Market opens, orders pile up, randomly close (lit) market, match orders

Page 55: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order Book• Nodes drop competitive orders • No way to establish time • Blockchain: updated in batches • Miners drop competitive orders • Miners front-run well-priced orders

Matching: Lowest ask matched to highest bid until no more matching possible

Report the market clearing price

Page 56: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Order Book• Nodes drop competitive orders • No way to establish time • Blockchain: updated in batches • Miners drop competitive orders • Miners front-run well-priced orders

Miners keep spread: spreads can replace fees & miners can execute at best price

Miners commit to orders before solving and cannot stuff orders into solved block

Page 57: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Our Researchillustrated

Page 58: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Provisions: Privacy-preserving proofs of solvency for Bitcoin exchanges.G Dagher, B Bünz, J Bonneau, J Clark, D Boneh. CCS 2015

Liabilities (user verifiable)

Equity

Assets (on blockchain)

ZKP: Equity = Assets - Liabilities >= 0

Solvency Proofs

Page 59: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

There is very little lending in cryptocurrencies

We show how a lending market could be designed for peer-to-peer lending up to commercial paper

We provide a variety of instruments for mitigating counter-party risk including collateral, insurance, & credit default swaps

Toward Cryptocurrency Lending. Chidinma Okoye, Jeremy Clark. WTSC 2018

Lending

Page 60: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Excitement around replacing post-trade settlement for securities with a blockchain

We designed a decentralized order book based on a call market design

Nuances play a large roll: timing, speed, front-running, incentives

Markets

Page 61: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,
Page 62: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

 

 

Bitcoin and Cryptocurrency Technologies  

Arvind Narayanan, Joseph Bonneau, Edward Felten,  

Andrew Miller, Steven Goldfeder 

 with a preface by Jeremy Clark 

Draft — Feb 9, 2016 

 

Feedback welcome! Email [email protected] 

 For the latest draft and supplementary materials including programming assignments,  

see our  Coursera course.  

The official version of this book will be published by Princeton University Press in 2016. 

If you’d like to be notified when it’s available, please sign up  here. 

Page 63: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

@PulpSpy

Q

Page 64: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

How it works

Page 65: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Alice Bob

Bank

Digital Monetary Unit

Page 66: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Alice Bob

Bank

Issued by Bank

Page 67: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Alice Bob

Bank

Spent without Bank

Page 68: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTC

Alice Bob

Ledger

Ledger-based System

Page 69: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTC

Alice Bob15 BTC 18 BTC

Ledger

Page 70: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTC

Alice Bob15 BTC 18 BTC

Ledger

5 BTC

Page 71: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTCAlice Bob 5 BTC

Alice Bob15 BTC 18 BTC

Ledger

5 BTC

Page 72: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTCAlice Bob 5 BTC

Alice Bob10 BTC 23 BTC

Ledger

5 BTC

15 BTC 18 BTC

Page 73: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTCAlice Bob 5 BTC

Alice Bob10 BTC 23 BTC

Ledger

Access Control

Page 74: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTCAlice Bob 5 BTC

{Alice, KA} {Bob, KB}10 BTC 23 BTC

Ledger

Page 75: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTCAlice Bob 5 BTC

{Alice, KA} {Bob, KB}10 BTC 23 BTC

Ledger

SigA(5 BTC)

Page 76: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Bob Alice 10 BTCCarol Alice 5 BTCCarol Bob 18 BTCAlice Bob 5 BTC

{Alice, KA} {Bob, KB}10 BTC 23 BTC

Ledger

PKI

Page 77: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KB KA 10 BTCKC KA 5 BTCKC KB 18 BTCKA KB 5 BTC

KA KB10 BTC 23 BTC

Ledger

Pseudonymity

Page 78: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KB KA 10 BTCKC KA 5 BTCKC KB 18 BTCKA KB 5 BTC

Ledger

Transaction: T-9833

Inputs: {T-5292, KA1, 3.5} {T-3928, KA2, 2.5}

Outputs: {KB1, 5.0} {KA3, 0.99}

Signature: {SigA1} {SigA2}

Page 79: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KB KA 10 BTCKC KA 5 BTCKC KB 18 BTCKA KB 5 BTC

Ledger

Transaction: T-9833

Inputs: {T-5292, KA1, 3.5} {T-3928, KA2, 2.5}

Outputs: {K=Script(In), 5.0} {K=Script(In), 0.99}

Signature: {SigA1} {SigA2}

Page 80: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KA KB10 BTC 23 BTC

Ledger

T-2351T-4528T-9636T-9833

Decentralize?

Page 81: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KA KB10 BTC 23 BTC

Ledger

T-2351T-4528T-9636T-9833

T-9833

Page 82: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KA KB10 BTC 23 BTC

Ledger

T-2351T-4528T-9636T-9833

T-9833

Page 83: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KA KB10 BTC 23 BTC

Ledger

T-2351T-4528T-9636T-9833

T-9833

Page 84: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KA KB10 BTC 23 BTC

Ledger

T-2351T-4528T-9636T-9833

T-9833

Page 85: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

KA KB10 BTC 23 BTC

Ledger

T-2351T-4528T-9636T-9833

T-9833 T-9833

Page 86: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Ledger

T-2351T-4528T-9636T-9833

Agreement & Append-Only

Page 87: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Ledger

T-2351T-4528T-9636T-9833

Block 11

Page 88: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Ledger

T-2351T-4528T-9636T-9833

Block 11

Hash Chain

T-0032T-4528T-2348T-8218

Block 10 Block 12

T-3421T-4832T-0341T-3499

Page 89: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Ledger

T-2351T-4528T-9636T-9833

Block 11

Rate-Limit Block Creation

T-0032T-4528T-2348T-8218

Block 10 Block 12

T-3421T-4832T-0341T-3499

Page 90: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

B10 B11 B12 B13 B14

Page 91: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

B10 B11 B12 B13

B11

B14

Page 92: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

B10 B11 B12 B13 B14

B11 B12

B15

Page 93: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

B10 B11 B12 B13 B14

B11 B12

B15

Page 94: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-3421T-4832T-0341T-3499

Block 12

H(Ti)} nB-11} B-12

T-2351T-4528T-9636T-9833

Block 11

H(Ti)} nB-10} B-11

Page 95: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-3421T-4832T-0341T-3499

Block 12

H(Ti)} nB-11} B-12

T-2351T-4528T-9636T-9833

Block 11

H(Ti)} nB-10} B-11

B-12 = H( H(Ti) || n || B-11) = 00000000000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}

Work = (2n)

Page 96: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

T-3421T-4832T-0341T-3499

Block 12

H(Ti)} nB-11} B-12

T-2351T-4528T-9636T-9833

Block 11

H(Ti)} nB-10} B-11

B-12 = H( H(Ti) || n || B-11) = 00000000000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Random Node

Page 97: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Incentive Compatibility

B10 B11 B12 B13 B14

Fees Fees Fees Fees Fees

Page 98: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

B10 B11 B12 B13 B14

✓ ✓ ✓ ✓ ?

Fees Fees Fees Fees Fees

Page 99: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

B10 B11 B12 B13 B14 B15

B14

✓ ✓ ✓ ✓ ?

Page 100: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

B10 B11 B12 B13 B14 B15

B14

✓ ✓ ✓ ✓ X

Page 101: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

B10 B11 B12 B13 B14 B15

B14

✓ ✓ ✓ ✓ X

It pays to verify

Page 102: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Initial Distribution (Minting)

B10 B11 B12 B13 B14

Fees Fees Fees Fees Fees

Page 103: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Initial Distribution (Minting)

B10 B11 B12 B13 B14

Fees Fees Fees Fees Fees

Mint Mint Mint Mint Mint

Nodes = “Miners”

Page 104: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Initial Distribution (Minting)Newly minted coins offset expenses (seignorage)

This allows lower fees

Effectively: minted coins are distributed to the users in the form of lower fees

Circulation limited to 21M BTC (~Year 2140)

Page 105: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Challenge: Double SpendConsider: two transactions are broadcast & both spend the same BTC

Which one will be included in blockchain?

Consensus will form but will take ~6 blocks (~1 hour) for high assurance. Too long to wait in some cases.

Page 106: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Detailed Use Case:Proof of Solvency

Page 107: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Joint WorkGaby Dagher - Boise State University Benedikt Bünz - Stanford Joe Bonneau - Stanford & EFF Dan Boneh - Stanford

ACM CCS 2015

Page 108: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Balance Sheet

Liabilities

Equity

Assets (on blockchain)

Page 109: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Balance Sheet

Liabilities

Equity

Assets (on blockchain)

Solvent? Proof for private corporations directly to the customers with no auditors (P2P auditing)

Page 110: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Exchange ServicesProvide mechanisms for depositing Bitcoin and fiat currency into an account

Provide an order book where you can buy/sell Bitcoin

Trades are cleared/settled automatically

You can withdrawal at any time, but for Bitcoin, users like keeping money on an exchange

Page 111: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

A Recent Headline

Page 112: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,
Page 113: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

$480,000,000

Page 114: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,
Page 115: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Theft Unnoticed for Years

Page 116: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Proof of SolvencyWe cannot stop thefts

We can require exchanges’ solvency to be proven

With some crypto, we can even prove solvency without revealing:

• Customer information • Exchanges’ total holdings • Exchanges’ addresses

Page 117: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Liabilities

Equity

Assets

Page 118: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Liabilities

Equity

Assets

Liabilities: customers can check correct inclusion of their liabilities in a total “encrypted” amount

Page 119: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Liabilities

Equity

Assets

Liabilities: everyone can check that no listed encrypted liability is a negative number

Page 120: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Liabilities

Equity

Assets

Assert an encrypted amount of total assets owned on a blockchain

Page 121: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Liabilities

Equity

Assets

Prove ownership of assets totalling this amount (by knowledge of signing key) without specifying the set

Page 122: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

Liabilities

Equity

Assets

Show: [[Assets]] - [[Liabilities]] >= 0

Page 123: Blockchain Technology: Landscape & Future Directionsusers.encs.concordia.ca/~clark/talks/2018_finteqc.pdf · Network is resilient and secure No reconciliation ... Thus not like Paypal,

DiscussionHaving assets on a blockchain enable new applications

Possible do feed blockchain information into interesting protocols, whether on-blockchain or off-blockchain

Generalizable to a traditional commercial bank? • Nobody does loans in digital currency • If so, loan amounts could be included as assets • Assumes loans are safe: how to quantify actual loan

value in an agreeable way? (yield, credit risk, etc)