Sunteți pe pagina 1din 23

Blockchains

For Business
IIT Delhi, June 30 2018
Content
● Drawbacks of Public Blockchains

● What are Private Blockchains?

● Understanding of Privacy and Consensus

● Thinking Business Blockchain

● Industry Use Case: Supply Chains

2
1
Drawbacks of Public
Blockchains

3
Non Determinism
● There isn’t 100% determinism in terms of transactions getting
accepted.
● Longest chain is the set of accepted transactions

Block 51A Block 52A

Accepted Transactions
Block 1 Block 2 ... Block 50

Block 51B

4
Non Determinism
Block 51A Block 52A Block 53A

Not Accepted Anymore


... Block 50

Block 51B Block 52B Block 53B Block 54B

New Accepted Transactions

5
Consensus
Inefficiencies of Consensus Protocols
1. Energy
2. Time

● Proof-of-Work Compute intensive hash puzzle

● How much time would your computer take to mine a block?

6
Privacy
● Any computer connected to the
internet can become a bitcoin or
ethereum node

● All nodes on the network can view


all transactions

● The best that public blockchains


can do is anonymity

7
2
Private or Permissioned
Blockchains

8
What are Private Blockchains
● Blockchains where network participation is restricted

● Only specified nodes are allowed to join the network

● Different functionality can be given to different nodes

9
Features
● Privacy of Data
● Faster and more energy efficient consensus protocols
● No requirement of cryptocurrency/economic incentive

Private Blockchain Platforms:


● Hyperledger Fabric
● R3 Corda
● Quorum
10
Hyperledger Fabric
● Types of Nodes:
○ Peer - Node maintaining copy of ledger
○ Endorsing Peer - Node taking part in consensus
○ Orderer - Node responsible for ordering

● Channel - A subnetwork of nodes running a private blockchain network

● Chaincode - Hyperledger Terminology for Smart Contract

11
Hyperledger - Privacy
Channel 1
Channel 2
Peer 2

Peer 1 Peer 3

Peer 4
12
Hyperledger - Consensus
● Endorsement Policy: n out of m nodes should get the same result in
their ledgers
● Example - 3 out of 4 Endorsement Policy
Peer 2
○ Peer 1 initiates transaction
○ Transaction sent to peers 2,3,4 Peer 1 Peer 3

○ All ledger results shared with 1


Peer 4
○ Transaction accepted if 3 of 4 results are same

13
3
Industry Use Cases
General Methodology
Supply Chains

14
General Methodology
● Understand business workflow
● Identify stakeholders
● Is there a need for blockchain?
○ Trust
○ Efficiency
○ Cost
● Model Business as assets and transactions
15
Supply Chains
● Stakeholders: Complex Supply Chain
○ Raw Material Suppliers
○ Manufacturers
○ Intermediaries
○ Sellers
○ Consumers

16
Supply Chain Issues
● Lack of trust

● All members want autonomy of operations

● All members maintain their own ledger

● Non uniformity across ledgers

● Hard to synchronise data with multiple organisations

17
Supply Chain Issues

DB1 DB2 DB3 DB4

Manufacturer Storage Transportation Distributor

Consumer Complaint
18
Applying Blockchain

DB DB DB DB

Manufacturer Storage Transportation Distributor

Consumer Complaint
19
Asset and Information
● Asset: Johnnie Walker Bottle
● Attributes:
○ ID (Unique)
○ Description
○ Volume/Weight
○ Location of Creation
○ Date of Creation
○ Path
○ Sold
20
Functionalities
● Functions:
○ Create_Bottle (Bottle_ID, attributes)
○ Transfer_Bottle (ID, transfer_to_ID)
○ Report_Damaged (ID)
○ Sell_Bottle (ID)

21
Access Control

Manufacturer Intermediary Seller

● Create_Bottle ● Transfer_Bottle ● Report_Damaged


● Transfer_Bottle ● Report_Damaged ● Sell_Bottle

22
Added Flexibility
● Regulatory Authorities
○ Sign Paperwork to confirm item meet quality requirements

● Export/Import
○ Authorize that appropriate permissions are present

● Constraint Compliance
○ Constraint requirements can also be met through smart contract
○ Eg: At time of transfer, item should be lower than X temperature

23

S-ar putea să vă placă și