Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month...
Transcript of Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month...
![Page 1: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/1.jpg)
The State-of-the-Art of Smart Contracts
Andrew MillerFinTech R&D Innovation Conference
Luxemburg, 19th January 2016
![Page 2: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/2.jpg)
Smart Contracts- Executed by computer network
- Operates on deposited funds100% collateral up front
- Written in computer code
- On cryptocurrency
Real Contracts- Executed by the counterpartiesEnforced by law, arbitration
- Expectation of good faith(bankruptcy protection)
- Written in legalese
- Subject to regulation(unconscionable?)
![Page 3: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/3.jpg)
![Page 4: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/4.jpg)
![Page 5: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/5.jpg)
Free
Business
Idea!
![Page 6: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/6.jpg)
Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrencyMoney spent on prototype, tools, community boosting
![Page 7: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/7.jpg)
Smart Contracts in Ethereum
- Pay for computational resources- Run by a peer-to-peer network (unstoppable)- Everyone can see all the data and transaction log- Pseudonymous by default (permissionless)
Hazards:- Front running- No appeals (use at own risk)
![Page 8: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/8.jpg)
def finalize():
goog = stockAuthority.GetPrice(“GOOG”,”$”)
if goog > 1000 and currentDate() >= tuesday:
stockLedger.transfer(Alice, Bob, “GOOG”, 10)
Alice.send(1000 ETH)
self.conclude()
![Page 9: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/9.jpg)
Contract created
Parties deposit funds
Event occurs
Money is paid out
T1
T2
T3
T4
Blockchain
![Page 10: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/10.jpg)
![Page 11: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/11.jpg)
![Page 12: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/12.jpg)
Contract Contract
![Page 13: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/13.jpg)
![Page 14: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/14.jpg)
![Page 15: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/15.jpg)
Smart Contracts in the Wild
http://etherscrape.com
![Page 16: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/16.jpg)
Smart Contract in the Wild: Multisig Wallet- Set of designated principals
- Limited amount of money can be moved each day by any principal
- 2-of-3 (e.g.) principals must approve larger transactions
- Ownership set can change
![Page 18: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/18.jpg)
Contract Composition Hazards
![Page 19: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/19.jpg)
- Virtual machine images (to simplify setup)- Self-contained guide, notes- Recorded lectures from 1-day workshop
![Page 20: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/20.jpg)
Gadgets as a public service- Overcome limitations in script environment
- Blockhashes- Ethereum Alarm Clock
- Amortize costs- Reduce “attack surface”
e.g. 1 “data feed” used by many instruments- Layers of indirection
![Page 21: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/21.jpg)
Gadget Contracts - BTCRelay
A “Bitcoin” payment verifier implemented inside Ethereum
![Page 22: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/22.jpg)
Open Problem: “Trustless” Data Feed
- “Cryptoeconomics”
- Prediction markets:Augur, Truthcoin
![Page 23: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/23.jpg)
“Off-chain” contracts- Alice wants to pay Bob incrementally
e.g. for WiFi, every 10 seconds, up to $20
- Blockchain transactions are expensive- Solution:
exchange signed messages out of bandonly use blockchain when time to “settle”
![Page 24: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/24.jpg)
Ahmed Kosba, Andrew Miller, Elaine Shi, Zikai Wen, Charalampos Papamanthou
HAWK: Privacy-Preserving Smart Contracts
http://oblivm.com/hawk/
![Page 25: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/25.jpg)
Bitcoin privacy guarantees are abysmalVariety of transaction graph analysis techniques
We know how to fix this:- Interactive mixing (Mixcoin, Coinjoin)- Noninteractive mixing (Monero)- Zerocash
![Page 26: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/26.jpg)
Bitcoin Zerocash
Ethereum
Pro
gram
mab
ility
Privacy
Hawk
![Page 27: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/27.jpg)
Freezecomm( )
Compute
Encryption( ) , ZKP
FinalizeEncryption( ), ZKP
Verification Key
Blockchain Contract
Hawk Auction
Abort handler
![Page 28: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/28.jpg)
ConclusionSmart contracts are a “killer app” for CC
… and spooling up fastCould have been done in finance first!
Regulatory arbitrage, long tailResearch challenges:
privacy, correctness, incentive alignment
![Page 29: Luxemburg, 19th January 2016 The State-of-the-Art FinTech ... · Crowdfunded ~$20M in ~ a month Popularized a grand vision of “generalized” cryptocurrency Money spent on prototype,](https://reader034.fdocuments.us/reader034/viewer/2022050519/5fa3230ab95be711b3531449/html5/thumbnails/29.jpg)