SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
 überraschend mehr Möglichkeiten!
DOAG 2018 Konferenz, 22.11.2018
Andreas Chatziantoniou, Matthias Fuchs, Borys Neselovskyi
Eine Reise durch die Blockchain
Applikationsentwicklung
Eine Reise durch die Blockchain Applikationsentwicklung
Über uns…
Andreas Chatziantoniou
@MagicChatzi
DevTops, Nürnberg
OCA 10
AS, EM Certified
Middleware
Matthias Fuchs
@hias222
DevTops, Nürnberg
OCP 12
Exadata, RAC, Java Cloud
Certified
Database, Middleware
Borys Neselovskyi
@bneselov
OPITZ CONSULTING, Essen
OCP 8, 10, 12
Database, Middleware,
Engineered Systems
Cloud Technology
BMA
Seite 3
Agenda
1
2
3
4
Hyperledger Basics
Chaincode
All about Networking
Eine Reise durch die Blockchain Applikationsentwicklung
5
Seite 4
Hyperledger Basics
1
Eine Reise durch die Blockchain Applikationsentwicklung
Eine Reise durch die Blockchain Applikationsentwicklung
The current world
Shop Bank
Insurance Regulator Manufacturer
Customer
A
The current world – with Hyperledger Fabric
Shop Bank
Insurance Regulator
Customer
Blockchain Ledger
shared, replicated, permissioned
A
Eine Reise durch die Blockchain Applikationsentwicklung
Manufacturer
What the business wants
 Privacy
 All transactions have security embedded
 Authentication and access controls are
enabled for granular access
 Shared Ledger
 Database is immutable (append only)
 Shared across the business network
 Trust
 All the transactions are verified and
endorsed by the trusted relevant parties
 Smart contract
 Business logic is embedded within the
database and executed to validate and
store the transactions
A
Eine Reise durch die Blockchain Applikationsentwicklung
Properties of a Distributed Ledger
 Decentralized, replicated across many participants, each of whom
collaborate in its maintenance
 Information recorded is append-only
 Immutability makes it simple to determine the provenance of the
information
 These properties makes it called as “Systems of Proof”
A
Eine Reise durch die Blockchain Applikationsentwicklung
HyperLedger Fabric Key Features
 Private and permission based
 Members of HyperLedger Fabric enrolls thru MSP - Membership Service
Provider
 Different MSPs are supported
 Ledger data can be stored in multiple formats.
 Consensus mechanisms can be switched in and out
 Ability to create channels - Allowing a group of participants to create a
separate ledger of transactions.
A
Eine Reise durch die Blockchain Applikationsentwicklung
Hyperledger Fabric Deployment Model
Src: Metamagic Global
A
Eine Reise durch die Blockchain Applikationsentwicklung
Hyperledger Fabric – Assets/Smart Contract
 Assets
 Real world physical/financial assets
 Represented as a collection of key-value
pairs
 state changes recorded as transactions on
a Channel ledger
 Assets can be represented in binary
and/or JSON form
 Smart Contracts
 Defining an asset and the transaction
instructions for modifying it
 Enforces rules for reading or altering key
value pairs
 Executes against the ledger’s current state
database & are initiated through a
transaction proposaI
 Execution results in a set of key value
writes (write set) that can be submitted to
the network and applied to the ledger on
all peers
A
Eine Reise durch die Blockchain Applikationsentwicklung
Hyperledger Fabric – Ledger/Channels
 Ledger
 Ledger is the sequenced, tamper-resistant
record of all state transitions in the fabric
 State transitions are a result of Chaincode
invocations (‘transactions’) submitted by
participating parties
 Each transaction results in a set of asset
key-value pairs that are committed to the
ledger as creates, updates, or deletes
 The ledger is comprised of a Blockchain
(‘chain’) to store the immutable,
sequenced record in blocks
 Channels
 There is one ledger per channel
 Each peer maintains a copy of the ledger
for each channel of which they are a
member
 Private “subnet” of communication
between two or more specific network
members, for the purpose of conducting
private and confidential transactions
 Channel is a completely separate instance
of HyperLedger Fabric. Every Channel is
completely isolated and will never talk to
each other
A
Eine Reise durch die Blockchain Applikationsentwicklung
Hyperledger vs Bitcoin A
Eine Reise durch die Blockchain Applikationsentwicklung
Hyperledger Fabric Bitcoin
Provides Identity Anonymity
Practical Byzantine Fault Tolerance Proof of work
Assets Cryptocurrency
Selective Endorsement Zero Trust
Seite 14
Chaincode
2
Eine Reise durch die Blockchain Applikationsentwicklung
Eine Reise durch die Blockchain Applikationsentwicklung
What is Chaincode?
 Chaincode is software defining the business logic
 Chaincode is a piece of code that is written in Javascript / Go / Node.js
 Chaincode enforces the rules for reading or altering key-value pairs or
other state database information.
 Chaincode functions execute against the ledger’s current state database
and are initiated through a transaction proposal.
 Chaincode execution results in a set of key-value writes (write set) that can
