Presentation: The Economics of Cryptocurrencies · Bitcoin protocol. I A ledger of digital balances...
Transcript of Presentation: The Economics of Cryptocurrencies · Bitcoin protocol. I A ledger of digital balances...
The Economics of Cryptocurrencies
Jonathan Chiu1 Thorsten Koeppl2
1Bank of Canada
2Queen’s U
Economics of Payments IX
November 2018
Disclaimer: The views expressed are those of the authors and do not necessarily reflect the views ofthe Bank of Canada.
Chiu & Koeppl – Cryptocurrencies 1
Introduction
What We Do
1) We formally model a cryptocurrency system according to theBitcoin protocol.
I A ledger of digital balances updated in a decentralized fashion.
2) We show that cryptocurrencies cannot achieve immediate and finalsettlement.
I Why? Need to avoid a double spending problem.
3) We evaluate the efficiency of a cryptocurrency system.
I Positive inflation is optimal while transaction fees should beminimized.
I Currently, welfare loss in BITCOIN of 1.4% of consumption,but potentially as low as 0.08%.
Chiu & Koeppl – Cryptocurrencies 2
Introduction
What We Do
1) We formally model a cryptocurrency system according to theBitcoin protocol.
I A ledger of digital balances updated in a decentralized fashion.
2) We show that cryptocurrencies cannot achieve immediate and finalsettlement.
I Why? Need to avoid a double spending problem.
3) We evaluate the efficiency of a cryptocurrency system.
I Positive inflation is optimal while transaction fees should beminimized.
I Currently, welfare loss in BITCOIN of 1.4% of consumption,but potentially as low as 0.08%.
Chiu & Koeppl – Cryptocurrencies 2
Introduction
What We Do
1) We formally model a cryptocurrency system according to theBitcoin protocol.
I A ledger of digital balances updated in a decentralized fashion.
2) We show that cryptocurrencies cannot achieve immediate and finalsettlement.
I Why? Need to avoid a double spending problem.
3) We evaluate the efficiency of a cryptocurrency system.
I Positive inflation is optimal while transaction fees should beminimized.
I Currently, welfare loss in BITCOIN of 1.4% of consumption,but potentially as low as 0.08%.
Chiu & Koeppl – Cryptocurrencies 2
Why Cryptocurrency is Special?
Cryptocurrencies
Why Cryptocurrency is Special?
Physical Tokens
Immediate and Final Settlement
Chiu & Koeppl – Cryptocurrencies 4
Cryptocurrencies
Why Cryptocurrency is Special?
Physical Tokens
Immediate and Final Settlement
Chiu & Koeppl – Cryptocurrencies 4
Cryptocurrencies
Why Cryptocurrency is Special?
Digital Tokens
Subject to double‐spending problems
Chiu & Koeppl – Cryptocurrencies 5
Cryptocurrencies
Why Cryptocurrency is Special?
Digital Currency with Trusted Third Party
IntermediaryB sends $1 to S
Chiu & Koeppl – Cryptocurrencies 6
Cryptocurrencies
Why Cryptocurrency is Special?
Digital Currency without Trusted Third Party
miners
B sends $1 to S
No central authority to keep record
Chiu & Koeppl – Cryptocurrencies 7
Cryptocurrencies
How Cryptocurrency works
1. Consensus Protocol
competition in the form of mining: “miners” compete to updatethe public ledger (i.e. Blockchain)
the prob. of winning is proportional to the fraction ofcomputational power owned by a miner
2. Reward Scheme
reward winning miners by seigniorage and transaction fees
3. Confirmation Lags
double spending is discouraged by confirmation delay
if a seller waits for N validations before delivering the goods, thebuyer needs to win the mining game N + 1 times to revoke thetransaction
Chiu & Koeppl – Cryptocurrencies 8
Cryptocurrencies
How Cryptocurrency works
1. Consensus Protocol
I competition in the form of mining: “miners” compete to updatethe public ledger (i.e. Blockchain)
the prob. of winning is proportional to the fraction ofcomputational power owned by a miner
2. Reward Scheme
reward winning miners by seigniorage and transaction fees
3. Confirmation Lags
double spending is discouraged by confirmation delay
if a seller waits for N validations before delivering the goods, thebuyer needs to win the mining game N + 1 times to revoke thetransaction
Chiu & Koeppl – Cryptocurrencies 9
Cryptocurrencies
BlockchainA book containing the ledger of all past transactions
Chiu & Koeppl – Cryptocurrencies 10
Cryptocurrencies
Blockchain
miners
,block
Transactions broadcasted to the miners for validation
Chiu & Koeppl – Cryptocurrencies 11
Cryptocurrencies
Blockchain
miners
,block
The miner who first completes the proof‐of‐work can update the blockchain
Chiu & Koeppl – Cryptocurrencies 12
Cryptocurrencies
How Cryptocurrency works
1. Consensus Protocol
I competition in the form of mining: “miners” compete to updatethe public ledger (i.e. Blockchain)
I the prob. of winning is proportional to the fraction ofcomputational power owned by a miner
2. Reward Scheme
reward winning miners by seigniorage and transaction fees
3. Confirmation Lags
double spending is discouraged by confirmation delay
if a seller waits for N validations before delivering the goods, thebuyer needs to win the mining game N + 1 times to revoke thetransaction
Chiu & Koeppl – Cryptocurrencies 13
Cryptocurrencies
How Cryptocurrency works
1. Consensus Protocol
I competition in the form of mining: “miners” compete to updatethe public ledger (i.e. Blockchain)
I the prob. of winning is proportional to the fraction ofcomputational power owned by a miner
2. Reward Scheme
I reward winning miners by seigniorage and transaction fees
3. Confirmation Lags
double spending is discouraged by confirmation delay
if a seller waits for N validations before delivering the goods, thebuyer needs to win the mining game N + 1 times to revoke thetransaction
Chiu & Koeppl – Cryptocurrencies 14
Cryptocurrencies
How Cryptocurrency works
1. Consensus Protocol
I competition in the form of mining: “miners” compete to updatethe public ledger (i.e. Blockchain)
I the prob. of winning is proportional to the fraction ofcomputational power owned by a miner
2. Reward Scheme
I reward winning miners by seigniorage and transaction fees
3. Confirmation Lags
I double spending is discouraged by confirmation delay
if a seller waits for N validations before delivering the goods, thebuyer needs to win the mining game N + 1 times to revoke thetransaction
Chiu & Koeppl – Cryptocurrencies 15
Cryptocurrencies
No confirmation lag (N=0)
miners
Time T Goods delivered on the spot
Seller gets payment after confirmation
Chiu & Koeppl – Cryptocurrencies 16
Cryptocurrencies
No confirmation lag (N=0)
miners
miners
Time T Goods delivered on the spot
Seller gets payment after confirmation
Buyer perform secret miningto undo the payment
Chiu & Koeppl – Cryptocurrencies 17
Cryptocurrencies
Time T
No confirmation lag (N=0)
miners
miners
Buyer perform secret miningto undo the payment
If successful, buyer gets goods without paying the seller
Chiu & Koeppl – Cryptocurrencies 18
Cryptocurrencies
One confirmation lag (N=1)
miners
Time T Time T+1
Goods delivered after one confirmation
Seller gets payment after one confirmation
Chiu & Koeppl – Cryptocurrencies 19
Cryptocurrencies
Chiu & Koeppl – Cryptocurrencies 20
Cryptocurrencies
One confirmation lag (N=1)
miners
Time T Time T+1
miners miners
Need to secretly mine for N+1=2 period
Chiu & Koeppl – Cryptocurrencies 21
Cryptocurrencies
How Cryptocurrency works
1. Consensus Protocol
I competition in the form of mining: “miners” compete to updatethe public ledger (i.e. Blockchain)
I the prob. of winning is proportional to the fraction ofcomputational power owned by a miner
2. Reward Scheme
I reward winning miners by seigniorage and transaction fees
3. Confirmation Lags
I double spending is discouraged by confirmation delay
I if goods are delivered after N validations are observed, then thebuyer needs to win the mining game N + 1 times to revoke thetransaction
Chiu & Koeppl – Cryptocurrencies 22
Cryptocurrencies
How Cryptocurrency works
1. Consensus Protocol
I competition in the form of mining: “miners” compete to updatethe public ledger (i.e. Blockchain)
I the prob. of winning is proportional to the fraction ofcomputational power owned by a miner
2. Reward Scheme
I reward winning miners by seigniorage and transaction fees
3. Confirmation Lags
I double spending is discouraged by confirmation delay
I if goods are delivered after N validations are observed, then thebuyer needs to win the mining game N + 1 times to revoke thetransaction
Chiu & Koeppl – Cryptocurrencies 23
Cryptocurrencies
Questions
Take as given the design of the cryptocurrency system:
1. How well does it function as a payment system?
2. How to optimally set policy parameters?e.g. currency growth, transaction fees
3. How best to use it for different types of transactions?e.g. retail vs large value
Chiu & Koeppl – Cryptocurrencies 24
Model
Model
Environment
Based on Lagos and Wright (2005)
Time is discrete: t = 0, 1, 2, ...
Three types of agents.
I B buyers
I σB sellers
I M miners
Buyers and seller use balances recorded in a ledger to finance bilateraltrade.
Balances in the ledger grow at rate µ and there are transaction fees τ .
Chiu & Koeppl – Cryptocurrencies 26
Model
Proof-of-Work
M miners compete to update the ledger by solving a costlycomputational task with a random success rate.
Miner i chooses computer power qi to maximize profits
ρ(qi)R− qiα
where
I R mining reward in real terms
I α price of computer power
I ρ probability of winning given by
ρ(qi) =qi∑M
m=1 qm
Results:
1) Higher R induces higher mining activities∑Mm=1 qm = MQ.
2) As M →∞, all rents R are dissipated. Micro
Chiu & Koeppl – Cryptocurrencies 27
Model
Trading
DayNightDay
buy xsell h
t t + 1
buyer:
sell xseller: buy h
I PreferencesI Buyer: εu(xt) − ht, where ε ∼ F
I Seller: −c(xt) + ht
I TradingI Day: buyer sells h to acquire balances z
I Night: spends d ≤ z to buy x from a seller
I Next day: the seller uses d to buy h
Chiu & Koeppl – Cryptocurrencies 28
Model
Night Trading
n = 0 n = 1 n = 2 ... ... ... ... n = N̄
t t+ 1
Day Market Night Market
I In session 0, a buyer meets with a seller and makes atake-it-or-leave-it-offer (x, d,N)
I immediate payment d in real balances
I x goods to be delivered after confirmations of the payment in Nconsecutive blocks
I After trade, the buyer can attempt to double spend
Chiu & Koeppl – Cryptocurrencies 29
Incentives to Double Spend
Double Spending
Transactions in Lagos-Wright
n = 0 n = 1 n = 2 ... ... n = N
(zb, zs)
n = N̄start with
(x, d)buyer offers seller rejects (zb, zs)
accepts(zb − d, zs + d)
... ...
Chiu & Koeppl – Cryptocurrencies 31
Double Spending
Double-Spending Problem
n = 0 n = 1 n = 2 ... ... n = N
(zb, zs)
n = N̄start with
(x, d,N)buyer offers seller
... ...
Chiu & Koeppl – Cryptocurrencies 32
Double Spending
Double-Spending Problem
n = 0 n = 1 n = 2 ... ... n = N
(zb, zs)
n = N̄start with
(x, d,N)buyer offers seller rejects (zb, zs)
accepts
buyer chooses q0
︸︷︷
︸D
oub
leS
pen
din
gP
roblem
... ...
2
Chiu & Koeppl – Cryptocurrencies 32
Double Spending
Double-Spending Problem
n = 0 n = 1 n = 2 ... ... n = N
(zb, zs)
n = N̄start with
(x, d,N)buyer offers seller rejects (zb, zs)
accepts
buyer chooses q0secret mining fails (zb − d, zs + d(1 − τ))
buyer chooses q1
succeeds
︸︷︷
︸D
oub
leS
pen
din
gP
roblem
... ...
2
Chiu & Koeppl – Cryptocurrencies 32
Double Spending
Double-Spending Problem
n = 0 n = 1 n = 2 ... ... n = N
(zb, zs)
n = N̄start with
(x, d,N)buyer offers seller rejects (zb, zs)
accepts
buyer chooses q0secret mining fails (zb − d, zs + d(1 − τ))
buyer chooses q1secret mining fails (zb − d, zs + d(1 − τ))
succeeds
buyer chooses q2
succeeds
︸︷︷
︸D
oub
leS
pen
din
gP
roblem
... ...
2
Chiu & Koeppl – Cryptocurrencies 32
Double Spending
Double-Spending Problem
n = 0 n = 1 n = 2 ... ... n = N
(zb, zs)
n = N̄start with
(x, d,N)buyer offers seller rejects (zb, zs)
accepts
buyer chooses q0secret mining fails (zb − d, zs + d(1 − τ))
buyer chooses q1secret mining fails (zb − d, zs + d(1 − τ))
succeeds
buyer chooses q2secret mining fails (zb − d, zs + d(1 − τ))
succeeds
buyerchooses qN
succeeds
︸︷︷
︸D
oub
leS
pen
din
gP
roblem
... ...
2
Chiu & Koeppl – Cryptocurrencies 32
Double Spending
Double-Spending Problem
n = 0 n = 1 n = 2 ... ... n = N
(zb, zs)
n = N̄start with
(x, d,N)buyer offers seller rejects (zb, zs)
accepts
buyer chooses q0secret mining fails (zb − d, zs + d(1 − τ))
buyer chooses q1secret mining fails (zb − d, zs + d(1 − τ))
succeeds
buyer chooses q2secret mining fails (zb − d, zs + d(1 − τ))
succeeds
buyerchooses qN
secret mining fails
succeeds
(zb − d, zs + d(1 − τ))
(zb, zs)
succeeds
︸︷︷
︸D
oub
leS
pen
din
gP
roblem
... ...
2
Chiu & Koeppl – Cryptocurrencies 32
Double Spending
No Double Spending Constraint
For any contract (x, d,N), the expected payoff from a DS attempt is
D0(d,N) = max{qn}Nn=0
Pβ
µ[d+R(1 +N)]−
N∑
n=0
(n−1∏
t=0
qnQM + qn
)αqn
where
P =
N∏
n=0
(qn
QM + qn
)is the prob. of success
R =Z(µ− 1) +Dτ
N̄ + 1are the rewards form mining
Lemma
If D0(d,N) = 0, then the contract (x, d,N) is double-spending proof.
Chiu & Koeppl – Cryptocurrencies 33
Double Spending
Double-Spending Proof Contracts
Proposition
Suppose M →∞. A contract (x, d,N) is double-spending proof (i.e.settlement is final) if
d < R(N + 1)N .
Otherwise, the settlement is final only with probability
1− P (d,N) =N + 1√
dR + (N + 1)
.
Results:
I Settlement cannot be both immediate (N = 0) and final (P = 0).
I Rewards help discourage double spending and improve finality.
I There is a trade-off between trade size d, settlement lag N andfinality 1− P .
Chiu & Koeppl – Cryptocurrencies 34
Double Spending
Key Trade-off
5000
4000
3000
2000
trade size (d)1000
00
2
delay (N)
4
6
8
1
0.8
0.6
0.4
0.2
010
Fina
lity
(1-P
)
Figure: Trade Size vs. Settlement Lag vs. Finality
Chiu & Koeppl – Cryptocurrencies 35
Double Spending
Cryptocurrency Equilibrium
Definition
A DS-proof cryptocurrency equilibrium with (µ, τ) and M →∞ isgiven by contracts (x(ε), d(ε), N(ε)), money demand z(ε) and amining choice q such that
1. the contracts satisfy the No-DS-constraint,
2. the money demand and the offer maximizes a buyer’s utility,
3. the mining choice maximizes a miner’s utility
4. and markets clear.
Theorem Proof
A DS-proof cryptocurrency equilibrium exists for B sufficiently large.
Chiu & Koeppl – Cryptocurrencies 36
Double Spending
Optimal Reward Scheme
Define social welfare as
W = B
∫[σδN(ε)εu(x(ε))− x(ε)]dFε(ε)
︸ ︷︷ ︸trade surplus
− β
µR(N̄ + 1)
︸ ︷︷ ︸mining costs
PropositionThe optimal reward structure sets transaction fees to zero and onlyrelies on seignorage: τ = 0 and µ > 1.
I The reason is that the inflation tax is shared by all buyers whiletransaction fees are paid only by the active ones who have a highvaluation of money.
I ... levying reward costs upfront in terms of inflation allowsdistortions to be smoothed out across all buyers
I Implication: long-run zero currency growth is suboptimal
Chiu & Koeppl – Cryptocurrencies 37
Double Spending
Optimal Reward Scheme
Define social welfare as
W = B
∫[σδN(ε)εu(x(ε))− x(ε)]dFε(ε)
︸ ︷︷ ︸trade surplus
− β
µR(N̄ + 1)
︸ ︷︷ ︸mining costs
PropositionThe optimal reward structure sets transaction fees to zero and onlyrelies on seignorage: τ = 0 and µ > 1.
I The reason is that the inflation tax is shared by all buyers whiletransaction fees are paid only by the active ones who have a highvaluation of money.
I ... levying reward costs upfront in terms of inflation allowsdistortions to be smoothed out across all buyers
I Implication: long-run zero currency growth is suboptimal
Chiu & Koeppl – Cryptocurrencies 37
Double Spending
Optimal Reward Scheme
Define social welfare as
W = B
∫[σδN(ε)εu(x(ε))− x(ε)]dFε(ε)
︸ ︷︷ ︸trade surplus
− β
µR(N̄ + 1)
︸ ︷︷ ︸mining costs
PropositionThe optimal reward structure sets transaction fees to zero and onlyrelies on seignorage: τ = 0 and µ > 1.
I The reason is that the inflation tax is shared by all buyers whiletransaction fees are paid only by the active ones who have a highvaluation of money.
I ... levying reward costs upfront in terms of inflation allowsdistortions to be smoothed out across all buyers
I Implication: long-run zero currency growth is suboptimal
Chiu & Koeppl – Cryptocurrencies 37
Quantitative Assessment
Quantitative
Calibration – Basic Parameters
values targetsβ 0.999916 period length = 1 dayδ 0.999999 block time = 10 minµ 1.00025 money growth (9.6% p.a.)τ 0.000088 total fees/vol per blockB 6873428 max. # of average-sized transactionsσ 0.0178 vol per day/total BTCα 1 normalized
Source: 2015 data from Blockchain.info
I We use log utility.
I We use data on the distribution of transactions.
I Confirmation lags cannot be observed directly.
Details
Chiu & Koeppl – Cryptocurrencies 39
Quantitative
1. Welfare Comparison
Regime Welfare Cost as % of consumption
Cash (Friedman Rule) 0%Cash (2% inflation) 0.003%
Bitcoin (benchmark) 1.410%µ− 1 = 9.5%, τ = 0.0088% mining cost: $359.98 millions
Bitcoin (optimal policy) 0.080%µ− 1 = 0.17%, τ = 0% mining cost: $6.9 millions
I Welfare loss is currently very large mainly due to the miningcost.
I ... can be reduced substantially by lowering money growth andsetting transaction fees to zero.
I Long-run BTC design will bring money growth to 0 and is, thus,inefficient.
Chiu & Koeppl – Cryptocurrencies 40
Quantitative
2. Best Usage of Cryptocurrency Technology
Retail Payments Large Value Payments(US Debit cards) (Fedwire)
avg transaction size $38.29 $6552236annual volume 59539 millions 135 millions
optimal µ 0.038% 0.53%optimal τ 0% 0%
confirmation lag 2mins 12mins
welfare loss 0.00052% 0.0060%mining cost (per year) $4.33 millions $22.10 billions
I DS-proof iff d < R ·N(1 +N)I retail: small trade size, high volumeI interbank: large trade size, low volume
retial system incurs a lower welfare loss and mining costs... requires smaller rewards... induces shorter confirmation lags
Chiu & Koeppl – Cryptocurrencies 41
Quantitative
2. Best Usage of Cryptocurrency Technology
Retail Payments Large Value Payments(US Debit cards) (Fedwire)
avg transaction size $38.29 $6552236annual volume 59539 millions 135 millions
optimal µ 0.038% 0.53%optimal τ 0% 0%
confirmation lag 2mins 12mins
welfare loss 0.00052% 0.0060%mining cost (per year) $4.33 millions $22.10 billions
I DS-proof iff d < R ·N(1 +N)I retail: small trade size, high volumeI interbank: large trade size, low volume
I retial system incurs a lower welfare loss and mining costs... requires smaller rewards... induces shorter confirmation lags
Chiu & Koeppl – Cryptocurrencies 42
Quantitative
2. Best Usage of Cryptocurrency Technology
Retail Payments Large Value Payments(US Debit cards) (Fedwire)
avg transaction size $38.29 $6552236annual volume 59539 millions 135 millions
optimal µ 0.038% 0.53%optimal τ 0% 0%
confirmation lag 2 mins 12 mins
welfare loss 0.00052% 0.0060%mining cost (per year) $4.33 millions $22.10 billions
I DS-proof iff d < R ·N(1 +N)I retail: small trade size, high volumeI interbank: large trade size, low volume
I retial system incurs a lower welfare loss and mining costsI ... requires smaller rewardsI ... induces shorter confirmation lags
Chiu & Koeppl – Cryptocurrencies 43
Conclusion
What to Take Away
1) Owing to its digital nature, a cryptocurrency is fundamentallydifferent from cash.
2) One can understand the economics of such a system well bylooking at the incentives to double-spend.
3) BITCOIN is not only really expensive in terms of mining costs,but also inefficient in its long-run design.
4) It provides a more efficient payment system when the volume oftransactions is large relative to the individual transaction size.
On-going project: Blockchain for security settlement, cross-borderpayments, ...
Chiu & Koeppl – Cryptocurrencies 44
Thanks!
Appendix
Microfoundations for Mining
Investing computing power qm allows a miner to solve the PoWproblem with probability
F (t) = 1− e−µm·t
within a time interval t, where 1/µm = D/q(m) is the expected timeto solve the problem.
Hence, D is the difficulty parameter for the PoW problem.
The first solution among miners, min(τ1, . . . , τM ), is thus alsoexponentially distributed and the probability for any miner to solve itfirst is given by
ρn(qn) =qn∑M
m=1 qm.
Back
Chiu & Koeppl – Cryptocurrencies 47
Oligopolistic Mining Equilibrium
Maximizing profits by miner j yields as a FOC
∑Ni=1 qi − qj(∑Ni=1 qi
)2
β
µR = α
Imposing symmetry, we obtain for the total mining cost
C = αMQ =M − 1
M
β
µR.
For M →∞ all rents are dissipated and we obtain
C =β
µR
Back
Chiu & Koeppl – Cryptocurrencies 48
TradingDayNightDay
buy xsell h
t t + 1
buyer:
sell xseller: buy h
Two markets
I centralized market in day
I decentralized market at night
Preferences
I Buyer: εu(xt)− ht, where ε ∼ F
I Seller: −xt + ht
Trading
I Day: buyer sells h to acquire real balances z
I Night: spends d ≤ z to buy x from a seller
I Next day: the seller uses d to buy h
Chiu & Koeppl – Cryptocurrencies 49
Day Market
n = 0 n = 1 n = 2 ... ... ... ... n = N̄
t t+ 1
Day Market Night Market
The value of a buyer who draws ε is
maxz′,h−h+ V (z′; ε)
subject to
h+ z ≥ z′ ≥ 0
where z′ are the real balances carried to the night market.
Assumption:
Transactions can be perfectly monitored and there is full liability sothat double spending is not a problem.
Chiu & Koeppl – Cryptocurrencies 50
Night Market
n = 0 n = 1 n = 2 ... ... ... ... n = N̄
t t+ 1
Day Market Night Market
The night market is divided into N̄ + 1 trading sessions.
I In session 0, a buyer meets with a a seller w.p. σ and makes atake-it-or-leave-it-offer (x, d,N).
I There is immediate payment d in real balances.
I x goods are to be delivered after confirmation of the payment inN consecutive blocks.
The offer (x, d,N) determines whether the buyer has an incentive todouble spend or not. Back
Chiu & Koeppl – Cryptocurrencies 51
Optimal DS Proof Contracts
At the start of the night market, the buyer with z makes atake-it-or-leave-it offer (x, d,N) to a seller.
The buyer will never carry more real balances than necessary so thatz = d and the offer is given by (x(d), N(d)).
Requiring the offer to be double spending proof the buyer solves
max(x,d,N)
−d+ V (d; ε)
subject to
V (d; ε) = σδNεu(x) + (1− σ)β
µd
x ≤ β
µd(1− τ)
d ≤ R(N + 1)N
Chiu & Koeppl – Cryptocurrencies 52
Sufficient Condition for DS proof
The optimal contract is DS proof if
σ [δεmaxu′(x̄)(1− τ)E(x)− 1] < i
where
x̄ = (1− τ)2R is the maximum trade size with N = 1
E(x) ≤ 3
4is the elasticity of x w.r.t. d at N = 1
The reason is that the tightest constraint to avoid DS is aconfirmation lag of N = 1.
This condition is satisfied whenI the opp. cost of carrying balances is high (i is high)
I the matching friction is high (σ is low)
I the marginal utility is low (ε is low)Back
Chiu & Koeppl – Cryptocurrencies 53
Existence Proof
We use Kakutani’s Fixed Point Theorem.
Fix (µ, τ). The reward R determines the aggregate money supplyS(R) which in turn determines total rewards R′. Hence, we need tofind a fixed point for R given aggregate money demand for acorrespondence
T (R) =
((µ− 1) + στ
N̄ + 1
)S(R).
Aggregate money demand can be shown to be u.h.c, convex in Rwhich pins down the aggregate transaction fees and, hence, R′.
Furthermore, given B sufficiently large, we can find a lower bound onRmin > 0 such that R > Rmin.
Hence, we can restrict the correspondence to a compact set and showthat the correspondence has a closed graph.
Back
Chiu & Koeppl – Cryptocurrencies 54
Optimal Contracts
We use data on transactions to recover the implied distribution of ε.
−15 −10 −5 0 5 100
0.05
0.1
0.15
0.2
0.25
0.3
0.35
log(ε)
f(ε)
Figure: Implied Distribution of Shocks
10−15
10−10
10−5
100
105
1010
0
10
20
30
40
50
60
70
x
N(x
)
Figure: Optimal Delay
Back
Chiu & Koeppl – Cryptocurrencies 55
Optimal Design I – Effects of Money Growth Rate
0 0.02 0.042.57
2.575
2.58
2.585x 10
5
σ B
E(x
)
0 0.02 0.040
10
20
30
40
50
Wgt
. Avg
. N
0 0.02 0.049.8845
9.8846
9.8846
9.8847
9.8847
9.8848
9.8848x 10
6
Util
ity
0 0.02 0.049.8834
9.8836
9.8838
9.884
9.8842
9.8844
9.8846x 10
6
Wel
fare
0 0.02 0.040
2
4
6
8
10
R
0 0.02 0.040
500
1000
1500
Min
ing
Cos
t
I Higher inflation implies distortions and higher mining costs ...
I .. but positive inflation is optimal due to lower confirmation lags.
Chiu & Koeppl – Cryptocurrencies 56
Optimal Design II – Effects of Transaction Fees
0 0.05 0.12.3
2.35
2.4
2.45
2.5
2.55x 10
5
σ B
E(x
)
0 0.05 0.11.5
2
2.5
3
3.5
Wgt
. Avg
. N
0 0.05 0.19.883
9.8835
9.884
9.8845
9.885x 10
6
Util
ity
0 0.05 0.19.855
9.86
9.865
9.87
9.875
9.88
9.885x 10
6
Wel
fare
0 0.05 0.10
50
100
150
200
R
0 0.05 0.10
0.5
1
1.5
2
2.5x 10
4
Min
ing
Cos
t
I Same trade-off ...
I ... but zero transaction costs seem to be optimal given µ > 0.Back
Chiu & Koeppl – Cryptocurrencies 57