Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill...
Transcript of Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill...
![Page 1: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/1.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Experiences with Scaling Blockchain-based Data Stores
Muneeb Ali, Co-Founder & CTO
![Page 2: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/2.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Table of Contents
Brief Intro to Bitcoin
A Simplified Model of Blockchain Time
Ownership Using blockchain as data store / naming
Why We Need Decentralized Identity
Experiences from a Production Network
Blockstore: Key-Value Store on BTC Blockchain
![Page 3: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/3.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Bitcoin
![Page 4: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/4.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Let’s design a new currency…
Ledger Currency
![Page 5: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/5.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Ledger Currency
Let’s design a new currency…
Muneeb Ali 10 coins
Brian Kernighan 10 coins
![Page 6: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/6.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Ledger Currency
Let’s design a new currency…
Muneeb Ali 10 coins
Brian Kernighan 10 coins
Paul Krugman 0 coins
![Page 7: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/7.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Ledger Currency
Let’s design a new currency…
Muneeb Ali 10 coins
Brian Kernighan 10 coins
Paul Krugman 0 coins
Muneeb —> Krugman 2 coins (unconfirmed)
![Page 8: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/8.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Ledger Currency
Let’s design a new currency…
Muneeb Ali 8 coins
Brian Kernighan 10 coins
Paul Krugman 2 coins
Muneeb —> Krugman 2 coins (confirmed)
![Page 9: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/9.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Congratulations!
You just learned how Bitcoin works.
![Page 10: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/10.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Ledger Currency
Muneeb Ali 8 coins
Brian Kernighan 10 coins
Paul Krugman 2 coins
Muneeb —> Krugman 2 coins (confirmed)
Bill Gates 0 coins
![Page 11: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/11.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Ledger Currency
Muneeb Ali 8 coins
Brian Kernighan 10 coins
Paul Krugman 2 coins
Muneeb —> Krugman 2 coins (confirmed)
Bill Gates 0 coins
Muneeb —> Bill 2 coins (unconfirmed)
![Page 12: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/12.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
We need a distributed ledger (blockchain)
![Page 13: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/13.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Distributed Ledger
It’s a file! It grows as you make more transactions
Blockchain
![Page 14: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/14.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
How Blockchain Works
• Private-public key pairs
![Page 15: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/15.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
How Blockchain Works
• Private-public key pairs
• Bitcoin address = deterministic from pubkey
![Page 16: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/16.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
How Blockchain Works
• No such thing as a “bitcoin”. Only inputs and outputs
• 21 million total bitcoins (fixed)
• 50 BTC minted each block, halved to 25 BTC
![Page 17: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/17.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
How Blockchain Works
![Page 18: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/18.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
How Blockchain Works
![Page 19: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/19.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
How Blockchain Works
000009ff7ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069
![Page 20: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/20.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
How Blockchain Works
1 2 3
….. 3000
• Time
• Ownership
![Page 21: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/21.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
How Blockchain Works
1 2 3
….. 3000
Register hash(name) Update name
![Page 22: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/22.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Decentralized Identity
Blockchain
![Page 23: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/23.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Decentralized Identity
Blockchain
![Page 24: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/24.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Decentralized Identity
Blockchain
![Page 25: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/25.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Decentralized Identity
Blockchain
![Page 26: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/26.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
What is Onename?
Blockchain
![Page 27: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/27.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
What is Onename?
Blockchain
![Page 28: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/28.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
What is Onename?
Blockchain
![Page 29: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/29.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
What is Onename?
Blockchain
![Page 30: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/30.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Lessons from Namecoin
Blockchain
• Reliability and security of the blockchain
• Limit on size of data (520 bytes)
• Software engineering challenges
• Scalability challenges
![Page 31: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/31.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Blockstore
Blockchain
![Page 32: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/32.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Blockstore
Blockchain
n0 k0
n1 k1
n2 k2
nm-1 km-1
nm km
.
.
.
.
Secure Index (Blockchain)
(name, key) (key, value)
DHT Storage (Kademlia-TX)
160-bit space
(k0,v0)
1 0
1
1
1
1
1
1
0
0 0
0
0
0
11..11 00..00
![Page 33: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/33.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Blockstore
Blockchain
• Opensource (python), simpler (no blockchain functionality)
• Can support multiple data stores (mirrors)
• Separates control plane from data plane
• Enables to experiment with namespaces / spamming / pricing
![Page 34: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/34.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Application: auth
Blockchain Central Data Repository
Company A
Company B
Company C
Access Control
![Page 35: Muneeb Ali - Experiences with Scaling Blockchain …Muneeb —> Krugman 2 coins (confirmed) Bill Gates 0 coins Muneeb —> Bill 2 coins (unconfirmed) Experiences with Scaling Blockchain-based](https://reader035.fdocuments.us/reader035/viewer/2022071008/5fc6618409792e229553575a/html5/thumbnails/35.jpg)
Experiences with Scaling Blockchain-based Data Stores
Onename. Decentralized identity on the bitcoin blockchain Presentation at
Question?
Thank You!
@muneeb