SlideShare uma empresa Scribd logo
1 de 69
Baixar para ler offline
An Introduction to Blockchain and
Hyperledger
Lennart Frantzell
IBM Developer Advocate
San Francisco
alf@us.ibm.com
V1.2 February 1 2019
Blockchain Explored Series
IBM Blockchain Platform Explored
Fabric Explored
Composer Explored
What’s New
Architectures Explored
Global Financial Crisis 2008
2
3
4
Blockchain Blocks
Blockchain
Business Data
Off-Chain Data
5
Breaking News: Hyperledger Fabric Now Supports
Ethereum Smart Contracts
• Enterprise blockchain Hyperledger Fabric has introduced support for Ethereum smart contracts. Fabric is designed
to be modular with four main components. These are the main ledger, the consensus mechanism, identity
management, and smart contracts called chaincode. The latest announcement provides an alternative to chaincode.
• Ethereum’s large pool of developers are comfortable with its Solidity smart contract language, so the integration
should make Fabric more appealing to Ethereum developers. Additionally, many coders use Web3 a Node.js set of tools to
build Ethereum decentralized apps (Dapps). By integrating with the EVM, these developers can work with Fabric and
even migrate smart contracts and Dapps over to Hyperledger Fabric.
• https://www.ledgerinsights.com/hyperledger-fabric-integrates-ethereum-smart-contracts-evm-blockchain/
6
Business networks, wealth and markets
• Business Networks benefit from connectivity
– Participants are customers, suppliers,
banks, partners
– Cross geography and regulatory boundary
• Wealth is generated by the flow of goods and
services across business network in transactions
and contracts
• Markets are central to this process:
– Public (fruit market, car auction), or
– Private (supply chain financing, bonds)
7
Transferring assets, building value
Anything that is capable of being owned or controlled to produce value, is an asset
Two fundamental
types of asset
Intangible assets
subdivide
Cash is also
an asset
• Tangible, e.g. a house
• Intangible, e.g. a mortgage
• Financial, e.g. bond
• Intellectual, e.g. patents
• Digital, e.g. data
• Has property of anonymity
8
Ledgers are key
Ledgers are THE system of record for a business.
Businesses will have multiple ledgers for the multiple
business networks in which they participate.
• Transaction: an asset transfer onto or off the ledger
– John gives a car to Anthony (simple)
• Contract: the conditions for a transaction to occur
– If Anthony pays John money, then car passes
from John to Anthony (simple)
– If car won't start, funds do not pass to John (as
decided by third party arbitrator) (more
complex)
9
IBM. Blockchain Components
•
10
Transaction Vulnerabilities addressed by IBM Blockchain
11
The Blockchain
•
https://hyperledger-fabric.readthedocs.io/en/release-1.4/ledger/ledger.html?highlight=blockchain#a-
blockchain-ledger
Each block contains a cryptographic hash of the previous block,[and
transaction data (generally represented as a merkle tree root hash).
12
Problem
inefficient, expensive, vulnerable
Participant A’s records Participant B’s records Bank records
Insurer records Regulator records Auditor records
Need to be
reconciled
13
… with consensus, provenance, immutability and finality
Bank
records
Participant
B’s records
Auditor
records
Regulator
records
Blockchain
Insurer
records
Participant
A’s records
A shared, replicated, permissioned ledger …
No trusted
third party,
No need
for reconciliation
14
Security: Public vs. private blockchains
• Some use-cases require anonymity, others require privacy
– Some may require a mixture of the two, depending on the characteristics of each participant
• Most business use-cases require private, permissioned blockchains
– Network members know who they’re dealing with (required for KYC, AML etc.)
– Transactions are (usually) confidential between the participants concerned
– Membership is controlled
• For example, Bitcoin
• Transactions are viewable by
anyone
• Participant identity is more
difficult to control
Public blockchains Private blockchains
• For example, Hyperledger
Fabric
• Network members are known
but transactions are secret
15
Security: Real-world vs. digital identity
CA
CA
R
U
U
• Consider real-world identity documents…
– The issuers of the identity documents are trusted third
parties (e.g. passport office)
– There is usually a chain of trust (e.g. to get a bank card
you need a drivers license or passport)
– Identity documents are often stored in wallets
• In the digital world, identities consist of public/private key pairs
known as certificates
– Identity documents are issued by trusted third parties
known as Certificate Authorities (CAs)
• Private blockchain networks also require CAs
– So network members know who they’re dealing with
– May sit with a regulatory body or a trusted subset of
participants
16
Security: Encryption and Signing
• Cryptography basics
– Every member of the network has (at least) one public key and one private key
– Assume that every member of the network knows all public keys and only their own private
keys
– Encryption is the process applying a transformation function to data such that it can only be
decrypted by the other key in the public/private key pair
– Users can sign data with a private key; others can verify that it was signed by that user
• For example
– Alice can sign a transaction with her private key such that anyone can verify it came from her
– Anyone can encrypt a transaction with Bob’s public key; only Bob’s private key can decrypt it
• In private, permissioned blockchains
– Transactions and smart contracts can be signed to verify where they originated
– Transactions and their payloads can be encrypted such that only authorized participants can
decrypt
17
Introducing a trusted oracle
• The architectural approach described in the previous section provides a reliable
means to externalize complex decision rules. However, in the case of volatile
information (such as interest rate), how can you reliably enrich a smart contract with
such information?
• One possibility is to delegate this responsibility to the client application: The client
application retrieves the current interest rate and includes it in its payload to the
smart contract. But why would the network trust the client application to always
provide such information reliably and accurately? Hence, instead of delegating this
responsibility to the client application, a better option is to:
• Delegate the processing for obtaining volatile information to a third-party known as
the oracle
• Deterministically agree on the value to use for a volatile piece of information
https://developer.ibm.com/articles/cl-extend-blockchain-smart-contracts-trusted-oracle/
Spectrum of Blockchains
18
Permissionless
Public
Permissionless
Private
Permissioned
Public
Permissioned
Private
Bitcoin,
Ethereum
Public Polls Land Titles,
University
Degrees
Business Apps
Medical Records
Permissioned vs. Permissionless: Who can write to a Blockchain, i.e. accessibility
Public vs Private: who can read from a Blockchain, i.e. visibility
https://www.youtube.com/watch?v=-O3ouBdG3Xg
19
Hyperledger functionality
https://cachin.com/cc/talks/20170106-blockchain-rwc.pdf
20
Pluggable Consensus
• https://www.slideshare.net/MattLucas3/blockchain-whats-new-in-hyperledger-fabric-oct-2018
• https://www.slideshare.net/HoreaPorutiu/using-blockchain-to-increase-supply-chain-transparency?qid=c095a0f0-6de6-
43cb-8597-6a1ffccc0d52&v=&b=&from_search=3
• https://www.slideshare.net/MattLucas3/blockchain-whats-new-in-hyperledger-fabric-oct-2018
• This modular architecture allows the platform to rely on well-established toolkits for
CFT (crash fault-tolerant) or BFT (byzantine fault-tolerant) ordering.
• In the currently available releases, Fabric offers a CFT ordering service implemented
with Kafka and Zookeeper. Kafka is fault tolerant, but not Byzantine fault tolerant
• In subsequent releases, Fabric will deliver a Raft consensus ordering service
implemented with etcd/Raft and a fully decentralized BFT ordering service.
21
The Ledger, Blockchain and World State Database
https://hyperledger-fabric.readthedocs.io/en/release-1.4/ledger/ledger.html#example-ledger-fabcar
world state – a database that holds a cache of
the current values of a set of ledger states.
The world state makes it easy for a program
to directly access the current value of a state
rather than having to calculate it by traversing
the entire transaction log (= Blockchain).
22IBM Blockchain Platform
How applications interact with the IBM Blockchain
Platform
Blockchain
Developer
Develops
Chaincode
Submits
0 1 2 3
Ledger
Blockchain WorldState
Get, Put, Delete
Record
SDK
Application
!
Emits
Emits
!
Peer
Accesses
23
IBM Engagement Model recap
24
What makes a good Blockchain Use Case?
•
• A Business problem that cannot easily be solved
with existing techniques
• An identifiable business network
• With a shared ledger
• With Participants, Assets and Transactions
• A need for embedded trust but no Trusted Third
Party
25
Re-use existing Blockchain Use Cases
https://www.ibm.com/blockchain/use-cases/
26
Blockchain Garage
https://www.ibm.com/blockchain/services
27
IBM Code Patterns for Blockchain
• IBM Code Patterns for Blockchain: https://developer.ibm.com/patterns/category/blockchain/
• 10 Lessons: Design Thinking for Blockchain
https://www.ibm.com/blogs/insights-on-business/government/10-lessons-design-thinking-blockchain/
28
Linux Foundation Open Source Hyperledger
•
App Layer: Hyperledger Sawtooth
Supply Chain
Cargill
https://sawtooth.hyperledger.org/examples/seafood.html
Roadmap
• Channels
• Selective endorsement
• SOLO/Kafka orderers
• LevelDB or CouchDB
• Javascript chaincode
• Connection profile
• Encryption library
• Attribute access control
• CouchDB indexes
• Channel based events
• ACLs
• Service discovery
• Pluggable endorsement and validation
• Private Data Collections
• State based endorsement
• Java chaincode
• CouchDB pagination
• Identity Mixer
• Local collections
• SDK improvements
• Lifecycle changes
• Revocation for Idemixer
• Tokenisation
• RAFT
• Operational metrics and logging
• SDK and SHIM improvements
• Burrow EVM
• Long Term Service (LTS) support
07/17 03/18 06/18 10/18 4Q/18
*
1Q/19
*
Based on https://wiki.hyperledger.org/projects/fabric/roadmap - Dates determined by the Hyperledger community - (*) Subject to change
v1
v1.1
v1.2
v1.3
v1.4
v2.0
30
Announcing Hyperledger Grid, a new project to help build and deliver
supply chain solutions!
• United States-based agricultural conglomerate Cargill has announced that it is investing digital
engineering resources to develop Hyperledger Grid, according to an announcement on Jan. 25.
• Hyperledger Grid is a recently announced project from Hyperledger that aims to streamline supply
chains by using blockchain technology.
• Cargill — the U.S.’s largest privately held company with $114.7 billion in revenue — states that the
Hyperledger Grid can “accelerate development of blockchain and other digital solutions for the global
food and agriculture supply chains.”
https://cointelegraph.com/news/cargill-invests-digital-engineering-to-develop-hyperledger-grid
31
The Blockchain Bean in the Supply Chain Space
https://www.ibm.com/thought-leadership/blockchainbean/
YourCup NJB123
32
33
Coffee Purchased original documents
34
35
Coffee exported original document
36
37
Coffee Imported Original Document
•
38
39
Coffee Evaluated Original Document
40
Blockchain and Supply Chain
• Using a consortium based model, DLT provides the ability to follow a
product from inception to end point delivery while maintaining an
appropriate degree of control and information availability to the consortium
members.
• The three main components (end-end traceability, physical
characteristics and regulatory concerns) can be properly accounted for
through ensuring the permissions and access required of each entity (e.g.,
regulator, customer, partner, producer etc.)
https://wiki.hyperledger.org/_media/groups/requirements/hyperledger_-
_supply_chain_traceability-_anti_counterfeiting.pdf
41
Blockchain, IoT and Smart Contracts in Supply
Chain
•
42
On-chain/Off-chain/Oracles
Accessing existing data off-chain
https://developer.ibm.com/tutorials/cl-extend-blockchain-smart-contracts-trusted-oracle/
https://developer.ibm.com/tutorials/cl-extend-blockchain-
smart-contracts-trusted-oracle/
Oracles
• Augur
• Prediction Market
• Game Theory
• Human Oracles
43
Non-determinism in blockchain
44
Trade-offs Between Non-Functional Requirements
Consider the trade-offs between
performance, security and resiliency!
Performance
o The amount of data being shared
o Number and location of peers
o Latency and throughput
o Batching characteristics
Security
o Type of data being shared, and with whom
o How is identity achieved
o Confidentiality of transaction queries
o Who verifies (endorses) transactions
Resiliency
o Resource failure
o Malicious activity
o Non-determinism
45
Hyperledger Fabric Now Supports Ethereum Smart
Contracts
• Enterprise blockchain Hyperledger Fabric has introduced support for Ethereum smart contracts. Fabric is designed
to be modular with four main components. These are the main ledger, the consensus mechanism, identity
management, and smart contracts called chaincode. The latest announcement provides an alternative to chaincode.
• Ethereum’s large pool of developers are comfortable with its Solidity smart contract language, so the integration
should make Fabric more appealing to Ethereum developers. Additionally, many coders use Web3 a Node.js set of tools to
build Ethereum decentralized apps (Dapps). By integrating with the EVM, these developers can work with Fabric and
even migrate smart contracts and Dapps over to Hyperledger Fabric.
• https://www.ledgerinsights.com/hyperledger-fabric-integrates-ethereum-smart-contracts-evm-blockchain/
46
Enterprise Frameworks
47
Blockchain and Oil and Gas
•
48
Blockchain and Oil and Gas
•
49
Blockchain in the Oil and Gas industry
• The financial implications of conducting traditional transactions for
businesses in the Oil and Gas industry can be staggering.
• These businesses typically rely on extensive supply chains to bring their
products to market.
• As the number of businesses in the supply chain increases, so does the
cost and complexity of reconciling each transaction.
• In response, many organizations are dedicating small armies of people to
resolving billing disputes which can tie up billions of dollars in working
capital.
https://www.ibm.com/blogs/insights-on-business/oil-gas/blockchain-adoption-
chemicals-petroleum/
50
Supply Chain Architecture
https://www.ibm.com/cloud/garage/architec
tures/blockchainArchitecture/blockchain_su
pply_chain
https://www.ibm.com/cloud/garage/architectures/blockchainArchitecture/blockchain_supp
ly_chain
51
IBM Food Trust
IBM Food Trust
https://www.ibm.com/blockchain/solutions/food-trust
https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=01022001USEN/
https://developer.ibm.com/patterns/track-the-coffee-supply-chain-on-the-blockchain/
52
IBM Food Trust architecture
DATA ENTRY AND ACCESS
Leveraging solution and global standards to
share data with any network participant
authorized by the data owner, you can feel
confident knowing your data is shared only with
need-to-know business partners in a secure and
confidential environment.
CERTIFICATIONS
Digitize business critical certificates and
inspection documents to optimize efficiency for
information management, certify provenance,
and ensure authenticity.
https://www.ibm.com/us-en/marketplace/food-trust
53
Tradelens: Digitizing the Global Supply Chain
•
IBM Blockchain Services: 1500 industry and technical experts
https://cdn2.hubspot.net/hubfs/4989579/TradeLens%20Solution%20Brief
:%20Edition%20One.pdf
Brings together all parties in the supply chain — including shippers/BCOs, freight
forwarders, inland transportation, ports and terminals, ocean carriers, customs and
other government authorities, and more — onto a blockchainbased platform with a
secure permission and identity framework.
Documents are stored off chain with only their hashes included in on-chain
transactions.
54
https://www.hyperledger.org/blog/2019/01/24/hyperledger-fabric-in-action-
conflict-proofing-tantalum-mining-in-rwanda
Development Tools
55
Visual Studio Code
56
IBM Blockchain Platform for Visual Studio Code
57
https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm
-blockchain-platform
IBM Blockchain Plugin to VSCode
58
1. Create Smart Contract Project
2. Edit / write smart contract files
3. Package a smart contract project
4. Export a smart contract package
5. Connect to local_fabric runtime
6. Teardown the local_fabric runtime
59
IBM Cloud and
Hyperledger SaaS
60
IBM Cloud Catalog
61
62
Members
Channels
IBM Blockchain Platform Free 2.0 Beta
65
Design your network with total control: Maintain complete control of your identities, ledger, and smart contracts through
a totally redesigned console. Management of the individual blockchain components is done by you in your own set
of Kubernetes clusters for greatest deployment flexibility.
Govern distributed network with security and ease: In the new IBM Blockchain Platform, individual network components
are even more powerful than before—you can deploy only the components you need and even connect a single peer to
multiple networks, which accelerates your ability to benefit from multiple blockchain industry networks. The monitoring and
governance tooling provides visibility across all your blockchain components. Later in 2019, we will provide the capability
to connect to nodes running in any environment, including on-premise, public, and hybrid clouds.
Grow your network faster and easier: The new design allows you to grow more quickly and easily, to start small and grow
as you scale, paying only for the compute you need. Simplified DevOps allows you to move from development to test
to production in a single environment, and a new VSCode extension creates seamless integration between smart
contract development and network management.
https://www.ibm.com/blogs/bluemix/2019/02/ibm-blockchain-platform-free-2-0-beta/
66
How do we host our Blockchain application?
67
IBM Enterprise Blockchain Platform
Thank you
Lennart Frantzell
www.ibm.com/blockchain
developer.ibm.com/blockchain
www.hyperledger.org
© Copyright IBM Corporation 2017. All rights reserved. The information contained in these
materials is provided for informational purposes only, and is provided AS IS without warranty
of any kind, express or implied. Any statement of direction represents IBM's current intent, is
subject to change or withdrawal, and represents only goals and objectives. IBM, the IBM
logo, and other IBM products and services are trademarks of the International Business
Machines Corporation, in the United States, other countries or both. Other company, product,
or service names may be trademarks or service marks of others.
An introduction to blockchain and hyperledger v ru

Mais conteúdo relacionado

Mais procurados

Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain PresentationZied GUESMI
 
Blockchain
BlockchainBlockchain
BlockchainSai Nath
 
Blockchain Technology Fundamentals
Blockchain Technology FundamentalsBlockchain Technology Fundamentals
Blockchain Technology FundamentalsExperfy
 
Brand New Web3 Wallet
Brand New Web3 WalletBrand New Web3 Wallet
Brand New Web3 Walletssuser7259e6
 
Blockchain and Smart Contracts (Series: Blockchain Basics)
Blockchain and Smart Contracts (Series: Blockchain Basics)Blockchain and Smart Contracts (Series: Blockchain Basics)
Blockchain and Smart Contracts (Series: Blockchain Basics)Financial Poise
 
An introduction to block chain technology
An introduction to block chain technologyAn introduction to block chain technology
An introduction to block chain technologyyaminisindhurabandar
 
Blockchain ecosystem and evolution
Blockchain ecosystem and evolutionBlockchain ecosystem and evolution
Blockchain ecosystem and evolutionChandra Sekhar AKNR
 
01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for BusinessMerlec Mpyana
 
Blockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxBlockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxSahilBansal648873
 
Blockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondBlockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondMichael Novak
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Araf Karsh Hamid
 

Mais procurados (20)

Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Technology Fundamentals
Blockchain Technology FundamentalsBlockchain Technology Fundamentals
Blockchain Technology Fundamentals
 
BLOCKCHAIN
BLOCKCHAINBLOCKCHAIN
BLOCKCHAIN
 
Brand New Web3 Wallet
Brand New Web3 WalletBrand New Web3 Wallet
Brand New Web3 Wallet
 
Blockchain and Smart Contracts (Series: Blockchain Basics)
Blockchain and Smart Contracts (Series: Blockchain Basics)Blockchain and Smart Contracts (Series: Blockchain Basics)
Blockchain and Smart Contracts (Series: Blockchain Basics)
 
Blockchain ppt
Blockchain pptBlockchain ppt
Blockchain ppt
 
Blockchain
BlockchainBlockchain
Blockchain
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
 
An Introduction to Blockchain
An Introduction to BlockchainAn Introduction to Blockchain
An Introduction to Blockchain
 
An introduction to block chain technology
An introduction to block chain technologyAn introduction to block chain technology
An introduction to block chain technology
 
Blockchain ecosystem and evolution
Blockchain ecosystem and evolutionBlockchain ecosystem and evolution
Blockchain ecosystem and evolution
 
01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
Blockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxBlockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptx
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
 
Blockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondBlockchain in Banking, Business and Beyond
Blockchain in Banking, Business and Beyond
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric
 

Semelhante a An introduction to blockchain and hyperledger v ru

Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4LennartF
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsIngo Weber
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfssusera441c2
 
Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Ingo Weber
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architectedIBM Sverige
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4LennartF
 
Wwc developing hyperledger applications v2
Wwc  developing hyperledger applications v2Wwc  developing hyperledger applications v2
Wwc developing hyperledger applications v2LennartF
 
Blockchain technology.docx
Blockchain technology.docxBlockchain technology.docx
Blockchain technology.docxaymenabbaci
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsSaad Zaher
 
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger applicationEric Cattoir
 
Blockchain with HyperLedger (Public version)
Blockchain with HyperLedger (Public version)Blockchain with HyperLedger (Public version)
Blockchain with HyperLedger (Public version)Benjamin Fuentes
 
hyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxhyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxdeepaksingh160910
 
Blockchain Tech Approach Whitepaper
Blockchain Tech Approach WhitepaperBlockchain Tech Approach Whitepaper
Blockchain Tech Approach WhitepaperProperty Bihar
 
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...VSee
 
Blockchain for Business
Blockchain for BusinessBlockchain for Business
Blockchain for BusinessAhmad Gohar
 
Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Diego Alberto Tamayo
 
Blockchain a-new-disruption-in-financial-services - IBM
Blockchain a-new-disruption-in-financial-services - IBMBlockchain a-new-disruption-in-financial-services - IBM
Blockchain a-new-disruption-in-financial-services - IBMDiego Alberto Tamayo
 

Semelhante a An introduction to blockchain and hyperledger v ru (20)

Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and Applications
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdf
 
Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architected
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4
 
Wwc developing hyperledger applications v2
Wwc  developing hyperledger applications v2Wwc  developing hyperledger applications v2
Wwc developing hyperledger applications v2
 
Block chain technology
Block chain technologyBlock chain technology
Block chain technology
 
Blockchain technology.docx
Blockchain technology.docxBlockchain technology.docx
Blockchain technology.docx
 
Block chain technology
Block chain technology Block chain technology
Block chain technology
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 
IBM Blockchain 101
IBM Blockchain 101IBM Blockchain 101
IBM Blockchain 101
 
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger application
 
Blockchain with HyperLedger (Public version)
Blockchain with HyperLedger (Public version)Blockchain with HyperLedger (Public version)
Blockchain with HyperLedger (Public version)
 
hyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxhyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptx
 
Blockchain Tech Approach Whitepaper
Blockchain Tech Approach WhitepaperBlockchain Tech Approach Whitepaper
Blockchain Tech Approach Whitepaper
 
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
 
Blockchain for Business
Blockchain for BusinessBlockchain for Business
Blockchain for Business
 
Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm
 
Blockchain a-new-disruption-in-financial-services - IBM
Blockchain a-new-disruption-in-financial-services - IBMBlockchain a-new-disruption-in-financial-services - IBM
Blockchain a-new-disruption-in-financial-services - IBM
 

Mais de LennartF

Ibp 2010 feb nyc sf meetup
Ibp 2010 feb nyc sf meetupIbp 2010 feb nyc sf meetup
Ibp 2010 feb nyc sf meetupLennartF
 
Samsung. Blockchain Keystore SDK and Use Cases
Samsung. Blockchain Keystore SDK and Use CasesSamsung. Blockchain Keystore SDK and Use Cases
Samsung. Blockchain Keystore SDK and Use CasesLennartF
 
Confidential compute with hyperledger fabric .v17
Confidential compute with hyperledger fabric .v17Confidential compute with hyperledger fabric .v17
Confidential compute with hyperledger fabric .v17LennartF
 
Intro blockchain beyond confidential compute. views from oasis labs, ibm and...
Intro  blockchain beyond confidential compute. views from oasis labs, ibm and...Intro  blockchain beyond confidential compute. views from oasis labs, ibm and...
Intro blockchain beyond confidential compute. views from oasis labs, ibm and...LennartF
 
Getting started with bc 2.0 in the cloud
 Getting started with bc 2.0 in the cloud Getting started with bc 2.0 in the cloud
Getting started with bc 2.0 in the cloudLennartF
 
Globalizing the world supply chain and the ibm blockchain platform short v.2
Globalizing the world  supply chain and the ibm blockchain platform short v.2Globalizing the world  supply chain and the ibm blockchain platform short v.2
Globalizing the world supply chain and the ibm blockchain platform short v.2LennartF
 
Globalizing the world supply chain and the ibm blockchain platform v.2
Globalizing the world  supply chain and the ibm blockchain platform v.2Globalizing the world  supply chain and the ibm blockchain platform v.2
Globalizing the world supply chain and the ibm blockchain platform v.2LennartF
 
Ibm blockchain platform explained
Ibm blockchain platform explained Ibm blockchain platform explained
Ibm blockchain platform explained LennartF
 
Ibm blockchain platform explained
Ibm blockchain platform explained Ibm blockchain platform explained
Ibm blockchain platform explained LennartF
 
Ibp technical introduction
Ibp technical introductionIbp technical introduction
Ibp technical introductionLennartF
 
Ibm blockchain 2.0 cloud login v3
Ibm blockchain 2.0 cloud login v3Ibm blockchain 2.0 cloud login v3
Ibm blockchain 2.0 cloud login v3LennartF
 
Machine Learning and Power AI Workshop v4
Machine Learning and Power AI Workshop v4Machine Learning and Power AI Workshop v4
Machine Learning and Power AI Workshop v4LennartF
 
Internet of Things exercise on IBM Bluemix
Internet of Things exercise on IBM BluemixInternet of Things exercise on IBM Bluemix
Internet of Things exercise on IBM BluemixLennartF
 
Rapid applications development update12-06-14
Rapid applications development update12-06-14Rapid applications development update12-06-14
Rapid applications development update12-06-14LennartF
 

Mais de LennartF (15)

Ibp 2010 feb nyc sf meetup
Ibp 2010 feb nyc sf meetupIbp 2010 feb nyc sf meetup
Ibp 2010 feb nyc sf meetup
 
Samsung. Blockchain Keystore SDK and Use Cases
Samsung. Blockchain Keystore SDK and Use CasesSamsung. Blockchain Keystore SDK and Use Cases
Samsung. Blockchain Keystore SDK and Use Cases
 
Confidential compute with hyperledger fabric .v17
Confidential compute with hyperledger fabric .v17Confidential compute with hyperledger fabric .v17
Confidential compute with hyperledger fabric .v17
 
Intro blockchain beyond confidential compute. views from oasis labs, ibm and...
Intro  blockchain beyond confidential compute. views from oasis labs, ibm and...Intro  blockchain beyond confidential compute. views from oasis labs, ibm and...
Intro blockchain beyond confidential compute. views from oasis labs, ibm and...
 
Getting started with bc 2.0 in the cloud
 Getting started with bc 2.0 in the cloud Getting started with bc 2.0 in the cloud
Getting started with bc 2.0 in the cloud
 
Pcode
PcodePcode
Pcode
 
Globalizing the world supply chain and the ibm blockchain platform short v.2
Globalizing the world  supply chain and the ibm blockchain platform short v.2Globalizing the world  supply chain and the ibm blockchain platform short v.2
Globalizing the world supply chain and the ibm blockchain platform short v.2
 
Globalizing the world supply chain and the ibm blockchain platform v.2
Globalizing the world  supply chain and the ibm blockchain platform v.2Globalizing the world  supply chain and the ibm blockchain platform v.2
Globalizing the world supply chain and the ibm blockchain platform v.2
 
Ibm blockchain platform explained
Ibm blockchain platform explained Ibm blockchain platform explained
Ibm blockchain platform explained
 
Ibm blockchain platform explained
Ibm blockchain platform explained Ibm blockchain platform explained
Ibm blockchain platform explained
 
Ibp technical introduction
Ibp technical introductionIbp technical introduction
Ibp technical introduction
 
Ibm blockchain 2.0 cloud login v3
Ibm blockchain 2.0 cloud login v3Ibm blockchain 2.0 cloud login v3
Ibm blockchain 2.0 cloud login v3
 
Machine Learning and Power AI Workshop v4
Machine Learning and Power AI Workshop v4Machine Learning and Power AI Workshop v4
Machine Learning and Power AI Workshop v4
 
Internet of Things exercise on IBM Bluemix
Internet of Things exercise on IBM BluemixInternet of Things exercise on IBM Bluemix
Internet of Things exercise on IBM Bluemix
 
Rapid applications development update12-06-14
Rapid applications development update12-06-14Rapid applications development update12-06-14
Rapid applications development update12-06-14
 

Último

Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)ICT Watch - Indonesia
 
