Instructor: Katya Malinova
Course : F741 Winter 2021
Where this is coming from, why, and why should you care.
What's wrong with the traditional world of finance?
Change ledger entry locally
Alice's bank transfers from Alice's account to Bob's bank's account
Bob's bank transfers from its account to Bob's account
Alice's bank transfers from Alice's account to its own account
Bob's bank transfers from its account to Bob's account
Central Bank
Central bank transfers from Alice's bank's account to Bob's bank's account
Alice's bank transfers from Alice's account to its own account
Bob's bank transfers from its account to Bob's account
use the Swift network of correspondent banks
Source: Wendy Rotenberg via Andreas Park's slides
very complex
many parties
lots of frictions and points of failure
very expensive
Where this is coming from, why, and why should you care.
Start from scratch. Crazy thought: a single ledger?
"silos" &
painful
transaction
reconciliation
"joint ,single system"
Why should you care? Isn't this too distant of a world?
The world of finance is evolving as we speak!
old days: silos
today: cloud computing
cloud data centers are a worldwide affair
January 04, 2021
The U.S. Office of the Comptroller of the Currency (“OCC”) published an interpretive letter that permits them to custody cryptocurrencies.
Quoting from Forbes: "A bank may use stablecoins (cryptocurrencies designed to minimize the price volatility) to facilitate payment transactions for customers.
In doing so, a bank may issue stablecoins, exchange stablecoins for fiat currency, as well as validate, store, and record payments transactions by serving as a node on a blockchain."
Nokia's market shares for devices:
What did they pay for?
What do people value?
As banks move data into "the cloud," do we need the banks?
Generic Bank
provision of financial services without the necessary involvement of a traditional financial intermediary
(bank, broker-dealer, insurance corporation)
\(\Rightarrow\) it's growing and it's coming
disclaimer: compared to existing markets this is still a tiny amount
Source: https://defipulse.com
disclaimer: compared to existing markets this is still a tiny amount
disclaimer: compared to existing markets this is still a tiny amount
How does it all work and why?
From our PollEv: why opt for traditional FIs?
How do we get trust in an open system with anonymity?
Simplest case: symmetric encryption:
public key P = private key S
Pb
Sb
Pb
Sb
Modern encryption: asymmetric encryption
public key \(P_b\), private key \(S_b\)
Alice sends Bob a message and the signature provides proof that this message is from her
Sa
Pa
Pa
Anders Brownworth has an excellent interactive web demo that illustrates the concepts discussed above in a bit less abstract way. He also explains the relation between "hashing" and "mining", and a few other tech terms (e.g., a "nonce") in plain English.
You can watch his YouTube of the demo here:
https://www.youtube.com/watch?v=_160oMzblY8
Once you have seen the video, you can try hashing and mining yourself here:
https://andersbrownworth.com/blockchain/hash
He also has a demo on digital signatures. Everything is accessible from here:
Potential problem: double-spending
Cryptography
\(\Rightarrow\) signature cannot be hacked
Contains transaction from Alice to Bob
Can Alice rewrite history?
Where to add a new block \(B_7\)?
Equilibrium for "the longest chain"? - Yes!
"The blockchain folk theorem" by Biais, Bisière, Bouvard, and Casamatta, RFS 2018
Note:
Contains transaction from Alice to Bob
Alice wants to undo the transaction by rewriting history with B6
How?
\(\to\)
create predictability of mining
\(\to\)
have 51% of mining
(= confirmation) power
NB: there is a slightly more subtle view of selfish mining in which the miner creates a block but holds it back to keep mining exclusively on a part of the chain. Sapirshtein, Sompolinsky, and Zohar (2015) show that 23.21% of mining power is sufficient for such an attack
Alice owns 1BTC pre-fork
Alice owns 1BTC and 1BCH post-fork
Block size limit ("old rules", original crypto: BTC)
Block size limit
("new rules", forked crypto: BCH)
What can it for finance, what are problems and obstacles?
Alice wants to sell ABX
Bob wants to buy ABX
sell order
buy order
Clearing House
Stock Exchange
Broker
Broker
3rd party tech
custodian
custodian
record beneficial ownership
central bank for payment
vs
"Let me just say how impressed I am with Ethereum...If Bitcoin is email ––a one-trick pony, so to speak, but obviously revolutionary–– Ethereum goes far beyond that; it's more like the Internet...The whole idea of DeFi really is, number one, it’s obviously revolutionary, and I think at the end of the day could lead to a massive disintermediation of the financial system and the traditional players."
Heath P. Tarbert, CFTC Chairman, October 2020
moving value (remittances)
digital money: real-time settlement, reduced reserves
tokenization of assets
automization of contract payments
securitization
systems and infrastructure reorganization
digital identity
new forms of financial contracts, assets, and forms of financing
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, larger block size possible, but there are limits
microtransactions, IoT, and other smart contract use cases place very high demands
Root Problem
Solutions
https://blog.stephantual.com/what-are-state-channels-32a81f7accab
Where to add a new block B7?
have a sufficiently large stake
Contains transaction from Alice to Bob
Alice wants to undo the transaction by rewriting history with B6
How?
\(\to\)
create predictability of mining
\(\to\) concern about
"long-range attacks"
(if Alice & Co. had lots of money early on, they may start a new branch from far back & control it ...)
Economic result: Fahad Saleh (2021) Review of Financial Studies, "Blockchain Without Waste: Proof-of-Stake" shows that PoS is an equilibrium
current state:
Personal problem: I am yet to see a fully convincing economic paper that describes an equilibrium in a PoS blockchain
Who gets to update?
Can a higher body prevent
transactions?
Can the past be altered?
consensus
immutability
censorship resistence
open to anyone
past cannot be changed
high visibility of transactions
open-access eco-system
slow governance
privacy only at a cost
joint control and governance
straightforward KYC and AML
tech support
transaction secrecy simpler
rely on corporate development
compliance with law (reversion)
control who can access it
censorship-resistance
Application: Issuing and transferring money
store of value?
unit of account?
method of exchange?
\(\to\) does not require "double coincidence of wants"
\(\to\) don't have to price everything relative to each other
\(\to\) don't have to spend money immediately upon receiving it
@katyamalinova
malinovk@mcmaster.ca
slides.com/kmalinova
https://sites.google.com/site/katyamalinova/