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.
Related
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
I followed the steps from Steps to deploy AWS NGO chaincode
and instead of NGO chaincode I tried fabcar node.js chaincode from fabric samples. But I'm facing error during instantiation. I saw that the basic format of chaincodes are different but will that really cause any hindrance in the flow ?
I want to know if this will work and if not how can I use fabcar javascript chaincode on AWS blockchain.
This is the error I'm facing while instantiation
Please guide me. Thank you.
I have created a documentation (step by step) to setup the Blockchain network and deploy the chaincode using the AWS Managed Blockchain.
https://github.com/sjais789/AWS_Managed_Bockchain_Setup
If you are stuck somewhere feel free to comment it here.
The fabcar example has fabric-contract-api. The peers in amazon managed blockchain neither have that dependency pre-installed nor it has internet connection to download the dependency. This is a huge problem. They've suggested to bundle the dependencies before instantiating it but haven't shown any way to do that.
However, there is a way out of this. Instead of using the usual fabcar example for javascript, if you use fabcar javascript-low-level chaincode, that does not make use of the fabric-contract-api, then you'll be able to use the chaincode in aws managed blockchain.
I am performing the initial setup of WSO2 Identity Server for a small organization. We will not have a large number of transactions but we want high availability and reliability. We have decided on a two node “cluster” or “active/active” configuration. We have been testing with WSO2 IS v 5.3.0. I am having a problem sorting through all the documentation and determining which install documents to use.
I found this document for WSO2 IS v 5.2.0 that specifically covers “Clustering Identity Server.” This document references a detailed database setup procedure that appears to be out of date. It also covers the configuration of Hazelcast along with editing other XML files. The clustering install guide is located here: https://docs.wso2.com/display/CLUSTER44x/Clustering+Identity+Server+5.1.0+and+5.2.0
Then I found this newer install guide that covers the “active/active” configuration. This document is titled “Deployment for Small and Medium-sized Enterprises” and is located here https://docs.wso2.com/display/IS5xx/Deployment+for+Small+and+Medium-sized+Enterprises#DeploymentforSmallandMedium-sizedEnterprises-Active/Active
This new document contains a very simple procedure for setting up an active/active configuration that looks like it will meet our needs. My concern is that this second document does not cover any of the specific database setup that is covered in the clustering document. This second document does not cover the hazelcast setup or other clustering configurations. My guess is the "active/active" setup is not the same as the "clustered" architecture.
Can someone clarify the difference between the "clustered" and "active/active" architecture?
Deployment pattern 1 in this document is your requirement as I understood. It explains how to configure a High available clustered deployment. There is no difference in the two terms.
I think this is the documentation you are looking for.
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
I am using http://hyperledger-fabric-doc.readthedocs.io/en/latest/getting_started.html for Hyperledger Fabric setup in Ubuntu VM. As per tutorial (fabric-samples/first-network) which have two organizations with two peers have been created. I wanted to add new organization or new peer in already existing Organization dynamically. Kindly help me know the steps to add dynamically.
It isn't to the point of being "dynamic" just yet. However, the reconfiguration is done using the configtxlator tool to read the genesis block and modify it's contents, then submit it as a new transaction that updates the network/channel configuration. Please see the tutorial on configtxlator here.
New version i.e the testing version of hrperledger fabric v1.1-preview gives this feature of adding new org dynamically. Main role in this is of configtxlator, jq and configtxgen. They have given fabric-samples/first-network new example which fo this work. Download the pdf of hyperledger fabric and go to chaper 11 i.e page 59 https://media.readthedocs.org/pdf/hyperledger-fabric/latest/hyperledger-fabric.pdf you will get good documentation of how it is done. Hope this helped you.
IBM has a step-by-step guide showing in details how to use configxlator, as adding a new Org section in config JSON is not so trivial and there are additional steps, such as signing the update config block.