be submitted to the network and applied to the ledger on all peers.
Source: https://hyperledger-fabric.readthedocs.io/en/release-1.3/fabric_model.html
B
Eine Reise durch die Blockchain Applikationsentwicklung
Chaincode: two perspectives
 Chaincode for Developers
 Developing a blockchain
application
 Chaincode for Operator
 Managing blockchain network
 Maintenance chaincode by:
 Install
 Instantiate
 upgrade
B
Eine Reise durch die Blockchain Applikationsentwicklung
Chaincode Interface
 Methods:
B
Eine Reise durch die Blockchain Applikationsentwicklung
Chaincode Interface
 Dependencies:
 Package shim provides APIs for the chaincode
to access its state variables, transaction context
and call other chaincodes:
 Can be generated:
import
"github.com/hyperledger/fabric/core/chain
code/shim"
 Functions:
 * fmt: contains PrintIn for debugging/logging
 * error: standard go error format
B
Source: https://fabrictestdocs.readthedocs.io/en/latest/chaincode.html
Eine Reise durch die Blockchain Applikationsentwicklung
Package shim: Logging Control
 Create a logging object for use by a chaincode:
NewLogger(name string) *ChaincodeLogger
 Set the logging level of the logger:
(c *ChaincodeLogger) SetLevel(level LoggingLevel)
 Return true if logs will be generated at the given level:
(c *ChaincodeLogger) IsEnabledFor(level LoggingLevel) bool
 A LoggingLevel is a member of the enumeration:
LogDebug, LogInfo, LogNotice, LogWarning, LogError, LogCritical
 which can be used directly, or generated by passing a case-insensitive version of the strings:
DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL
B
Source: https://hyperledger-fabric.readthedocs.io/en/release-1.2/logging-control.html
Eine Reise durch die Blockchain Applikationsentwicklung
Package shim: Type Response
 A response with a representation similar to an HTTP response that can be used within another
message

B
Eine Reise durch die Blockchain Applikationsentwicklung
Package shim: Type ServerStatus_StatusCode
 type ServerStatus_StatusCode int32
B
Eine Reise durch die Blockchain Applikationsentwicklung
Oracle Autonomous Blockchain Cloud Service (OABCS)
 Chaincode is written in Go or node.js and packaged into a ZIP file
 Create the package.json file with two sections:
 The scripts section declares how to launch the chaincode
 The dependencies section specifies the dependencies
Source: https://docs.oracle.com/en/cloud/paas/blockchain-cloud/user/write-chaincode.html#GUID-64153568-41D2-40E6-9F66-EF384AFEC8E9
B
Eine Reise durch die Blockchain Applikationsentwicklung
Oracle Autonomous Blockchain Cloud Service (OABCS)
Source: https://docs.oracle.com/en/cloud/paas/blockchain-cloud/user/typical-workflow-deploy-chaincodes.html
B
Eine Reise durch die Blockchain Applikationsentwicklung
REST API for Oracle Autonomous Blockchain Cloud Service
 Administer Chaincode:
 Get Chaincode Information:
 Method: GET
 Path: /console/admin/api/v1.1/chaincodes/{chaincodeName}
 Install a Chaincode:
 Method: POST
 Path: /console/admin/api/v1.1/chaincodes
 Instantiate a Chaincode:
 Method: POST
 Path: /console/admin/api/v1.1/chaincodes/{chaincodeName}/instantiate
 List of all REST Endpoints:
 https://docs.oracle.com/en/cloud/paas/blockchain-cloud/rest-api/rest-endpoints.html
B
Blockchain Overview25
3
Integration Blockchain
Call
Events
State
Eine Reise durch die Blockchain Applikationsentwicklung
M
Access (hyperledger)
 Query State DB (CouchDB)
 versioned key-value store (KVS)
 blobs
 Fabric Core
 Rest
 Cli
 Hyperledger Fabric SDKs Document Store
schema-free
RESTful HTTP/JSON API
M
Eine Reise durch die Blockchain Applikationsentwicklung
Access Path (hyperledger)
Rest
EndpointsRest
Endpoints
Micro-
services
Micro-
services
Micro-
services
Rest Connects
IoT Devices
Integration
CLI (peer cmds)
Rest
SDK (java, node
..)
M
Events
 event hub
 This service sent events any time a new
block was added to the peer’s ledger,
regardless of the channel to which that
block pertained
New since 1.1
 Event services
 Deliver
 DeliverFiltered
SDK with
Integratio
n
SDK (java, node
..)
M
Peers and Microservices (hyperledger)
Hyperledger
Fabric
Endorser,
Commiter
chaincode
Orderer
Rest
EndpointsRest
Endpoints
Micro-
services
Micro-
services
Micro-
services
Org 1 Org 2
Orderer
Rest
EndpointsRest
Endpoints
Micro-
services
Micro-
services
Micro-
services
Hyperledger
Fabric
Endorser,
Commiter
chaincode
M
Peers and Microservices
Org 1
Orderer
Rest
EndpointsRest
Endpoints
Micro-
services
Micro-
services
Micro-
services
Hyperledger
Fabric
Endorser,
Commiter
chaincode
Container
Services
Contionous
Integration
Plan
Code
Build
Test M
Eine Reise durch die Blockchain Applikationsentwicklung
Demo
Development 1 – Basic Tasks
 Query
 Most queries against the state