How to login to Router net ORBI LOGIN...
How to login to Router net ORBI LOGIN...How to login to Router net ORBI LOGIN...
How to login to Router net ORBI LOGIN...rrouter90
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxAndrieCagasanAkio
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxmibuzondetrabajo
 
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...ICT Watch - Indonesia
 
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...vmzoxnx5
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxMario
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119APNIC
 
Cybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesCybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesLumiverse Solutions Pvt Ltd
 

Último (9)

Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
 
How to login to Router net ORBI LOGIN...
How to login to Router net ORBI LOGIN...How to login to Router net ORBI LOGIN...
How to login to Router net ORBI LOGIN...
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptx
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptx
 
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
 
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptx
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
Cybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesCybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best Practices
 

An introduction to blockchain and hyperledger v ru

  • 1. An Introduction to Blockchain and Hyperledger Lennart Frantzell IBM Developer Advocate San Francisco alf@us.ibm.com V1.2 February 1 2019 Blockchain Explored Series IBM Blockchain Platform Explored Fabric Explored Composer Explored What’s New Architectures Explored
  • 3. 3
  • 5. 5 Breaking News: Hyperledger Fabric Now Supports Ethereum Smart Contracts • Enterprise blockchain Hyperledger Fabric has introduced support for Ethereum smart contracts. Fabric is designed to be modular with four main components. These are the main ledger, the consensus mechanism, identity management, and smart contracts called chaincode. The latest announcement provides an alternative to chaincode. • Ethereum’s large pool of developers are comfortable with its Solidity smart contract language, so the integration should make Fabric more appealing to Ethereum developers. Additionally, many coders use Web3 a Node.js set of tools to build Ethereum decentralized apps (Dapps). By integrating with the EVM, these developers can work with Fabric and even migrate smart contracts and Dapps over to Hyperledger Fabric. • https://www.ledgerinsights.com/hyperledger-fabric-integrates-ethereum-smart-contracts-evm-blockchain/
  • 6. 6 Business networks, wealth and markets • Business Networks benefit from connectivity – Participants are customers, suppliers, banks, partners – Cross geography and regulatory boundary • Wealth is generated by the flow of goods and services across business network in transactions and contracts • Markets are central to this process: – Public (fruit market, car auction), or – Private (supply chain financing, bonds)
  • 7. 7 Transferring assets, building value Anything that is capable of being owned or controlled to produce value, is an asset Two fundamental types of asset Intangible assets subdivide Cash is also an asset • Tangible, e.g. a house • Intangible, e.g. a mortgage • Financial, e.g. bond • Intellectual, e.g. patents • Digital, e.g. data • Has property of anonymity
  • 8. 8 Ledgers are key Ledgers are THE system of record for a business. Businesses will have multiple ledgers for the multiple business networks in which they participate. • Transaction: an asset transfer onto or off the ledger – John gives a car to Anthony (simple) • Contract: the conditions for a transaction to occur – If Anthony pays John money, then car passes from John to Anthony (simple) – If car won't start, funds do not pass to John (as decided by third party arbitrator) (more complex)
  • 11. 11 The Blockchain • https://hyperledger-fabric.readthedocs.io/en/release-1.4/ledger/ledger.html?highlight=blockchain#a- blockchain-ledger Each block contains a cryptographic hash of the previous block,[and transaction data (generally represented as a merkle tree root hash).
  • 12. 12 Problem inefficient, expensive, vulnerable Participant A’s records Participant B’s records Bank records Insurer records Regulator records Auditor records Need to be reconciled
  • 13. 13 … with consensus, provenance, immutability and finality Bank records Participant B’s records Auditor records Regulator records Blockchain Insurer records Participant A’s records A shared, replicated, permissioned ledger … No trusted third party, No need for reconciliation
  • 14. 14 Security: Public vs. private blockchains • Some use-cases require anonymity, others require privacy – Some may require a mixture of the two, depending on the characteristics of each participant • Most business use-cases require private, permissioned blockchains – Network members know who they’re dealing with (required for KYC, AML etc.) – Transactions are (usually) confidential between the participants concerned – Membership is controlled • For example, Bitcoin • Transactions are viewable by anyone • Participant identity is more difficult to control Public blockchains Private blockchains • For example, Hyperledger Fabric • Network members are known but transactions are secret
  • 15. 15 Security: Real-world vs. digital identity CA CA R U U • Consider real-world identity documents… – The issuers of the identity documents are trusted third parties (e.g. passport office) – There is usually a chain of trust (e.g. to get a bank card you need a drivers license or passport) – Identity documents are often stored in wallets • In the digital world, identities consist of public/private key pairs known as certificates – Identity documents are issued by trusted third parties known as Certificate Authorities (CAs) • Private blockchain networks also require CAs – So network members know who they’re dealing with – May sit with a regulatory body or a trusted subset of participants
  • 16. 16 Security: Encryption and Signing • Cryptography basics – Every member of the network has (at least) one public key and one private key – Assume that every member of the network knows all public keys and only their own private keys – Encryption is the process applying a transformation function to data such that it can only be decrypted by the other key in the public/private key pair – Users can sign data with a private key; others can verify that it was signed by that user • For example – Alice can sign a transaction with her private key such that anyone can verify it came from her – Anyone can encrypt a transaction with Bob’s public key; only Bob’s private key can decrypt it • In private, permissioned blockchains – Transactions and smart contracts can be signed to verify where they originated – Transactions and their payloads can be encrypted such that only authorized participants can decrypt
  • 17. 17 Introducing a trusted oracle • The architectural approach described in the previous section provides a reliable means to externalize complex decision rules. However, in the case of volatile information (such as interest rate), how can you reliably enrich a smart contract with such information? • One possibility is to delegate this responsibility to the client application: The client application retrieves the current interest rate and includes it in its payload to the smart contract. But why would the network trust the client application to always provide such information reliably and accurately? Hence, instead of delegating this responsibility to the client application, a better option is to: • Delegate the processing for obtaining volatile information to a third-party known as the oracle • Deterministically agree on the value to use for a volatile piece of information https://developer.ibm.com/articles/cl-extend-blockchain-smart-contracts-trusted-oracle/
  • 18. Spectrum of Blockchains 18 Permissionless Public Permissionless Private Permissioned Public Permissioned Private Bitcoin, Ethereum Public Polls Land Titles, University Degrees Business Apps Medical Records Permissioned vs. Permissionless: Who can write to a Blockchain, i.e. accessibility Public vs Private: who can read from a Blockchain, i.e. visibility https://www.youtube.com/watch?v=-O3ouBdG3Xg
  • 20. 20 Pluggable Consensus • https://www.slideshare.net/MattLucas3/blockchain-whats-new-in-hyperledger-fabric-oct-2018 • https://www.slideshare.net/HoreaPorutiu/using-blockchain-to-increase-supply-chain-transparency?qid=c095a0f0-6de6- 43cb-8597-6a1ffccc0d52&v=&b=&from_search=3 • https://www.slideshare.net/MattLucas3/blockchain-whats-new-in-hyperledger-fabric-oct-2018 • This modular architecture allows the platform to rely on well-established toolkits for CFT (crash fault-tolerant) or BFT (byzantine fault-tolerant) ordering. • In the currently available releases, Fabric offers a CFT ordering service implemented with Kafka and Zookeeper. Kafka is fault tolerant, but not Byzantine fault tolerant • In subsequent releases, Fabric will deliver a Raft consensus ordering service implemented with etcd/Raft and a fully decentralized BFT ordering service.
  • 21. 21 The Ledger, Blockchain and World State Database https://hyperledger-fabric.readthedocs.io/en/release-1.4/ledger/ledger.html#example-ledger-fabcar world state – a database that holds a cache of the current values of a set of ledger states. The world state makes it easy for a program to directly access the current value of a state rather than having to calculate it by traversing the entire transaction log (= Blockchain).
  • 22. 22IBM Blockchain Platform How applications interact with the IBM Blockchain Platform Blockchain Developer Develops Chaincode Submits 0 1 2 3 Ledger Blockchain WorldState Get, Put, Delete Record SDK Application ! Emits Emits ! Peer Accesses
  • 24. 24 What makes a good Blockchain Use Case? • • A Business problem that cannot easily be solved with existing techniques • An identifiable business network • With a shared ledger • With Participants, Assets and Transactions • A need for embedded trust but no Trusted Third Party
  • 25. 25 Re-use existing Blockchain Use Cases https://www.ibm.com/blockchain/use-cases/
  • 27. 27 IBM Code Patterns for Blockchain • IBM Code Patterns for Blockchain: https://developer.ibm.com/patterns/category/blockchain/ • 10 Lessons: Design Thinking for Blockchain https://www.ibm.com/blogs/insights-on-business/government/10-lessons-design-thinking-blockchain/
  • 28. 28 Linux Foundation Open Source Hyperledger • App Layer: Hyperledger Sawtooth Supply Chain Cargill https://sawtooth.hyperledger.org/examples/seafood.html
  • 29. Roadmap • Channels • Selective endorsement • SOLO/Kafka orderers • LevelDB or CouchDB • Javascript chaincode • Connection profile • Encryption library • Attribute access control • CouchDB indexes • Channel based events • ACLs • Service discovery • Pluggable endorsement and validation • Private Data Collections • State based endorsement • Java chaincode • CouchDB pagination • Identity Mixer • Local collections • SDK improvements • Lifecycle changes • Revocation for Idemixer • Tokenisation • RAFT • Operational metrics and logging • SDK and SHIM improvements • Burrow EVM • Long Term Service (LTS) support 07/17 03/18 06/18 10/18 4Q/18 * 1Q/19 * Based on https://wiki.hyperledger.org/projects/fabric/roadmap - Dates determined by the Hyperledger community - (*) Subject to change v1 v1.1 v1.2 v1.3 v1.4 v2.0
  • 30. 30 Announcing Hyperledger Grid, a new project to help build and deliver supply chain solutions! • United States-based agricultural conglomerate Cargill has announced that it is investing digital engineering resources to develop Hyperledger Grid, according to an announcement on Jan. 25. • Hyperledger Grid is a recently announced project from Hyperledger that aims to streamline supply chains by using blockchain technology. • Cargill — the U.S.’s largest privately held company with $114.7 billion in revenue — states that the Hyperledger Grid can “accelerate development of blockchain and other digital solutions for the global food and agriculture supply chains.” https://cointelegraph.com/news/cargill-invests-digital-engineering-to-develop-hyperledger-grid
  • 31. 31 The Blockchain Bean in the Supply Chain Space https://www.ibm.com/thought-leadership/blockchainbean/ YourCup NJB123
  • 32. 32
  • 34. 34
  • 36. 36
  • 38. 38
  • 40. 40 Blockchain and Supply Chain • Using a consortium based model, DLT provides the ability to follow a product from inception to end point delivery while maintaining an appropriate degree of control and information availability to the consortium members. • The three main components (end-end traceability, physical characteristics and regulatory concerns) can be properly accounted for through ensuring the permissions and access required of each entity (e.g., regulator, customer, partner, producer etc.) https://wiki.hyperledger.org/_media/groups/requirements/hyperledger_- _supply_chain_traceability-_anti_counterfeiting.pdf
  • 41. 41 Blockchain, IoT and Smart Contracts in Supply Chain •
  • 42. 42 On-chain/Off-chain/Oracles Accessing existing data off-chain https://developer.ibm.com/tutorials/cl-extend-blockchain-smart-contracts-trusted-oracle/ https://developer.ibm.com/tutorials/cl-extend-blockchain- smart-contracts-trusted-oracle/ Oracles • Augur • Prediction Market • Game Theory • Human Oracles
  • 44. 44 Trade-offs Between Non-Functional Requirements Consider the trade-offs between performance, security and resiliency! Performance o The amount of data being shared o Number and location of peers o Latency and throughput o Batching characteristics Security o Type of data being shared, and with whom o How is identity achieved o Confidentiality of transaction queries o Who verifies (endorses) transactions Resiliency o Resource failure o Malicious activity o Non-determinism
  • 45. 45 Hyperledger Fabric Now Supports Ethereum Smart Contracts • Enterprise blockchain Hyperledger Fabric has introduced support for Ethereum smart contracts. Fabric is designed to be modular with four main components. These are the main ledger, the consensus mechanism, identity management, and smart contracts called chaincode. The latest announcement provides an alternative to chaincode. • Ethereum’s large pool of developers are comfortable with its Solidity smart contract language, so the integration should make Fabric more appealing to Ethereum developers. Additionally, many coders use Web3 a Node.js set of tools to build Ethereum decentralized apps (Dapps). By integrating with the EVM, these developers can work with Fabric and even migrate smart contracts and Dapps over to Hyperledger Fabric. • https://www.ledgerinsights.com/hyperledger-fabric-integrates-ethereum-smart-contracts-evm-blockchain/
  • 47. 47 Blockchain and Oil and Gas •
  • 48. 48 Blockchain and Oil and Gas •
  • 49. 49 Blockchain in the Oil and Gas industry • The financial implications of conducting traditional transactions for businesses in the Oil and Gas industry can be staggering. • These businesses typically rely on extensive supply chains to bring their products to market. • As the number of businesses in the supply chain increases, so does the cost and complexity of reconciling each transaction. • In response, many organizations are dedicating small armies of people to resolving billing disputes which can tie up billions of dollars in working capital. https://www.ibm.com/blogs/insights-on-business/oil-gas/blockchain-adoption- chemicals-petroleum/
  • 51. 51 IBM Food Trust IBM Food Trust https://www.ibm.com/blockchain/solutions/food-trust https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=01022001USEN/ https://developer.ibm.com/patterns/track-the-coffee-supply-chain-on-the-blockchain/
  • 52. 52 IBM Food Trust architecture DATA ENTRY AND ACCESS Leveraging solution and global standards to share data with any network participant authorized by the data owner, you can feel confident knowing your data is shared only with need-to-know business partners in a secure and confidential environment. CERTIFICATIONS Digitize business critical certificates and inspection documents to optimize efficiency for information management, certify provenance, and ensure authenticity. https://www.ibm.com/us-en/marketplace/food-trust
  • 53. 53 Tradelens: Digitizing the Global Supply Chain • IBM Blockchain Services: 1500 industry and technical experts https://cdn2.hubspot.net/hubfs/4989579/TradeLens%20Solution%20Brief :%20Edition%20One.pdf Brings together all parties in the supply chain — including shippers/BCOs, freight forwarders, inland transportation, ports and terminals, ocean carriers, customs and other government authorities, and more — onto a blockchainbased platform with a secure permission and identity framework. Documents are stored off chain with only their hashes included in on-chain transactions.
  • 57. IBM Blockchain Platform for Visual Studio Code 57 https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm -blockchain-platform
  • 58. IBM Blockchain Plugin to VSCode 58 1. Create Smart Contract Project 2. Edit / write smart contract files 3. Package a smart contract project 4. Export a smart contract package 5. Connect to local_fabric runtime 6. Teardown the local_fabric runtime
  • 61. 61
  • 62. 62
  • 65. IBM Blockchain Platform Free 2.0 Beta 65 Design your network with total control: Maintain complete control of your identities, ledger, and smart contracts through a totally redesigned console. Management of the individual blockchain components is done by you in your own set of Kubernetes clusters for greatest deployment flexibility. Govern distributed network with security and ease: In the new IBM Blockchain Platform, individual network components are even more powerful than before—you can deploy only the components you need and even connect a single peer to multiple networks, which accelerates your ability to benefit from multiple blockchain industry networks. The monitoring and governance tooling provides visibility across all your blockchain components. Later in 2019, we will provide the capability to connect to nodes running in any environment, including on-premise, public, and hybrid clouds. Grow your network faster and easier: The new design allows you to grow more quickly and easily, to start small and grow as you scale, paying only for the compute you need. Simplified DevOps allows you to move from development to test to production in a single environment, and a new VSCode extension creates seamless integration between smart contract development and network management. https://www.ibm.com/blogs/bluemix/2019/02/ibm-blockchain-platform-free-2-0-beta/
  • 66. 66 How do we host our Blockchain application?
  • 68. Thank you Lennart Frantzell www.ibm.com/blockchain developer.ibm.com/blockchain www.hyperledger.org © Copyright IBM Corporation 2017. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. Any statement of direction represents IBM's current intent, is subject to change or withdrawal, and represents only goals and objectives. IBM, the IBM logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.