peer channel creation fails in Hyperledger Fabric

Error: Got unexpected status: BAD_REQUEST — Error authorizing update: Error validating DeltaSet: Policy for [Groups] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining This usually indicates that the signer of the channel creation transaction does not have admin rights for one of the consortium orgs, however, it may indicate … Read more

Hyperledger Composer Web application user authentication

see https://github.com/hyperledger/composer-sample-networks/blob/v0.16.x/packages/trade-network/test/trading.js#L21 but use FileSystemCardStore instead of MemoryCardStore – we have an issue on documentation for this right now – https://github.com/hyperledger/composer/issues/3088 the general flow is : Issue identity, businessNetworkConnection.issueIdentity(NS + ‘#’ + userData.id, userData.user); …. var userCard = new IdCard({…}); userCard.setCredentials(credentials); … Import Card: adminConnection.importCard(userCardName, userCard); …. .then(() => { // Connect to the business … Read more

Error in starting hyperledger fabric network with hyperledger composer

Are you behind a proxy / firewall ? If so in the composer network install command you require a -o npmrcFile parameter, to resolve the NPM registry. eg registry=https://mycompanynpmregistry.com:4873 (or the resolved IP address) as in composer network install -c PeerAdmin@hlfv1 -a digitalproperty-network.bna -o npmrcFile=/tmp/npmrcFile . See https://hyperledger.github.io/composer/latest/managing/connector-information If you are finding that you get … Read more