DB
 Chaincode shim interface
 Updates
 channel.SendTransactionPropos
al
 The ordering service bundles
the transaction into a block and
delivers it to all peers on a
channel for validation
Development – 2 Example Swagger
 Using hyperledger
composer
 Yeoman generates a
template
 Some examples from
fabric
 Start rest server
OpenAPI Swagger.json
Development 3 - Clients
Nswag
 https://github.com/RSuter/
NSwag
Swagger
https://editor.s
wagger.io/
https://editor.swagger.io/
Import to Angular
Cloud
Oracle Rest Proxy
Seite 40Eine Reise durch die Blockchain Applikationsentwicklung
Fragen

Weitere ähnliche Inhalte

Was ist angesagt?

Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricAraf Karsh Hamid
 
Hyperledger whitepaper
Hyperledger whitepaperHyperledger whitepaper
Hyperledger whitepapermustafa sarac
 
Hyperledger Fabric and Tools
Hyperledger Fabric and ToolsHyperledger Fabric and Tools
Hyperledger Fabric and ToolsRihusoft
 
Hong Kong Hyperledger Meetup January 2018
Hong Kong Hyperledger Meetup January 2018Hong Kong Hyperledger Meetup January 2018
Hong Kong Hyperledger Meetup January 2018Tracy Kuhrt
 
Hyperledger Fabric & Composer
Hyperledger Fabric & Composer Hyperledger Fabric & Composer
Hyperledger Fabric & Composer Dr. Ketan Parmar
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruLennartF
 
Learn Basics & advances of Hyperledger - 101-Blockchains
Learn Basics & advances of Hyperledger - 101-BlockchainsLearn Basics & advances of Hyperledger - 101-Blockchains
Learn Basics & advances of Hyperledger - 101-BlockchainsJackSmith435850
 
Code for America 2018 - Using Hyperledger Technologies to Deliver Government ...
Code for America 2018 - Using Hyperledger Technologies to Deliver Government ...Code for America 2018 - Using Hyperledger Technologies to Deliver Government ...
Code for America 2018 - Using Hyperledger Technologies to Deliver Government ...Tracy Kuhrt
 
OSCON 2018 Getting Started with Hyperledger Indy
OSCON 2018 Getting Started with Hyperledger IndyOSCON 2018 Getting Started with Hyperledger Indy
OSCON 2018 Getting Started with Hyperledger IndyTracy Kuhrt
 
IBM presents: Hyperledger Fabric Hands On Workshop - part 1
IBM presents: Hyperledger Fabric Hands On Workshop - part 1IBM presents: Hyperledger Fabric Hands On Workshop - part 1
IBM presents: Hyperledger Fabric Hands On Workshop - part 1Grant Steinfeld
 
Demystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricDemystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricBenjamin Fuentes
 
Hyperledger community update 20180528
Hyperledger community update 20180528Hyperledger community update 20180528
Hyperledger community update 20180528Arnaud Le Hors
 
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203Arnaud Le Hors
 
Blockchain explored
Blockchain explored Blockchain explored
Blockchain explored IBM Sverige
 

Was ist angesagt? (20)

Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
 
Hyperledger whitepaper
Hyperledger whitepaperHyperledger whitepaper
Hyperledger whitepaper
 
Hyperledger introduction
Hyperledger introductionHyperledger introduction
Hyperledger introduction
 
Hyperledger Fabric and Tools
Hyperledger Fabric and ToolsHyperledger Fabric and Tools
Hyperledger Fabric and Tools
 
Hong Kong Hyperledger Meetup January 2018
Hong Kong Hyperledger Meetup January 2018Hong Kong Hyperledger Meetup January 2018
Hong Kong Hyperledger Meetup January 2018
 
Hyperledger Fabric & Composer
Hyperledger Fabric & Composer Hyperledger Fabric & Composer
Hyperledger Fabric & Composer
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 
Hyperledger fabric
Hyperledger fabricHyperledger fabric
Hyperledger fabric
 
Learn Basics & advances of Hyperledger - 101-Blockchains
Learn Basics & advances of Hyperledger - 101-BlockchainsLearn Basics & advances of Hyperledger - 101-Blockchains
Learn Basics & advances of Hyperledger - 101-Blockchains
 
Code for America 2018 - Using Hyperledger Technologies to Deliver Government ...
Code for America 2018 - Using Hyperledger Technologies to Deliver Government ...Code for America 2018 - Using Hyperledger Technologies to Deliver Government ...
Code for America 2018 - Using Hyperledger Technologies to Deliver Government ...
 
OSCON 2018 Getting Started with Hyperledger Indy
OSCON 2018 Getting Started with Hyperledger IndyOSCON 2018 Getting Started with Hyperledger Indy
OSCON 2018 Getting Started with Hyperledger Indy
 
