- Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger,...
Transcript of - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger,...
![Page 1: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/1.jpg)
![Page 2: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/2.jpg)
- Blockchain basics
- What is Microsofts position
- How to get started?
- Smart Contract Coding
Agenda
![Page 3: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/3.jpg)
How does it work?
![Page 4: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/4.jpg)
What is Blockchain?
Secure
Shared
Distributed
![Page 5: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/5.jpg)
Motivation for Blockchain?Traditional System
Centralized system with stored ledger
Blockchain System
Distributed system with distributed ledger
![Page 6: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/6.jpg)
Tokenization
object Secure digital representation
username & password,
biometrics, …
Digest
0x27a38fd67d1233…
Digest
0x27a38fd67d1233…
0x12834ae7f7e9bc…
0x002142fdc61b22…
0x9f214bc2143a04…
…
Digest
0x184a3b1dd2ef34…
![Page 7: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/7.jpg)
Block of chained tokens -> Blockchain
0x9786724cfe929122…
Transaction
0xa01312bc92df9211…
0x9786724cfe929122…
0x7982144fa241b27c…
0xa01312bc92df9211…
authentic
transparent
shared
![Page 8: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/8.jpg)
How we gain trust (or: what‘s mining?)
0x??????????????????…
Consensusauthentic
transparent
shared 0x12834ae7f7e9bc…
0x27a38fd67d1233…
0x002142fdc61b22…
???
find a hash < 0x01…
Proof of Work
![Page 9: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/9.jpg)
Why Microsoft?
![Page 10: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/10.jpg)
Blockchain | Current & Evolution
Blockchain 1.0
Simple State
Machine
Blockchain 2.0
State Machine +
Code
Blockchain 3.0
State Machine + Code
0x1117292138928edc23dc21323c
Property
Value
0x893423022ef8s92d1223412dds321ac
0x1117292138928edc23dc21323c
Property
Value0x893423022ef8s92d1
223412dds321ac
Codecontract accountRegistry{mapping (string => address) accountMap;
function accountRegistry(){….
0x1117292138928edc23dc21323c
Property
Value0x893423022ef8s92d1
223412dds321ac
Codecontract accountRegistry{mapping (string => address) accountMap;
function accountRegistry(){….
Cryptlets
What is missing for enterpise use cases?
• Identity Management
• Integration
• Performance
• Governance & Compliance
• Contract Management
• …
![Page 11: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/11.jpg)
Blockchain Infrastructure made easy
ARM Template
![Page 12: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/12.jpg)
Why Cryptlets?
Blockchain Ledger
Today
Cryptlets
![Page 13: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/13.jpg)
Coding „Best Practices“
Computes „Gas Consumption“
Prevents Compiler Attacks
Kinakuta – Static Contract Analysis
F*
"PUSH1 0x03 JUMPDEST
PUSH1 0x01 SAWP1 SUB DUP1
PUSH1 0x02 JUMPI PUSH9
0x010000000000000016 JUMP
JUMPDEST PUSH4 0xbadf000d
PUSH1 0x11 SSTORE STOP“
F*
![Page 14: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/14.jpg)
How to start?
![Page 15: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/15.jpg)
Use cases
Financial
ServicesCredits scoring,
Clearing,
Complementary
currency
ManufacturingSupply chain
tracking,
replacement part
tracking
Commercewarranty tracking,
loyalty programs
Automotiveelectric charging,
insurance tracking
Public Sector
Organ donation,
land register,
ressource tracking,
voting
![Page 16: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/16.jpg)
Best PracticesPro
• Don’t start technologically
• Don‘t replace, but re-invented
• Ensure that digital identity can be
derived (Hashing)
• You are not alone: share in
consortiums and involve
additional stakeholder
• If required, make sure, additional
information can be stored
securely off-chain
Contra
• Some transactions are not suitable
for a distributed consensus
process
• Blockchain is not required if you
are the only participant or a single
instance carries all the trust (PKI is
not dead)
If you can hash it, you can use it in your blockchain
![Page 17: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/17.jpg)
Process
Specify
Business ModelUse Machine Learning
and Advanced Analytics
Define
Blockchain
Rules
Select Blockchain
Technologies(Ledger, Consensus, Sidechains, P2P, etc.)
Distribute
Ledger
Match with existing needs
Quantify market readiness
Identify Risks and Blocker
Plan for
Run and
Scale
Blockchain Innovation
Core Process
Analyze & Improve
Incentive Alignment
Who
What
When
Why
BMI Workshop
Centralized vs. Decentralized
![Page 18: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/18.jpg)
Smart Contracts
![Page 19: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/19.jpg)
Trading by using an escrow
Escrow
Buyer Seller
![Page 20: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/20.jpg)
Naive Smart contract as escrow
Escrow
Buyer Seller
![Page 21: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/21.jpg)
Solid Smart contract as escrow
Escrow
Buyer Seller
![Page 22: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/22.jpg)
Code is Law!
We don‘t need weapons, we code!
![Page 23: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/23.jpg)
![Page 24: - Blockchain basics · 2018-10-15 · Blockchain Rules Select Blockchain Technologies (Ledger, Consensus, Sidechains, P2P, etc.) Distribute Ledger Match with existing needs Quantify](https://reader033.fdocuments.us/reader033/viewer/2022042308/5ed4886c7b07fd02f0350a43/html5/thumbnails/24.jpg)
© 2016 Microsoft Corporation. All rights reserved. Because
Microsoft must respond to changing market conditions, it should
not be interpreted to be a commitment on the part of Microsoft,
and Microsoft cannot guarantee the accuracy of any information
provided after the date of this presentation. MICROSOFT MAKES
NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE
INFORMATION IN THIS PRESENTATION.
Vielen Dank