IBP Python SDK functionality for invoking chaincode transactions - blockchain

Looking at the current IBP Python SDK ( https://github.com/IBM-Blockchain/ibp-python-sdk ) I can't find any calls for invoking chaincode transactions (adding data in the ledger and querying it). Will this functionality be added later?

This SDK is only for the managing of the IBM Blockchain Platform itself and is not an SDK for interacting with a Hyperledger Fabric network created on IBM Blockchain Platform. You should look to the various hyperlegdger fabric SDKs themselves for that capability. IBM provides documentation about this which you can find here
https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-app
Note that it doesn't list the hyperledger fabric Python SDK because it's not recommended for use with IBM Blockchain Platform.

Related

Channel creation using node fabric sdk 2.2

Hey is there any way to create a channel in fabric-network using fabric-network npm package.
I found this "https://hyperledger.github.io/fabric-sdk-node/release-1.4/module-fabric-network.Gateway.html#getClient__anchor" but this is for fabric-sdk-nod 1.4 and i am working on 2.2.
didn't find any solutions.
The Fabric programming model introduced with Fabric v1.4 (fabric-network, fabric-gateway-java etc.) focus on supporting business applications to submit and evaluate (query) transactions, and to receive events. Using the Fabric CLI commands became the primary supported tool for admin operations. This approach continues with the new Fabric Gateway client API, which is the primary supported client API for Fabric v2.4 onwards, replacing the legacy SDKs:
https://github.com/hyperledger/fabric-gateway
Programmatic admin capability is something that does regularly get requested by the community and, at the time of writing, there is an effort underway to develop a new Fabric admin API separate from the client application APIs/SDKs:
https://github.com/Hyperledger-TWGC/fabric-admin-sdk
I believe the Node implementation is well advanced and usable.
Again, at the time of writing, there is an open proposal to move this to a first-class Hyperledger project:
https://github.com/hyperledger/fabric-rfcs/pull/55

Working with google cloud storage in julia applications

I have a query related to the google cloud storage for julia application.
Currently, I am hosting a julia application (docker container) on GCP and would like to allow the app to utilize cloud storage buckets to write and read the data.
I have explored few packages which promise to do this operation.
GoogleCloud.jl
This package in the docs show a clear and concise representation of the implementation. However, adding this package result in incremental compilation warning with many of the packages failing to compile. I have opened an issue on their github page : https://github.com/JuliaCloud/GoogleCloud.jl/issues/41
GCP.jl
The scope is limited, currently the only support is for BigQuery
Python package google
This is quite informative and operational but will take a toll on the code's performance. But do advise if this is the only viable option.
I would like to know are there other methods which can be used to configure a julia app to work with google storage?
Thanks look forward to the suggestions!
GCP.jl is promising plus you may be able to do with gRPC if Julia support gRPC (see below).
Discovery
Google has 2 types of SDK (aka Client Library). API Client Libraries are available for all Google's APIs|services.
Cloud Client Libraries are newer, more language idiosyncratic but only available for Cloud. Google Cloud Storage (GCS) is part of Cloud but, in this case, I think an API Client Library is worth pursuing...
Google's API (!) Client Libraries are auto-generated from a so-called Discovery document. Interestingly, GCP.jl specifically describes using Discovery to generate the BigQuery SDK and mentions that you can use the same mechanism for any other API Client Library (i.e. GCS).
NOTE Explanation of Google Discovery
I'm unfamiliar with Julia but, if you can understand enough of that repo to confirm that it's using the Discovery document to generate APIs and, if you can work out how to reconfigure it for GCS, this approach would provide you with a 100% fidelity SDK for Cloud Storage (and any other Google API|service).
Someone else tried to use the code to generate an SDK for Sheets and had an issue so it may not be perfect.
gRPC
Google publishes for the subset of its services that support gRPC. If you'd prefer to use gRPC, it ought be possible to use the Protobufs in Google's repo to define a gRPC client for Cloud Storage

How to start supplychain management project

For a standard supply chain management system, what is the first and foremost component/module one should start with? I need a technical advice with respect to softwares.
For supply chain management Hyperledger is the best. For Hyperledger Composer Development first, you have to learn Architecture of Hyperledger Composer.
and after that the Design and Implementation of the PoC.
Model file Structure (.cto file)
Logic file Structure (.js file)
Access control Structure (.acl file)
Query file Structure(.qry file)
For the installation of Hyperledger composer follow this
For the development of Hyperledger Composer Model language follow this link.
For the deploying, a Hyperledger Composer blockchain business network to Hyperledger Fabric for a single organization follow this

How to create mutiple connection profiles and multiple nodes in Hyperledger Composer

I have a scenario where I have to create multiple nodes with same or various organisations.
As per my understanding changes required in below files while setting up the blockchain network Hyperledger Composer Version 1.0
- createComposerProfile.sh
- docker-compose.yml
Can you please tell me whether my understanding is correct or not. Also please guide me the changes required in those files.
Our development server is a simple setup of Hyperledger Fabric and is not really provided as an example of how to create a Hyperledger Fabric, it is there purely to provide a real Hyperledger Fabric for testing purposes for Hyperledger Composer applications. If you want to learn more about creating and building your own Hyperledger Fabric environment then documentation provided by the Hyperledger Fabric team is the place to go. You could try starting at
http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html
which provides information on how to build your first network

Sample application of Hyperledger Fabric Node SDK

If somebody has link of sample-app/sample-web-app of Hyperledger Fabric Node SDK, please post it. It is said in official document that they have sample-app here and sample-web-app here but the urls are empty
There are few examples on fabric-sample repository in particular you probably would like to consider taking look on balance transfer example here. Which provides decent example of application developed based on NodeJS SDK and covers major parts.