IBM presents: Hyperledger Fabric Hands On Workshop - part 1
IBM presents: Hyperledger Fabric Hands On Workshop - part 1IBM presents: Hyperledger Fabric Hands On Workshop - part 1
IBM presents: Hyperledger Fabric Hands On Workshop - part 1
 
Hyperledger Fabric
Hyperledger FabricHyperledger Fabric
Hyperledger Fabric
 
Blockchain Hyperledger Fabric
Blockchain Hyperledger FabricBlockchain Hyperledger Fabric
Blockchain Hyperledger Fabric
 
Demystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricDemystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabric
 
Hyperledger community update 20180528
Hyperledger community update 20180528Hyperledger community update 20180528
Hyperledger community update 20180528
 
Excelian hyperledger walkthrough-feb17
Excelian hyperledger walkthrough-feb17Excelian hyperledger walkthrough-feb17
Excelian hyperledger walkthrough-feb17
 
Hyperledger
HyperledgerHyperledger
Hyperledger
 
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
 
Blockchain explored
Blockchain explored Blockchain explored
Blockchain explored
 

Ähnlich wie Doag 2018 eine_reise_durch_die_blockchain_applikationsentwicklung_final

Defrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDefrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDuncan Johnston-Watt
 
Gluecon 2016 Keynote: Deploying and Managing Blockchain Applications
Gluecon 2016 Keynote: Deploying and Managing Blockchain ApplicationsGluecon 2016 Keynote: Deploying and Managing Blockchain Applications
Gluecon 2016 Keynote: Deploying and Managing Blockchain ApplicationsDuncan Johnston-Watt
 
Introduction to Hyperledger Composer
Introduction to Hyperledger ComposerIntroduction to Hyperledger Composer
Introduction to Hyperledger ComposerSimon Stone
 
Blockchain for Java Developers - Cloud Conference Day
Blockchain for Java Developers - Cloud Conference DayBlockchain for Java Developers - Cloud Conference Day
Blockchain for Java Developers - Cloud Conference DayJuarez Junior
 
Deploying and Managing a Global Blockchain Network
Deploying and Managing a Global Blockchain NetworkDeploying and Managing a Global Blockchain Network
Deploying and Managing a Global Blockchain NetworkDuncan Johnston-Watt
 
Oracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo YooOracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo YooOracle Korea
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM France Lab
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Araf Karsh Hamid
 
hyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxhyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxdeepaksingh160910
 
Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020Juarez Junior
 
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
Build Blockchain Prototype using Azure Workbench and Manage data on ledgerBuild Blockchain Prototype using Azure Workbench and Manage data on ledger
Build Blockchain Prototype using Azure Workbench and Manage data on ledgerMohammad Asif
 
Blockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventBlockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventAraf Karsh Hamid
 
02 - Introduction to Hyperledger Fabric
02 - Introduction to Hyperledger Fabric  02 - Introduction to Hyperledger Fabric
02 - Introduction to Hyperledger Fabric Merlec Mpyana
 
IRJET- Proof of Document using Multichain and Ethereum
IRJET- Proof of Document using Multichain and EthereumIRJET- Proof of Document using Multichain and Ethereum
IRJET- Proof of Document using Multichain and EthereumIRJET Journal
 
Blockchain on Azure
Blockchain on AzureBlockchain on Azure
Blockchain on AzureNuri Cankaya
 
Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3Mohammad Asif
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 Yunho Maeng
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architectedIBM Sverige
 

Ähnlich wie Doag 2018 eine_reise_durch_die_blockchain_applikationsentwicklung_final (20)

Defrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDefrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain Network
 
Defrag x blockchain keynote
Defrag x blockchain keynoteDefrag x blockchain keynote
Defrag x blockchain keynote
 
Gluecon 2016 Keynote: Deploying and Managing Blockchain Applications
Gluecon 2016 Keynote: Deploying and Managing Blockchain ApplicationsGluecon 2016 Keynote: Deploying and Managing Blockchain Applications
Gluecon 2016 Keynote: Deploying and Managing Blockchain Applications
 
Introduction to Hyperledger Composer
Introduction to Hyperledger ComposerIntroduction to Hyperledger Composer
Introduction to Hyperledger Composer
 
Blockchain for Java Developers - Cloud Conference Day
Blockchain for Java Developers - Cloud Conference DayBlockchain for Java Developers - Cloud Conference Day
Blockchain for Java Developers - Cloud Conference Day
 
Deploying and Managing a Global Blockchain Network
Deploying and Managing a Global Blockchain NetworkDeploying and Managing a Global Blockchain Network
Deploying and Managing a Global Blockchain Network
 
Oracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo YooOracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo Yoo
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
 
BlockchainLAB Hackathon
BlockchainLAB HackathonBlockchainLAB Hackathon
BlockchainLAB Hackathon
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric
 
hyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxhyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptx
 
Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020
 
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
Build Blockchain Prototype using Azure Workbench and Manage data on ledgerBuild Blockchain Prototype using Azure Workbench and Manage data on ledger
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
 
Blockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventBlockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - Clavent
 
02 - Introduction to Hyperledger Fabric
02 - Introduction to Hyperledger Fabric  02 - Introduction to Hyperledger Fabric
02 - Introduction to Hyperledger Fabric
 
