舉報

會員
Hyperledger Cookbook
Xun (Brian) Wu Chuanfeng Zhang Andrew Zhang 著
更新時間:2021-06-24 15:00:28
開會員,本書免費讀 >
Hyperledgerisanopen-sourceprojectandcreatesprivateblockchainapplicationsforarangeofdomains.Thisbookwillbeyourdeskreferenceasyouexplorecommonandnot-so-commonchallengesfacedwhilebuildingblockchainnetworksusingHyperledgerservices.We'llworkthroughallHyperledgerplatformmodulestounderstandtheirservicesandfeaturesandbuildend-to-endblockchainapplicationsusingvariousframeworksandtoolssupportedbyHyperledger.Thisbook'sindependent,recipe-basedapproach(packedwithreal-worldexamples)willfamiliarizeyouwiththeblockchaindevelopmentcycle.Frommodelingabusinessnetworktointegratingwithvarioustools,youwillcoveritall.We'llcovercommonandnot-so-commonchallengesfacedintheblockchainlifecycle.Later,we'lldelveintohowwecaninteractwiththeHyperledgerFabricblockchain,coveringalltheprinciplesyouneedtomaster,suchaschaincode,smartcontracts,andmuchmore.We'llalsoaddressthescalabilityandsecurityissuescurrentlyfacedinblockchaindevelopment.Bytheendofthisbook,youwillbeabletoimplementeachrecipetoplan,design,andcreateafull-fledged,private,decentralizedapplicationtomeetorganizationalneeds.
最新章節(jié)
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- The results
- The approach
- The problem
- BC and VON – cutting government red tape with Hyperledger Indy
品牌:中圖公司
上架時間:2021-06-24 12:22:10
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Leave a review - let other readers know what you think 更新時間:2021-06-24 15:00:28
- Other Books You May Enjoy
- The results
- The approach
- The problem
- BC and VON – cutting government red tape with Hyperledger Indy
- The results
- The approach
- The problem
- ScanTrust and Cambio Coffee – supply-chain blockchain with Hyperledger Sawtooth
- The results
- The approach
- The problem
- IBM and Walmart – blockchain for food safety with Hyperledger Fabric
- Solving business problems with Hyperledger
- Smart contracts
- The consensus layer
- Framework architecture overview
- The Hyperledger design philosophy at a glance
- Building the Hyperledger framework layers
- The tool projects
- The framework projects
- An introduction to the Hyperledger family
- Hyperledger Blockchain Ecosystem
- See also
- The application layer
- The interface and core layer
- The adaption layer
- How it works...
- Running the benchmark
- Installing dependencies
- How to do it...
- Getting ready
- Hyperledger performance measurement
- How it works...
- The Fabric CA database
- The Fabric CA client
- The Fabric CA server
- How to do it...
- Hyperledger blockchain security
- Channels and resource allocation
- The endorser policy
- Endorser scaling
- Block-size scaling
- How to do it...
- Hyperledger blockchain scalability and performance
- Hyperledger Blockchain Scalability and Security
- How it works...
- Posting the credential schema and credential definition transaction to the ledger
- Sending NYM transactions to the ledger
- Creating connecting and listing the Indy node pool
- Creating importing and using the DID
- Creating opening and listing the wallet
- Running the Indy CLI
- How to do it...
- Getting ready
- Exploring the Indy CLI with Hyperledger Indy
- There's more...
- How it works...
- How to do it...
- Getting ready
- Installing Hyperledger Indy and the Indy CLI on AWS
- Introduction
- Exploring the CLI with Hyperledger Indy
- How it works...
- How to do it...
- Getting ready
- Interacting with Hyperledger Iroha using the client library
- There's more...
- How it works...
- How to do it...
- Getting ready
- Interacting with Hyperledger Iroha using the CLI to create cryptocurrency
- How it works...
- How to do it...
- Getting ready
- Configuring Hyperledger Iroha
- How it works...
- How to do it...
- Installing Hyperledger Iroha on AWS
- Working with Hyperledger Iroha
- How it works...
- How to do it...
- Permissioning Ethereum EOA and contract accounts on Seth
- How it works...
- How to do it...
- Deploying and calling Ethereum contracts with the Seth CLI and RPC
- How it works...
- How to do it...
- Creating externally owned accounts and writing Solidity contracts on Seth
- How it works...
- How to do it...
- Installing Hyperledger Seth with Docker on AWS
- How it works...
- How to do it...
- Getting ready
- Deploying and calling the Ethereum smart contract on Burrow
- Using contracts
- Using the pragma version and importing another source file
- How it works...
- How to do it...
- Getting ready
- Writing smart contracts with Solidity
- How it works...
- How to do it...
- Getting ready
- Installing Hyperledger Burrow on AWS
- An introduction to Seth
- Introduction
- Operating an Ethereum Smart Contract with Hyperledger Burrow
- How it works...
- Step 8 – Testing the sample client
- Step 7 – Building the client application
- Step 6 – Submitting the batch with REST API
- Step 5 – Building a batch
- Step 4 – Building a transaction header and a transaction
- Step 3 – Implementing the namespace prefix and address scheme
- Step 2 – Implementing transaction-payload encoding
- Step 1 – Generating a private/public key-pair and creating a signer instance
- How to do it...
- Developing client applications with the Sawtooth REST API and SDK
- There's more...
- How it works...
- How to do it...
- Granting permissions on the Sawtooth network
- How it works...
- Starting the transaction processor service
- Building a Python egg and installing your python package
- Setting up the transaction processor as a service
- Building the command-line script
- Implementing the transaction handler class
- Registering the transaction handler to the transaction processor
- How to do it...
- Getting ready
- Building a transaction processor
- How it works...
- How to do it...
- Implementing a transaction family
- There's more...
- The namespace and address scheme
- How it works...
- How to do it...
- Getting ready
- Designing a namespace and address
- How it works...
- How to do it...
- Configuring Hyperledger Sawtooth
- How to do it...
- Getting ready
- Installing Hyperledger Sawtooth
- Introduction
- Working with Hyperledger Sawtooth
- How to do it...
- Getting ready
- Running the Hyperledger Explorer application
- How to do it...
- Building Hyperledger Explorer
- How it works...
- How to do it...
- Getting ready
- Configuring Hyperledger Explorer with Fabric
- How to do it...
- Installing Hyperledger Explorer and setting up the database
- How to do it...
- Getting ready
- Setting up the Hyperledger Explorer environment
- Technical requirements
- Integrating Hyperledger Fabric with Explorer
- How it works...
- How to do it...
- Getting ready
- Interacting with Composer through the RESTful API
- How it works...
- How to do it...
- Getting ready
- Deploying testing and exporting business network archives using the Composer command-line interface
- There's more...
- How it works...
- How to do it...
- Getting ready
- Implementing models transaction logic access control and query definitions
- How it works...
- How to do it...
- Configuring a Composer business network
- How it works...
- How to do it...
- Getting ready
- Setting up the development environment
- How it works...
- How to do it...
- Getting ready
- Setting up the Hyperledger Composer prerequisites environment
- How it works...
- Query
- Assets
- Entities
- Process flow
- How to do it...
- Getting ready
- The Hyperledger Composer business network and development components
- Modeling a Business Network Using Hyperledger Composer
- How it works...
- Running the web application
- Writing Node.js client-side code
- Writing Node.js sever-side code
- Setting up a client project
- Creating and executing startFabric.sh
- How to do it...
- Developing an application with Hyperledger Fabric through the SDK
- How it works...
- Invoking the assermgr chaincode
- Instantiating the assermgr chaincode
- Installing the assermgr chaincode
- How to do it...
- Running and testing the smart contract
- How it works...
- Building and deploying the chaincode
- Starting the sample Fabric network
- How to do it...
- Getting ready
- Compiling and deploying Fabric chaincode
- The query function
- The Invoke function
- The Init function
- How it works...
- The query and getHistory functions
- The Invoke function
- The Init function
- The OrgAsset entity
- How to do it...
- Writing chaincode using Go
- Getting ready
- Writing chaincode as a smart contract
- Inventory asset management
- Implementing Hyperledger Fabric
- See also
- How it works...
- Accessing the API with SDK
- How to do it...
- Writing your first application
- How it works...
- How to do it...
- Using CouchDB
- There's more...
- How it works...
- How to do it...
- Getting ready...
- Adding an organization to a channel
- How it works...
- How to do it...
- Building the Fabric network
- How it works...
- How to do it...
- Getting ready
- Installing Hyperledger Fabric on AWS
- How it works...
- How to do it...
- Getting ready
- Reviewing the Hyperledger Fabric architecture and components
- Working with Hyperledger Fabric
- Reviews
- Get in touch
- See also
- There's more…
- How it works…
- How to do it…
- Getting ready
- Sections
- Conventions used
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- Contributing author
- About the authors
- Contributors
- Packt.com
- Why subscribe?
- About Packt
- Hyperledger Cookbook
- Copyright and Credits
- Title Page
- coverpage
- coverpage
- Title Page
- Copyright and Credits
- Hyperledger Cookbook
- About Packt
- Why subscribe?
- Packt.com
- Contributors
- About the authors
- Contributing author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Conventions used
- Sections
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Get in touch
- Reviews
- Working with Hyperledger Fabric
- Reviewing the Hyperledger Fabric architecture and components
- Getting ready
- How to do it...
- How it works...
- Installing Hyperledger Fabric on AWS
- Getting ready
- How to do it...
- How it works...
- Building the Fabric network
- How to do it...
- How it works...
- Adding an organization to a channel
- Getting ready...
- How to do it...
- How it works...
- There's more...
- Using CouchDB
- How to do it...
- How it works...
- Writing your first application
- How to do it...
- Accessing the API with SDK
- How it works...
- See also
- Implementing Hyperledger Fabric
- Inventory asset management
- Writing chaincode as a smart contract
- Getting ready
- Writing chaincode using Go
- How to do it...
- The OrgAsset entity
- The Init function
- The Invoke function
- The query and getHistory functions
- How it works...
- The Init function
- The Invoke function
- The query function
- Compiling and deploying Fabric chaincode
- Getting ready
- How to do it...
- Starting the sample Fabric network
- Building and deploying the chaincode
- How it works...
- Running and testing the smart contract
- How to do it...
- Installing the assermgr chaincode
- Instantiating the assermgr chaincode
- Invoking the assermgr chaincode
- How it works...
- Developing an application with Hyperledger Fabric through the SDK
- How to do it...
- Creating and executing startFabric.sh
- Setting up a client project
- Writing Node.js sever-side code
- Writing Node.js client-side code
- Running the web application
- How it works...
- Modeling a Business Network Using Hyperledger Composer
- The Hyperledger Composer business network and development components
- Getting ready
- How to do it...
- Process flow
- Entities
- Assets
- Query
- How it works...
- Setting up the Hyperledger Composer prerequisites environment
- Getting ready
- How to do it...
- How it works...
- Setting up the development environment
- Getting ready
- How to do it...
- How it works...
- Configuring a Composer business network
- How to do it...
- How it works...
- Implementing models transaction logic access control and query definitions
- Getting ready
- How to do it...
- How it works...
- There's more...
- Deploying testing and exporting business network archives using the Composer command-line interface
- Getting ready
- How to do it...
- How it works...
- Interacting with Composer through the RESTful API
- Getting ready
- How to do it...
- How it works...
- Integrating Hyperledger Fabric with Explorer
- Technical requirements
- Setting up the Hyperledger Explorer environment
- Getting ready
- How to do it...
- Installing Hyperledger Explorer and setting up the database
- How to do it...
- Configuring Hyperledger Explorer with Fabric
- Getting ready
- How to do it...
- How it works...
- Building Hyperledger Explorer
- How to do it...
- Running the Hyperledger Explorer application
- Getting ready
- How to do it...
- Working with Hyperledger Sawtooth
- Introduction
- Installing Hyperledger Sawtooth
- Getting ready
- How to do it...
- Configuring Hyperledger Sawtooth
- How to do it...
- How it works...
- Designing a namespace and address
- Getting ready
- How to do it...
- How it works...
- The namespace and address scheme
- There's more...
- Implementing a transaction family
- How to do it...
- How it works...
- Building a transaction processor
- Getting ready
- How to do it...
- Registering the transaction handler to the transaction processor
- Implementing the transaction handler class
- Building the command-line script
- Setting up the transaction processor as a service
- Building a Python egg and installing your python package
- Starting the transaction processor service
- How it works...
- Granting permissions on the Sawtooth network
- How to do it...
- How it works...
- There's more...
- Developing client applications with the Sawtooth REST API and SDK
- How to do it...
- Step 1 – Generating a private/public key-pair and creating a signer instance
- Step 2 – Implementing transaction-payload encoding
- Step 3 – Implementing the namespace prefix and address scheme
- Step 4 – Building a transaction header and a transaction
- Step 5 – Building a batch
- Step 6 – Submitting the batch with REST API
- Step 7 – Building the client application
- Step 8 – Testing the sample client
- How it works...
- Operating an Ethereum Smart Contract with Hyperledger Burrow
- Introduction
- An introduction to Seth
- Installing Hyperledger Burrow on AWS
- Getting ready
- How to do it...
- How it works...
- Writing smart contracts with Solidity
- Getting ready
- How to do it...
- How it works...
- Using the pragma version and importing another source file
- Using contracts
- Deploying and calling the Ethereum smart contract on Burrow
- Getting ready
- How to do it...
- How it works...
- Installing Hyperledger Seth with Docker on AWS
- How to do it...
- How it works...
- Creating externally owned accounts and writing Solidity contracts on Seth
- How to do it...
- How it works...
- Deploying and calling Ethereum contracts with the Seth CLI and RPC
- How to do it...
- How it works...
- Permissioning Ethereum EOA and contract accounts on Seth
- How to do it...
- How it works...
- Working with Hyperledger Iroha
- Installing Hyperledger Iroha on AWS
- How to do it...
- How it works...
- Configuring Hyperledger Iroha
- Getting ready
- How to do it...
- How it works...
- Interacting with Hyperledger Iroha using the CLI to create cryptocurrency
- Getting ready
- How to do it...
- How it works...
- There's more...
- Interacting with Hyperledger Iroha using the client library
- Getting ready
- How to do it...
- How it works...
- Exploring the CLI with Hyperledger Indy
- Introduction
- Installing Hyperledger Indy and the Indy CLI on AWS
- Getting ready
- How to do it...
- How it works...
- There's more...
- Exploring the Indy CLI with Hyperledger Indy
- Getting ready
- How to do it...
- Running the Indy CLI
- Creating opening and listing the wallet
- Creating importing and using the DID
- Creating connecting and listing the Indy node pool
- Sending NYM transactions to the ledger
- Posting the credential schema and credential definition transaction to the ledger
- How it works...
- Hyperledger Blockchain Scalability and Security
- Hyperledger blockchain scalability and performance
- How to do it...
- Block-size scaling
- Endorser scaling
- The endorser policy
- Channels and resource allocation
- Hyperledger blockchain security
- How to do it...
- The Fabric CA server
- The Fabric CA client
- The Fabric CA database
- How it works...
- Hyperledger performance measurement
- Getting ready
- How to do it...
- Installing dependencies
- Running the benchmark
- How it works...
- The adaption layer
- The interface and core layer
- The application layer
- See also
- Hyperledger Blockchain Ecosystem
- An introduction to the Hyperledger family
- The framework projects
- The tool projects
- Building the Hyperledger framework layers
- The Hyperledger design philosophy at a glance
- Framework architecture overview
- The consensus layer
- Smart contracts
- Solving business problems with Hyperledger
- IBM and Walmart – blockchain for food safety with Hyperledger Fabric
- The problem
- The approach
- The results
- ScanTrust and Cambio Coffee – supply-chain blockchain with Hyperledger Sawtooth
- The problem
- The approach
- The results
- BC and VON – cutting government red tape with Hyperledger Indy
- The problem
- The approach
- The results
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-06-24 15:00:28