In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "installation and use of Hyperledger Farbic PHP SDK", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "the installation and use of Hyperledger Farbic PHP SDK" bar!
1. The installation method of Hyperledger Farbic PHP SDK
Install Hyperledger Farbic PHP SDK using php's package manager composer:
How to use composer require americanexpress/hyperledger-fabric-sdk-php2 and Hyperledger Farbic PHP SDK
Use the queryByChaincode method of the Channel object to query the chain code status in the PHP code. For example,
$config = new\ AmericanExpress\ HyperledgerFabricClient\ Config\ ClientConfig ([/ / See `test/integration/ config.php` for an example.]); $response =\ AmericanExpress\ HyperledgerFabricClient\ Client\ ClientFactory::fromConfig ($config)-> getChannel ('foo')-> getChaincode (' example_cc')-> invoke ('query', 'a')
Hyperledger Fabric PHP SDK is still in the early stages of development, and if you want to apply this development package to your Php project, be sure to understand how its source code works.
Thank you for your reading, the above is the content of "the installation and use of Hyperledger Farbic PHP SDK". After the study of this article, I believe you have a deeper understanding of the installation and use of Hyperledger Farbic PHP SDK, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.