IRJET- Proof of Document using Multichain and Ethereum
IRJET- Proof of Document using Multichain and EthereumIRJET- Proof of Document using Multichain and Ethereum
IRJET- Proof of Document using Multichain and Ethereum
 
Blockchain on Azure
Blockchain on AzureBlockchain on Azure
Blockchain on Azure
 
Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architected
 

Mehr von OPITZ CONSULTING Deutschland

Architecture Room Stuttgart - "Cloud-native ist nur ein Teil des Spiels!"
Architecture Room Stuttgart - "Cloud-native ist nur ein Teil des Spiels!"Architecture Room Stuttgart - "Cloud-native ist nur ein Teil des Spiels!"
Architecture Room Stuttgart - "Cloud-native ist nur ein Teil des Spiels!"OPITZ CONSULTING Deutschland
 
OC|Webcast: Oracle Lizenzierung - Die größten Fallen in der Praxis
OC|Webcast: Oracle Lizenzierung - Die größten Fallen in der PraxisOC|Webcast: Oracle Lizenzierung - Die größten Fallen in der Praxis
OC|Webcast: Oracle Lizenzierung - Die größten Fallen in der PraxisOPITZ CONSULTING Deutschland
 
OC|Webcast: Oracle Lizenzierung - Virtualisierung und Cloud
OC|Webcast: Oracle Lizenzierung - Virtualisierung und CloudOC|Webcast: Oracle Lizenzierung - Virtualisierung und Cloud
OC|Webcast: Oracle Lizenzierung - Virtualisierung und CloudOPITZ CONSULTING Deutschland
 
OC|Weekly Talk: Inspect’n’Adapt – Make Change come true!
OC|Weekly Talk: Inspect’n’Adapt – Make Change come true!OC|Weekly Talk: Inspect’n’Adapt – Make Change come true!
OC|Weekly Talk: Inspect’n’Adapt – Make Change come true!OPITZ CONSULTING Deutschland
 
OC|Webcast: Schnell und clever in die AWS Cloud – Migrationsszenarien und Han...
OC|Webcast: Schnell und clever in die AWS Cloud – Migrationsszenarien und Han...OC|Webcast: Schnell und clever in die AWS Cloud – Migrationsszenarien und Han...
OC|Webcast: Schnell und clever in die AWS Cloud – Migrationsszenarien und Han...OPITZ CONSULTING Deutschland
 
OC|Weekly Talk: "Das müsste man mal digitalisieren" - Mit Low-Code schnell zu...
OC|Weekly Talk: "Das müsste man mal digitalisieren" - Mit Low-Code schnell zu...OC|Weekly Talk: "Das müsste man mal digitalisieren" - Mit Low-Code schnell zu...
OC|Weekly Talk: "Das müsste man mal digitalisieren" - Mit Low-Code schnell zu...OPITZ CONSULTING Deutschland
 
OC|Weekly Talk: Service Management – Was hat sich durch Corona geändert?
OC|Weekly Talk: Service Management – Was hat sich durch Corona geändert?OC|Weekly Talk: Service Management – Was hat sich durch Corona geändert?
OC|Weekly Talk: Service Management – Was hat sich durch Corona geändert?OPITZ CONSULTING Deutschland
 
OC|Weekly Talk - Digitales Coaching & Smart Sparring
OC|Weekly Talk - Digitales Coaching & Smart Sparring OC|Weekly Talk - Digitales Coaching & Smart Sparring
OC|Weekly Talk - Digitales Coaching & Smart Sparring OPITZ CONSULTING Deutschland
 
Effiziente Betriebsoptimierung durch Cloud Nutzung
Effiziente Betriebsoptimierung durch Cloud NutzungEffiziente Betriebsoptimierung durch Cloud Nutzung
Effiziente Betriebsoptimierung durch Cloud NutzungOPITZ CONSULTING Deutschland
 

Mehr von OPITZ CONSULTING Deutschland (20)

OC|Webcast: Grundlagen der Oracle Lizenzierung
OC|Webcast: Grundlagen der Oracle LizenzierungOC|Webcast: Grundlagen der Oracle Lizenzierung
OC|Webcast: Grundlagen der Oracle Lizenzierung
 
OC|Webcast "Java heute" vom 28.09.2021
OC|Webcast "Java heute" vom 28.09.2021OC|Webcast "Java heute" vom 28.09.2021
OC|Webcast "Java heute" vom 28.09.2021
 
OC|Webcast "Java heute" vom 24.08.2021
OC|Webcast "Java heute" vom 24.08.2021OC|Webcast "Java heute" vom 24.08.2021
OC|Webcast "Java heute" vom 24.08.2021
 
OC|Webcast "Daten wirklich nutzen"
OC|Webcast "Daten wirklich nutzen"OC|Webcast "Daten wirklich nutzen"
OC|Webcast "Daten wirklich nutzen"
 
