Instructor: Katya Malinova
Course : F741 Fall 2023
Goals for today
The Premise of the
Internet & Blockchain
Peer to Peer Communication
!
?
Bill Gates Explains the Internet to Dave (1995) | Letterman
Peer to Peer Communication
Peer to Peer Value
!
?
?
Sidebar: What is digitize-able value?
Sidebar: What is digitize-able value?
Peer to Peer Communication
Peer to Peer Value
!
?
?
Sidebar: What is digitize-able value?
Peer to Peer Communication
Peer to Peer Value
!
?
?
What took so long for P2P value?
Peer to Peer Communication
Peer to Peer Value
!
?
?
The challenge: how do you ensure digital scarcity?
The challenge: how do you ensure digital scarcity?
2-minute version:
What is a blockchain?
blockchain=
an infrastructure for digital resource transfers
5-minute version:
What is a cryptocurrency?
cryptocurrency =
internal payment mechanism to pay for operation of a blockchain
Addresses, Accounts, Wallets, and Public/Private Keys
Smart contract accounts
Externally owned accounts
controlled by private keys
private
key
public
key
seed phrase
public
address
wallet = software to keep and use private keys
Why "block" + "chain"?
Consensus Protocol =
a set of rules that determine what kinds of blocks can become part of the chain and become the “truth”.
Source: Cambridge Bitcoin Energy Consumption Index https://cbeci.org/
Proof of work protocol: unsustainable amount of energy
Ethereum power usage before the Sept 15, 2022 Merge
Anders Brownworth YouTube video and a demo:
Ethereum "intro to" articles (with links to further info and to videos):
Odd Lots Podcast has a fantastic non-technical episode on
the Ethereum Merge!
Stopped here in Lecture 2
I will split the remainining slides into the relevant topics, expanding on DeFi trading and lending in Lecture 3!
Why is this idea powerful?
payments
stocks, bonds, and options
swaps, CDS, MBS, CDOs
insurance contracts
A blockchain is a
decentralized finance =
provision of financial service functionality without the necessary involvement of a traditional financial intermediary like a bank or broker-dealer
digital media =
provision of information service functionality without the necessary involvement of a traditional information intermediary like a publisher, library, or newagency
payments network
Stock Exchange
Clearing House
custodian
custodian
beneficial ownership record
seller
buyer
Broker
Broker
Problem: usage of capital is constrained by the tech frictions
New institutions!
Source of savings:
Possible transaction cost savings in cash equities: \(\approx\) 30%
Source: "Learning from DeFi: Would Automated Market Makers Improve Equity Trading?" working paper, Malinova & Park 2023
Application: Decentralized Borrowing & Lending
borrow
provide collateral
The Flow of Event: Normal Times
The Flow of Event: Collateral Liquidation
1. flash-borrow DAI
5. repay DAI
3. receive the collateral (ETH) at a discount
4. convert ETH to DAI
2. liquidate ETH-collaterilized loan with DAI
Loan liquidation opportunity
New tools: flash loan
Many automated DeFi products are emerging
Obvious Smart Contract Application: Automate Investment Strategies
"yield aggregator:" push capital where rate of return is highest
Many stories for why tokens are ponzi schemes.
Odd Lots: SBF and Matt Levine on How to Make Money in Crypto (podcast, April 25, 2022)
If too pressed for time to listen, start at minute 21:17, or check out:
Platforms, Peer-to-Peer, and Decentralization
Peer-to-peer \(\Rightarrow\) Platforms
liquidity \(\nearrow\)
volume \(\nearrow\)
protocol fees \(\nearrow\)
token value \(\nearrow\)
Platform economics is tricky:
liquidity mining (LM) = rewards for providing liquidity - worked (?) for Compound
Liquidity Mining & Yield Aggregators
Yield aggregators:
Decentralized Governance
idea: blockchain-based = democracy
Problems to solve:
Firms
A Landsgemeinde in the canton of Glarus on 7 May 2006, Switzerland (Wiki)
A Taxonomy of Tokens
UniSwap Lab supports development
a website app accesses the code
token holders control contact features
don't own the code
operation = decentral
control = decentral
anyone can use the baseline code
core code runs on the blockchain
tokens used as rewards
What's a crypto-token and what's special (and positive) about it?
Tokens by use
payments:
utility
asset
Disclaimer: this list in non-exhaustive, new ideas and concepts come up every day!
Tokens by use
stablecoins
governance
derivatives
Disclaimer: this list in non-exhaustive, new ideas and concepts come up every day!
Regulatory issues: U.S. test for whether it's a security
Similar regulation in Canada: look up the Pacific Coast Coin test
Some thoughts about crypto-assets as securities
How do you comply?
Why are Blockchains challenging for current regulation?
The Investment Process
issuers
investors
services
needed & provided
A general purpose value management infrastructure:
intermediaries
separate institutions
The blockchain reality:
new institutions
emerged that do all three
tokens are often not intended to be investments!
... and that brought us ...
DeFi for "Real Finance," Stablecoins & why you should care even if you don't
Time-permitting
Stablecoins and Deposits
huge demand for continuously available "high quality" money
\(\to\) stablecoins
Stablecoins \(\to\) Financial stability concerns
Stablecoins & Stability
Source: Jeremy Allaire testimony to the U.S. Congress , June 14, 2023 https://www.circle.com/executiveinsights/payment-stablecoins-support-the-dollar-and-u.s.-economic-competitiveness
Very mobile liquidity!
Also:
Stablecoins & Alternatives
@katyamalinova
malinovk@mcmaster.ca
slides.com/kmalinova
https://sites.google.com/site/katyamalinova/
Just in: regulators
Non-regulatory challenges
Challenge #1 (?): Environment
Most cited problem are for the proof-of-work consensus protocol
Usage
Network | DApps | Dollarvolume |
---|---|---|
Ethereum | 3,500 | $40-50B |
Solana | 100 | $2.5B |
Binance Smart Chain | 250 | $3B |
Avalanche | 400 | <$.5B |
EOS | 300 | <$100M |
Algorand | 12 | <$20M |
Ethereum Challenge 1: Environment
transactions per second | T per 12 hours (business day) | |
---|---|---|
Bitcoin | 7 | 302,400 |
Ethereum | 30 | 1,296,000 |
Algorand | 2000 | 86,400,000 |
Conflux | 4000 | 172,800,000 |
Athereum | 5000 | 216,000,000 |
Payments Canada ACSS | 648 | 28,000,000 |
US retail | 7639 | 330,000,000 |
Canada number of equity trades | 46 | 2,000,000 |
Orders on Canadian equity markets | 3588 | 155,000,000 |
Challenge 2: Throughput
Challenge 2: Throughput
Active on-going work on solutions:
Sharding
Optimistic Rollups
ZK Rollups
Sidechains
transactions per second | T per 12 hours (business day) | |
---|---|---|
Bitcoin | 7 | 302,400 |
Ethereum | 30 | 1,296,000 |
Algorand | 2000 | 86,400,000 |
Conflux | 4000 | 172,800,000 |
Athereum | 5000 | 216,000,000 |
Payments Canada ACSS | 648 | 28,000,000 |
US retail | 7639 | 330,000,000 |
Canada number of equity trades | 46 | 2,000,000 |
Orders on Canadian equity markets | 3588 | 155,000,000 |
Tweaks: lighting network (BTC) or side chains, SegWit, blocksize possible, but there are limits
microtransactions, IoT, and other smart contract use cases place very high demands
Challenge 2: Throughput
Ethereum Challenge 2: Throughput
Source: Etherscan w re-scaling
Ethereum Challenge 3: State Size
Challenge #4: Hacks, Thefts, and Exploits in DeFi
Common Reasons: hacks, faulty code, tricking a protocol
Major Ethereum Tech Upgrade: The Merge
scheduled date: September 13
FinTech
DeFi
innovation vs. salesmanship
main focus
1990s education drive on the Internet
kids' guide:
Three Scenarios for the Next Five Years
borderless digital economy \(\to\) blockchain-integrated
mass tokenizations \(\to\) likely originates from non-Western world
blockchains \(\to\) stay niche (gaming)