Questions tagged [hyperledger-fabric]

Hyperledger Fabric is an implementation of blockchain technology. Use this tag for questions about this project. Another good idea is to reach out to members of the community at https://chat.hyperledger.org/ or https://lists.hyperledger.org/. Documentation can be found at http://hyperledger-fabric....

0
votes
0answers
7 views

Required Field Validator for Model (.cto file) in Hyperledger Composer

I am developing a blockchain application using Hyperledger Composer. This is a part of my model i.e. .cto file: concept Address{ o String addressId o String PersonInChargeFullName o String ...
0
votes
0answers
17 views

Error: 2 UNKNOWN: access denied: channel [composerchannel] creator org

Trying to add a new organisation from a separate host.(Modifying steps from ./eyfn.sh when necessary). Managed to create and import network admin card using Hyperledger Composer. (https://medium.com/...
1
vote
1answer
15 views

How does Hyperledger Fabric achieve consensus without incentives?

To the best of my knowledge, the Fisher-Lynch impossibility theorem states that consensus cannot be achieved even if there is one faulty node in the system. Bitcoin is able to achieve consensus ...
-2
votes
0answers
12 views

Understanding the limits of hash and blockchain

To any blockchain devs out there, so if we develop large systems on any blockchain and its computing all transactions (or atleast lets say its encompassing several large industries altogether), we're ...
0
votes
0answers
37 views

how certificates get derived from the real fabric-ca-server certificate in hfc-key-store in hyperledger?

I'd like to explain what I understand correctly first and if I'm right, please tell me the truth and if I'm mistaken, tell me also that I'm mistaken. My explanation is about how hyperledger network ...
1
vote
1answer
30 views

Composer request identity from different host machine

I'm following this tutorial with modications made to add organisation from a different host machine. https://medium.com/@mahoney_33893/hyperledger-composer-adding-another-organization-to-an-existing-...
1
vote
1answer
8 views

Certificate Authority in Hyperledger Fabric and Hyperledger Sawtooth

Does Hyperledger Sawtooth have any component that performs an action similar to what Fabric CA does in Hyperledger Fabric? In case it does not have, can I make use of any such external component?
0
votes
0answers
24 views

Error creating channel on Hyperledger Fabric

I have a simple configuration for the network. 1 Orderer organization in solo mode, 1 Organization with 2 peers. I am following this steps to create the channel: Generate the certificates -> crypto-...
-2
votes
1answer
19 views

Starting on Hyperledger Fabric

I was following a tutorial on medium Tutorial Link and his transaction structure and mine were different, his was: and mine was:
0
votes
1answer
15 views

Hyperledger fabric couchdb crash report

I am developing blockchain network on Hyperledger Fabric v1.1. and using couchdb. Some day I am restarting couchdbs and Peers, then one of the couchdbs issued the crash report(below). [error] ----...
0
votes
0answers
15 views

Issue with proposing transation proposal in hyperledger fabric network

I have created fabric project , where i had created network called as my-net network with peer0,peer1, CA server and ordering server using docker swarm. There after i have enrolled admin user for ...
2
votes
0answers
38 views

Free Text search on Hyperledger Fabric CouchDB Data with Elastic Search

We use Hyperledger fabric backed by CouchDB to store records with a lot of text. We want to build a solution that allows free text search on these records using Elastic Search. The problem then is ...
0
votes
2answers
35 views

Difference between Endorsing Peer and Committing peer in Hyperledger Fabric?

I am quit confused with these two peers since I am new to Fabric. If any body help me with this.
0
votes
0answers
30 views

Hyperledger Fabric : Register and enroll new peer identity using fabric-ca-client (Javascript)

In the documentation of fabric-ca there is only CLI description of identities creation, using the nodejs module "fabric-ca-client" we can register and enroll new user using: fabric_ca_client....
0
votes
0answers
42 views

Hyperledger explorer docker connection error

I created hyper ledger fabric network configuration and docker is running based on that. After that, I installed .bna file on that network. I am trying to set up Hyperledger explorer docker images to ...
0
votes
1answer
37 views

Getting Transaction Failed Error: No valid responses from any peer

The error I got: enrollSTudent Transaction Failed: text error trying invoke business network.Error: No valid responses from any peers. Response from attempted peer comms was an error: ...
2
votes
1answer
40 views

How hyperledger Fabric cost storage of machine?

I am using hyperledger Fabric and Composer starting my blockchain, and I make 17000+ transactions, but it cost 1.8GB in peer container(~100KB/transaction).I have computed the storage of one ...
0
votes
0answers
13 views

Hyperledger Fabric Node SDK and CA to use username and password

I'm creating a Express.js REST server that can invoke and query chaincodes (similar to the JavaScript fabcar example). I'm wondering how would I register, enroll, and use a network user that is based ...
4
votes
0answers
29 views

What docker network should chaincode containers stay in?

I have a fabric network setup that works through a docker overlay network. When I execute docker network inspect fab_overlay_net the chaincode containers are there along with the peer and orderer ...
0
votes
1answer
28 views

Compser network upgrade successfully, but no new features found in composer-rest-api

There are two channels in my bc, and I deployed networks in each of them, in one channel,I have start a network which named 'compound-network', and have a assest named compound, attributes are: asset ...
0
votes
0answers
79 views

Error starting angular server for hyperledger composer

I am trying to start the angular server for my code in hyperledger composer. The backend on REST is working perfectly well. The REST server is ON on a separate terminal window and and I opened a new ...
1
vote
2answers
38 views

Why does hyperledger-fabric need more than one orderer?

Basically I have many questions, but I'll ask the most needed ones. Thanks for your help. 1) Why does hyperledger network need more than one orderer node? IF I understand correctly, after nodes ...
0
votes
0answers
14 views

hyperledger fabric couchdb data

Background: I am developing blockchain network(Hyperledger fabric v1.1). For continuous use,I persist couchdb data(/opt/couchdb/data). Issue: I don't know what these data shows.(below) ...
0
votes
0answers
34 views

Returning a value in .on() function [duplicate]

I have used the following code to subscribe my event emitted from hyperledger composer : this.bizNetworkConnection.on("event",evt =>{ console.log("---Event Happened---"); temp = ...
-1
votes
0answers
17 views

chaincode smart contract auto trigger

I have a chaincode smart contract which needs to be triggered by itself on certain conditions, for example if any of the status is equal to something. Currently I have written a cron job in nodejs to ...
0
votes
0answers
22 views

How to guarantee the safety of couchDB in a Hyperledger fabric network?

A malicious actor/database administrator is able to manipulate data within CouchDB of all the peers within the network. How can we guarantee the safety of the couch DB [other than below techniques] ...
0
votes
0answers
11 views

Getting error while creating organisational unit in hyperledger fabric

I am getting below error when I network up. I have not changed anything in the first network code. Error creating channelconfig bundle: initializing channelconfig failed: could not create channel ...
0
votes
0answers
27 views

Not able to view Event emitted from Hyperledger composer in th UI

How can I show Event notification in the UI ? I am able to subscribe to the event in my API, but I dont know how to display the same in the UI. The following code I used in my API to subscribe the ...
0
votes
0answers
29 views

Hyperledger Fabric: Do I need to install Go if I am going to write chaincode in nodejs?

This page says: Hyperledger Fabric uses the Go Programming Language for many of its components. Go version 1.11.x is required. but if I am going to be writing chaincode in nodejs, do I ...
0
votes
1answer
18 views

Query for certificate of other members

Is possible to ask the Membership Service Provider a certificate of other members which join the network? I've looked at the MSP interface but I didn't find an answer to this doubt. I mean if it is ...
0
votes
0answers
13 views

Adding a new certificate for hyperledger fabric peer and orderer

I am looking for ways to implement a change in a channel configuration JSON file to achieve the following configuration changes: add new certificate (signcert) for particular peer add new certificate ...
0
votes
2answers
41 views

Can i have distributed ledger among the members using hyperledger composer and fabric in a business network

In my scenario i have one Business network with 20 participants. Can i have the distributed ledger among those 20 participants?? Thanks in advance
0
votes
0answers
27 views

Hyperledger Fabric couchdb

background: I am developing blockchain network and blockchain app. during the system test, client application queried the peer.Then peer container log issued these error. UTC [couchdb] handleRequest ...
0
votes
0answers
22 views

Error starting Angular frontend on Hyperledger Composer

I have been following the steps given in this link: https://medium.freecodecamp.org/ultimate-end-to-end-tutorial-to-create-an-application-on-blockchain-using-hyperledger-3a83a80cbc71?gi=16a30a5d90ce ...
0
votes
0answers
19 views

Hyperledger Fabric Idle Timeout

I've got a Hyperledger Fabric network with multiple hosts each with its own peers, couchdb, orderers. The orderers are in kafka mode, and I've got 4 kafka brokers and 3 zookeepers in the network. The ...
0
votes
0answers
23 views

HyperLeder Fabric: Failed to invoke chaincode name:“lscc” , error: timeout expired while starting chaincode

I have started to get time out error while installing my chaincode. The chaincode is pretty basic, in fact, I am just extending the fabcar node.js sample. Please see the error I receive: Error: ...
0
votes
0answers
17 views

authorizing update: error validating ReadSet: readset expected key [Group] /Channel/Application at version 0, but got version 1

When deploying fabirc1.2, the following error occurred when I created the channel: 2018-10-16 16:30:17.388 CST [grpc] Printf -> DEBU 039 scheme "" not registered, fallback to default scheme 2018-...
-1
votes
0answers
5 views

Instantiate chaincode failed using fabric-go-sdk

i'm using fabric-sdk-go.fabric v1.1.0 i got error peer.(*peerEndorser).sendProposal -> ERRO process proposal failed [rpc error: code = Unknown desc = failed to execute transaction: timeout expired ...
0
votes
1answer
25 views

Hyperledger composer to start a business network

I do a hyperledger composer deploying a business network, after running this this command composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --...
0
votes
1answer
39 views

Hyperledger Fabric :- Response from attempted peer comms was an error: Error: Failed to connect before the deadline

While deploying an empty business network , getting below errors :- Front end :- An error has occurred Error: Error trying install business network. Error: No valid responses from any peers. ...
0
votes
0answers
11 views

Private data liveliness settings in a hyperledger fabric private data collection

Currently, collections_config.json file (a private data collection feature in Hyperledger Fabric) only allows to set up data liveliness to be based on the amount of blocks which needs to be reached ...
-1
votes
0answers
23 views

Deploying Hyperledger Composer to multiple peers

I don't understand why it's so difficult to deploy a Hyperledger composer project. I have been trying for a month now following every tutorial out there, and it either fails at some point, or the ...
1
vote
0answers
14 views

Msp directories in production environment configtxgen

To generate genesis block using configtxgen we have to pass configtx.yaml file In that file we have to pass msp directory path of each organization and orderer organization. . Now in production ...
1
vote
1answer
39 views

Validation phase of the transaction flow on a Hyperledger Fabric network (under an assumed scenario)

Our team is new to Hyperledger Fabric, and has been going through the official documentation. We are stuck at something where we would really appreciate all the help. The following is our ...
0
votes
2answers
44 views

Is it necessary of Deploying a Hyperledger Composer blockchain business network to Hyperledger Fabric (multiple organizations)

I created a composer business network and successfully deployed in to the fabric network(Single organization) . The next step is deploying to the fabric network(Multiple organizations). I'm not ...
-2
votes
1answer
21 views

Is there need to create external AngularJS/JSP/JSF for hyperledger-fabric

I am working on hyperledger composer after deploy bna file to server it will automatically create angular UI when we connect to angular through fabric server now my question is is there need to create ...
0
votes
1answer
49 views

How to modify the connection.json file in the cards issued by the Hyperledger Composer REST server

I followed the tutorial Using Google OAUTH 2.0 with a REST server to persist the business network cards using the MongoDB Docker images. I am trying to build a web application in which there are two ...
0
votes
0answers
16 views

What is specifically the communication process between actors in a PKI (Public Key Infrastructure)

I'm working on a blockchain project (using Hyperledger Fabric) and I'm currently studying how the public key infrastructure works on it. I designed a process workflow of the communication process ...
0
votes
1answer
34 views

hyperledger fabric set up on k8s fails to deploy containers

I am using aws and kops to deploy kubernetes cluster and kubectl to manage it https://medium.com/@zhanghenry/how-to-deploy-hyperledger-fabric-on-kubernetes-2-751abf44c807 following this tutorial. but ...
0
votes
1answer
28 views

How to configure two P2P nodes on same channel using Hyperledger composer?

Current solution: 1. I have a single node running on Hyperledger. 2. I have deployed my car-auction application on it. Solution looking for: I want my car-auction application to deploy on the ...