Architecture Room Stuttgart - "Cloud-native ist nur ein Teil des Spiels!"
Architecture Room Stuttgart - "Cloud-native ist nur ein Teil des Spiels!"Architecture Room Stuttgart - "Cloud-native ist nur ein Teil des Spiels!"
Architecture Room Stuttgart - "Cloud-native ist nur ein Teil des Spiels!"
 
OC|Webcast "Willkommen in der Cloud!"
OC|Webcast "Willkommen in der Cloud!"OC|Webcast "Willkommen in der Cloud!"
OC|Webcast "Willkommen in der Cloud!"
 
OC|Webcast "Die neue Welt der Virtualisierung"
OC|Webcast "Die neue Welt der Virtualisierung"OC|Webcast "Die neue Welt der Virtualisierung"
OC|Webcast "Die neue Welt der Virtualisierung"
 
10 Thesen zur professionellen Softwareentwicklung
10 Thesen zur professionellen Softwareentwicklung10 Thesen zur professionellen Softwareentwicklung
10 Thesen zur professionellen Softwareentwicklung
 
OC|Webcast: Oracle Lizenzierung - Lizenznews 2021
OC|Webcast: Oracle Lizenzierung - Lizenznews 2021OC|Webcast: Oracle Lizenzierung - Lizenznews 2021
OC|Webcast: Oracle Lizenzierung - Lizenznews 2021
 
OC|Webcast: Oracle Lizenzierung - Die größten Fallen in der Praxis
OC|Webcast: Oracle Lizenzierung - Die größten Fallen in der PraxisOC|Webcast: Oracle Lizenzierung - Die größten Fallen in der Praxis
OC|Webcast: Oracle Lizenzierung - Die größten Fallen in der Praxis
 
OC|Webcast: Oracle Lizenzierung - Virtualisierung und Cloud
OC|Webcast: Oracle Lizenzierung - Virtualisierung und CloudOC|Webcast: Oracle Lizenzierung - Virtualisierung und Cloud
OC|Webcast: Oracle Lizenzierung - Virtualisierung und Cloud
 
OC|Webcast: Grundlagen der Oracle-Lizenzierung
OC|Webcast: Grundlagen der Oracle-LizenzierungOC|Webcast: Grundlagen der Oracle-Lizenzierung
OC|Webcast: Grundlagen der Oracle-Lizenzierung
 
OC|Weekly Talk: Inspect’n’Adapt – Make Change come true!
OC|Weekly Talk: Inspect’n’Adapt – Make Change come true!OC|Weekly Talk: Inspect’n’Adapt – Make Change come true!
OC|Weekly Talk: Inspect’n’Adapt – Make Change come true!
 
OC|Webcast: Schnell und clever in die AWS Cloud – Migrationsszenarien und Han...
OC|Webcast: Schnell und clever in die AWS Cloud – Migrationsszenarien und Han...OC|Webcast: Schnell und clever in die AWS Cloud – Migrationsszenarien und Han...
OC|Webcast: Schnell und clever in die AWS Cloud – Migrationsszenarien und Han...
 
OC|Weekly Talk The Power of DevOps…
OC|Weekly Talk  The Power of DevOps…OC|Weekly Talk  The Power of DevOps…
OC|Weekly Talk The Power of DevOps…
 
OC|Weekly Talk: "Das müsste man mal digitalisieren" - Mit Low-Code schnell zu...
OC|Weekly Talk: "Das müsste man mal digitalisieren" - Mit Low-Code schnell zu...OC|Weekly Talk: "Das müsste man mal digitalisieren" - Mit Low-Code schnell zu...
OC|Weekly Talk: "Das müsste man mal digitalisieren" - Mit Low-Code schnell zu...
 
OC|Weekly Talk: Service Management – Was hat sich durch Corona geändert?
OC|Weekly Talk: Service Management – Was hat sich durch Corona geändert?OC|Weekly Talk: Service Management – Was hat sich durch Corona geändert?
OC|Weekly Talk: Service Management – Was hat sich durch Corona geändert?
 
OC|Weekly Talk - Digitales Coaching & Smart Sparring
OC|Weekly Talk - Digitales Coaching & Smart Sparring OC|Weekly Talk - Digitales Coaching & Smart Sparring
OC|Weekly Talk - Digitales Coaching & Smart Sparring
 
OC|Weekly Talk - Beratung remote
OC|Weekly Talk - Beratung remoteOC|Weekly Talk - Beratung remote
OC|Weekly Talk - Beratung remote
 
Effiziente Betriebsoptimierung durch Cloud Nutzung
Effiziente Betriebsoptimierung durch Cloud NutzungEffiziente Betriebsoptimierung durch Cloud Nutzung
Effiziente Betriebsoptimierung durch Cloud Nutzung
 

Kürzlich hochgeladen

The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 

Kürzlich hochgeladen (20)

The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 

Doag 2018 eine_reise_durch_die_blockchain_applikationsentwicklung_final

  • 1.  überraschend mehr Möglichkeiten! DOAG 2018 Konferenz, 22.11.2018 Andreas Chatziantoniou, Matthias Fuchs, Borys Neselovskyi Eine Reise durch die Blockchain Applikationsentwicklung
  • 2. Eine Reise durch die Blockchain Applikationsentwicklung Über uns… Andreas Chatziantoniou @MagicChatzi DevTops, Nürnberg OCA 10 AS, EM Certified Middleware Matthias Fuchs @hias222 DevTops, Nürnberg OCP 12 Exadata, RAC, Java Cloud Certified Database, Middleware Borys Neselovskyi @bneselov OPITZ CONSULTING, Essen OCP 8, 10, 12 Database, Middleware, Engineered Systems Cloud Technology BMA
  • 3. Seite 3 Agenda 1 2 3 4 Hyperledger Basics Chaincode All about Networking Eine Reise durch die Blockchain Applikationsentwicklung 5
  • 4. Seite 4 Hyperledger Basics 1 Eine Reise durch die Blockchain Applikationsentwicklung
  • 5. Eine Reise durch die Blockchain Applikationsentwicklung The current world Shop Bank Insurance Regulator Manufacturer Customer A
  • 6. The current world – with Hyperledger Fabric Shop Bank Insurance Regulator Customer Blockchain Ledger shared, replicated, permissioned A Eine Reise durch die Blockchain Applikationsentwicklung Manufacturer
  • 7. What the business wants  Privacy  All transactions have security embedded  Authentication and access controls are enabled for granular access  Shared Ledger  Database is immutable (append only)  Shared across the business network  Trust  All the transactions are verified and endorsed by the trusted relevant parties  Smart contract  Business logic is embedded within the database and executed to validate and store the transactions A Eine Reise durch die Blockchain Applikationsentwicklung
  • 8. Properties of a Distributed Ledger  Decentralized, replicated across many participants, each of whom collaborate in its maintenance  Information recorded is append-only  Immutability makes it simple to determine the provenance of the information  These properties makes it called as “Systems of Proof” A Eine Reise durch die Blockchain Applikationsentwicklung
  • 9. HyperLedger Fabric Key Features  Private and permission based  Members of HyperLedger Fabric enrolls thru MSP - Membership Service Provider  Different MSPs are supported  Ledger data can be stored in multiple formats.  Consensus mechanisms can be switched in and out  Ability to create channels - Allowing a group of participants to create a separate ledger of transactions. A Eine Reise durch die Blockchain Applikationsentwicklung
  • 10. Hyperledger Fabric Deployment Model Src: Metamagic Global A Eine Reise durch die Blockchain Applikationsentwicklung
  • 11. Hyperledger Fabric – Assets/Smart Contract  Assets  Real world physical/financial assets  Represented as a collection of key-value pairs  state changes recorded as transactions on a Channel ledger  Assets can be represented in binary and/or JSON form  Smart Contracts  Defining an asset and the transaction instructions for modifying it  Enforces rules for reading or altering key value pairs  Executes against the ledger’s current state database & are initiated through a transaction proposaI  Execution results in a set of key value writes (write set) that can be submitted to the network and applied to the ledger on all peers A Eine Reise durch die Blockchain Applikationsentwicklung
  • 12. Hyperledger Fabric – Ledger/Channels  Ledger  Ledger is the sequenced, tamper-resistant record of all state transitions in the fabric  State transitions are a result of Chaincode invocations (‘transactions’) submitted by participating parties  Each transaction results in a set of asset key-value pairs that are committed to the ledger as creates, updates, or deletes  The ledger is comprised of a Blockchain (‘chain’) to store the immutable, sequenced record in blocks  Channels  There is one ledger per channel  Each peer maintains a copy of the ledger for each channel of which they are a member  Private “subnet” of communication between two or more specific network members, for the purpose of conducting private and confidential transactions  Channel is a completely separate instance of HyperLedger Fabric. Every Channel is completely isolated and will never talk to each other A Eine Reise durch die Blockchain Applikationsentwicklung
  • 13. Hyperledger vs Bitcoin A Eine Reise durch die Blockchain Applikationsentwicklung Hyperledger Fabric Bitcoin Provides Identity Anonymity Practical Byzantine Fault Tolerance Proof of work Assets Cryptocurrency Selective Endorsement Zero Trust
  • 14. Seite 14 Chaincode 2 Eine Reise durch die Blockchain Applikationsentwicklung
  • 15. Eine Reise durch die Blockchain Applikationsentwicklung What is Chaincode?  Chaincode is software defining the business logic  Chaincode is a piece of code that is written in Javascript / Go / Node.js  Chaincode enforces the rules for reading or altering key-value pairs or other state database information.  Chaincode functions execute against the ledger’s current state database and are initiated through a transaction proposal.  Chaincode execution results in a set of key-value writes (write set) that can be submitted to the network and applied to the ledger on all peers. Source: https://hyperledger-fabric.readthedocs.io/en/release-1.3/fabric_model.html B
  • 16. Eine Reise durch die Blockchain Applikationsentwicklung Chaincode: two perspectives  Chaincode for Developers  Developing a blockchain application  Chaincode for Operator  Managing blockchain network  Maintenance chaincode by:  Install  Instantiate  upgrade B
  • 17. Eine Reise durch die Blockchain Applikationsentwicklung Chaincode Interface  Methods: B
  • 18. Eine Reise durch die Blockchain Applikationsentwicklung Chaincode Interface  Dependencies:  Package shim provides APIs for the chaincode to access its state variables, transaction context and call other chaincodes:  Can be generated: import "github.com/hyperledger/fabric/core/chain code/shim"  Functions:  * fmt: contains PrintIn for debugging/logging  * error: standard go error format B Source: https://fabrictestdocs.readthedocs.io/en/latest/chaincode.html
  • 19. Eine Reise durch die Blockchain Applikationsentwicklung Package shim: Logging Control  Create a logging object for use by a chaincode: NewLogger(name string) *ChaincodeLogger  Set the logging level of the logger: (c *ChaincodeLogger) SetLevel(level LoggingLevel)  Return true if logs will be generated at the given level: (c *ChaincodeLogger) IsEnabledFor(level LoggingLevel) bool  A LoggingLevel is a member of the enumeration: LogDebug, LogInfo, LogNotice, LogWarning, LogError, LogCritical  which can be used directly, or generated by passing a case-insensitive version of the strings: DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL B Source: https://hyperledger-fabric.readthedocs.io/en/release-1.2/logging-control.html
  • 20. Eine Reise durch die Blockchain Applikationsentwicklung Package shim: Type Response  A response with a representation similar to an HTTP response that can be used within another message  B
  • 21. Eine Reise durch die Blockchain Applikationsentwicklung Package shim: Type ServerStatus_StatusCode  type ServerStatus_StatusCode int32 B
  • 22. Eine Reise durch die Blockchain Applikationsentwicklung Oracle Autonomous Blockchain Cloud Service (OABCS)  Chaincode is written in Go or node.js and packaged into a ZIP file  Create the package.json file with two sections:  The scripts section declares how to launch the chaincode  The dependencies section specifies the dependencies Source: https://docs.oracle.com/en/cloud/paas/blockchain-cloud/user/write-chaincode.html#GUID-64153568-41D2-40E6-9F66-EF384AFEC8E9 B
  • 23. Eine Reise durch die Blockchain Applikationsentwicklung Oracle Autonomous Blockchain Cloud Service (OABCS) Source: https://docs.oracle.com/en/cloud/paas/blockchain-cloud/user/typical-workflow-deploy-chaincodes.html B
  • 24. Eine Reise durch die Blockchain Applikationsentwicklung REST API for Oracle Autonomous Blockchain Cloud Service  Administer Chaincode:  Get Chaincode Information:  Method: GET  Path: /console/admin/api/v1.1/chaincodes/{chaincodeName}  Install a Chaincode:  Method: POST  Path: /console/admin/api/v1.1/chaincodes  Instantiate a Chaincode:  Method: POST  Path: /console/admin/api/v1.1/chaincodes/{chaincodeName}/instantiate  List of all REST Endpoints:  https://docs.oracle.com/en/cloud/paas/blockchain-cloud/rest-api/rest-endpoints.html B
  • 26. Integration Blockchain Call Events State Eine Reise durch die Blockchain Applikationsentwicklung M
  • 27. Access (hyperledger)  Query State DB (CouchDB)  versioned key-value store (KVS)  blobs  Fabric Core  Rest  Cli  Hyperledger Fabric SDKs Document Store schema-free RESTful HTTP/JSON API M
  • 28. Eine Reise durch die Blockchain Applikationsentwicklung Access Path (hyperledger) Rest EndpointsRest Endpoints Micro- services Micro- services Micro- services Rest Connects IoT Devices Integration CLI (peer cmds) Rest SDK (java, node ..) M
  • 29. Events  event hub  This service sent events any time a new block was added to the peer’s ledger, regardless of the channel to which that block pertained New since 1.1  Event services  Deliver  DeliverFiltered SDK with Integratio n SDK (java, node ..) M
  • 30. Peers and Microservices (hyperledger) Hyperledger Fabric Endorser, Commiter chaincode Orderer Rest EndpointsRest Endpoints Micro- services Micro- services Micro- services Org 1 Org 2 Orderer Rest EndpointsRest Endpoints Micro- services Micro- services Micro- services Hyperledger Fabric Endorser, Commiter chaincode M
  • 31. Peers and Microservices Org 1 Orderer Rest EndpointsRest Endpoints Micro- services Micro- services Micro- services Hyperledger Fabric Endorser, Commiter chaincode Container Services Contionous Integration Plan Code Build Test M
  • 32. Eine Reise durch die Blockchain Applikationsentwicklung Demo
  • 33. Development 1 – Basic Tasks  Query  Most queries against the state DB  Chaincode shim interface  Updates  channel.SendTransactionPropos al  The ordering service bundles the transaction into a block and delivers it to all peers on a channel for validation
  • 34. Development – 2 Example Swagger  Using hyperledger composer  Yeoman generates a template  Some examples from fabric  Start rest server
  • 36. Development 3 - Clients Nswag  https://github.com/RSuter/ NSwag Swagger https://editor.s wagger.io/ https://editor.swagger.io/
  • 38. Cloud
  • 40. Seite 40Eine Reise durch die Blockchain Applikationsentwicklung Fragen