Questions tagged [hyperledger]
Hyperledger is an open source collaborative effort created to advance cross-industry blockchain technologies. It is a global collaboration, hosted by The Linux Foundation, including leaders in finance, banking, IoT, supply chain, manufacturing and technology.
3,835
questions
-1
votes
0
answers
14
views
How can stream blocks of blockchain? [closed]
I need to
1- make a request with the rest api
2- stream the blocks in
3- do what I need
Please let me know, what is the best practice for doing this? Thank you
0
votes
0
answers
15
views
vagrant up error: vagrant fails to boot bento/ubuntu in virtual box (in the terminal, hang in SSH auth method: private key) [closed]
I have an issue when launching 'vagrant up'. A month ago, when I launch 'vagrant up' with this source code https://github.com/acloudfan/HLF-Vagrant-Dev-Setup I never had any issue with vagrant until I'...
0
votes
1
answer
17
views
kubernetes Back restarting container issue, Rest-api pod
i am a beginner, i am trying to create an hyperledger based IoT environment. only issue i am facing is that my rest-api pod gets into crashloopbackoff state, i have checked the logs, it shows the ...
0
votes
2
answers
27
views
Can we find the endorser details in smart contract during execution(Hyperledger Fabric)?
Can we find the endorser details in smart contract during execution(Hyperledger Fabric) ?
0
votes
1
answer
21
views
peer channel fectch error: MSP SampleOrg is not defined on channel
I've deployed Hyperledger Fabric and cd into fabric-samples/test-network, I can run the command ./network.sh up createChannel, the containers' status are "up" and I can delploy a chaincode.
...
0
votes
0
answers
24
views
In Hyperledger Fabric, why is this code having errors with the Certificate Authority?
I have downloaded fabric-samples version 2.2.0 and fabric-ca version 1.4.7
I'm trying to generate the cryptos and CAs, using a script:
01generateCryptosWithCA.sh
#!/bin/bash
# remove the old ...
-2
votes
0
answers
19
views
Can we change the spec.yaml in minifabric to install our own chaincode during default installation
On doing minifab up command can we specify the chaincode installed default (simple) to our own chaincode , by changing the configurations in the spec.yaml ???
0
votes
1
answer
19
views
Hyperledger Fabric 2.x and Explorer connection
I run the hyperledger fabric test-network from documentation but How can I integrate hyperledger explorer with it. In documentation of hyperldger fabric there is nothing about UI part. Hyperledger ...
1
vote
0
answers
71
views
Error: endorsement failure during invoke. response: status:500 message:"endorsing with plugin failed
I am trying to implement my own custom endorsement plugin in hyperledger fabric. I am getting the below error.
Error: endorsement failure during invoke. response: status:500 message: "endorsing ...
0
votes
1
answer
20
views
Why endorser_proposals_recieved (Hyperledger fabric peer-metric) is giving different values at different peers?
We are using Hyperledger fabric 2.2.3 with 3 organizations 2 peers each, a total 6 endorsing peers,3 orderers, and using the Prometheus tool for monitoring.
using the endorser_proposals_recieved ...
0
votes
0
answers
15
views
Hyperledger Fabric configtxgen and configtx.yaml
I'm trying to create channels and genesis block in my hyperledger fabric network but I'm having trouble understanding the contents of the 'configtx.yaml' file, also I want to connect the crypto ...
0
votes
0
answers
33
views
Does Hyperledger Fabric use a Merkle tree for the block data hash?
I found multiple sources that are not precise enough for me to be sure. They seemingly disagree ever so slightly.
I need to know that, because I would like to proof the inclusion of a transaction to a ...
0
votes
0
answers
23
views
Hierarchical organizations in Hyperledger fabric
I want to create fabric network in which the organizations are forming hierarchy i.e.
At the top there is District Organization under that the two organizations and under that again two organizations.
...
0
votes
2
answers
38
views
Hyperledger Fabric cryptogen and configtxgen not working
I am trying to create the "crypto matrial" of my hyperledger fabric network using the cryptogen command line but I get "command not found" as result
My command line : user@ubuntu:~...
0
votes
0
answers
16
views
Hyperledger Fabric Error : gossip discovery sendMemResponse -> WARN 392 Got a membership request from a peer that shouldn't have sent one
we have two organizations in a channel, OrgA,OrgB, and a commonChannel .
OrgA has 1 peer and OrgB has 1 peer.
After those OrgB's 1 peer joined the channel, everything seemed working fine.
When OrgA's ...
0
votes
0
answers
20
views
sudo npm install -g hfc fails [duplicate]
I am trying to get my hyperledger dev environment up and running but I run into issues. the step that fails is the installation on hfc. The OS I am using is Ubuntu 20.04
I am following the ...
0
votes
1
answer
20
views
How to add custom data in blockchain during chaincode deployment?
I know that we can invoke smart contract function during chaincode deployment for initial data. But is there any other way around by which we can do the same thing ? Like calling some external ...
0
votes
1
answer
44
views
Hyperledger-Fabric network.sh not working
When I run the network.sh up command I get as result " ERROR: for peer0.org1.example.com Cannot start service peer0.org1.example.com: driver failed programming external connectivity on endpoint ...
0
votes
2
answers
35
views
Use Node.js version 16 for chaincode execution
I'm running JavaScript/TypeScript chaincode from fabric-samples (asset-transfer-basic/chaincode-javascript) and I need the Node.js version to be 16 instead of 12.
I think that what is setting the Node....
0
votes
1
answer
30
views
Failure: Inconsistent type in JSPB repeated field array. Got undefined expected object
Inconsistent type in JSPB repeated field array. Got undefined expected object +AssertionError: Failure: Inconsistent type in JSPB repeated field array. Got undefined expected object
I am using fabric,...
0
votes
1
answer
43
views
How to create Database wallet into hyperledger-fabric?
I need to use a database (mysql/mongodb) instead of files to store the user's wallet identity into hyperledger-fabric.
-1
votes
0
answers
8
views
How can I get history of input address in Hyperledger sawtooth block?
I would like to know if there is any way in Sawtooth where I can get all transaction details of the input address?
Just like we can find all transactions of address in Ether?
0
votes
1
answer
36
views
create a Hyperledger Fabric network
Hyperledger Fabric community,
I am a beginner Hyperledger Fabric developer, I have some ambiguities regarding how a Hyperledger Fabric network works and is created.
So what is the use of the fabric-...
0
votes
0
answers
11
views
Hash generation in transaction record in composer playground
I made a business network file in composer playground. All going is well, all transactions are showing, except one thing is that there is no hash value showing in transaction record. Without hash ...
0
votes
0
answers
25
views
problem creating hyperledger orderer/channel on docker
I'm replicating this tutorial on a machine with centos. and it works well till I've to start the orderer. If I don't add a config.yaml and follow the instructions as they are, when submitting this to ...
0
votes
1
answer
10
views
Sawtooth validator is not committing any transactions
I have set up some code from GitHub on the local system. It works smoothly as intended. But when I make changes in client-side code (JS SDK) and try restarting the entire docker process. When setting ...
-2
votes
0
answers
17
views
Why the firefly cli command ff start not working on my machine?
**Can anyone help I am getting this error **
C:\Users\sande.firefly\stacks\sandeep2>ff start sandeep2
this will take a few seconds longer since this is the first time you're running this stack...
⣷ ...
0
votes
1
answer
31
views
Hyperledger, blockchain explorer launching fails. Can't connect to mychannel
By using this tutorial i have downloaded fabric's files by this command:
sudo curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/bootstrap.sh| sudo bash -s
I have added sudo ...
0
votes
1
answer
52
views
Running hyperledger caliper to test my local hyperledger fabric network
Im using hyperledger caliper to benchmark my local fabric network but i have some errors which lead to missing some values from report such as successful transactions and latency. any one can help me ...
0
votes
2
answers
49
views
Hyperledger Fabric Peer Join Channel
The use case is:
I created a network with Raft Ordering service having one channel say, channel1 with three Organisations (Org1, Org2 and Org3).
Org1 and Org2 peers have joined the channel channel1.
...
1
vote
0
answers
18
views
Few Questions on Hyperledger Fabric Capabilities and FabToken Transactions Between Multiple Blockchains
I am learning Hyperledger Fabric; I would like to clarify my understanding of Fabric's capability and ask few questions. I appreciate your input.
My understanding is that one can create a blockchain ...
0
votes
0
answers
12
views
Unable to update the orderer endpoint in an existing hyperledger fabric network
I have a hyperledger fabric network deployed in v2.2.0 in a kubernetes cluster. The network has an orderer org with 5 orderering nodes and few peer orgs.
Initially the network is deployed in such a ...
0
votes
0
answers
25
views
Hyperledger Fabric&&composer-playground:Error 14: UNAVAILABLE:EOF
I was trying to deploy my network to BYFN network(based on the hyperledegr fabric's base files and changed : - CORE_CHAINCODE_EXECUTETIMEOUT=300s) in single computer as the following toturial:
https://...
1
vote
1
answer
65
views
Hyperledger Fabric - Instantiate Chaincode - "go.mod file not found"
Within my CLI container, I'm able to install the chaincode with no problems, but when I try to instantiate it, it returns the following error.
My GOPATH is set to /opt/gopath in the cli container.
...
0
votes
0
answers
22
views
Unable to fetch block from system channel - Hyperledger Fabric
I have a hyperledger fabric network v2.2.1 deployed in a kubernetes cluster. Initially, the network components are deployed in such a way that they all can communicate within the cluster and were not ...
0
votes
1
answer
47
views
Hyperledger Fabric - peer chaincode instantiate - " failed to create new connection: context deadline exceeded "
Im trying to instantiate my chaincode on my hyperledger fabric network of 3 peers and 3 orderers, but im getting the error:
Failed to create new connection: context deadline exceeded
Here is a ...
0
votes
0
answers
22
views
Resolve file path in Ionic React with code migrated from node.js for PC
I've an original post in Ionic's forum: https://forum.ionicframework.com/t/resolve-file-path-in-ionic-react/222319, but chances of getting an answer there is slim from my experience so I have to try ...
0
votes
0
answers
12
views
Android Indy wallet backup and restore issue
I am trying to restore and backup Indy wallet but I am getting IO exception. Read and write permission already given but still same. Is anyone faced this issue ? I am trying this sample
https://github....
0
votes
0
answers
28
views
Problem in starting hyperledger fabric network (for supplychain) in hyperledger composer
I am trying to set up a network using hyper ledger composer, for which I followed the Developer tutorial for creating a Hyperledger Composer solution but when I use the command -->
composer network ...
1
vote
1
answer
59
views
Can I run a Hyperledger Fabric network without orderer org?
I want to create a fabric network who contains three org: org1, org2, org3. And each org includes two type service: peer1 as peer service, orderer1 as orderer service. This network can succeed start ...
0
votes
0
answers
34
views
Hyperledger fabric nodejs chaincode - devMode
I am following the below link which outlines a GO example and runs fine, I am trying to alter it to run a nodejs smart contract.
https://hyperledger-fabric.readthedocs.io/en/latest/peer-chaincode-...
0
votes
1
answer
33
views
Specify endorsing peer when Service Discovery is disabled
I have a Hyperledger-Fabric network with two organisations: Org1 and Org2.
The service discovery is disabled.
When organization 1 submits a transaction in a channel, can he designate endorsing peer of ...
1
vote
0
answers
39
views
Issue connecting my lambda function to Amazon managed blockchain
I am failing with a DNS 14 message when trying to call a lambda function to invoke chaincode on my Amazon Managed Hyperledger Blockchain.
ERROR Failed proposal response. Status code: undefined. ...
0
votes
2
answers
68
views
Hyperledger Fabric Orderer - TLS Handshake Bad Certificate Issue
I'm developing an insurance application project that utilizes a hyperledger fabric network. I currently have a problem where my orderer nodes do not stay online for more than about 10 seconds before ...
0
votes
0
answers
33
views
Hyperledger Fabric unable to get all papers in java
EDIT:Probably found a mistake in chaincode name, somehow I put there a space
Hello I am using commercial-paper sample, and I wanted to modify it so I can get all papers with actual attributes.
So I ...
0
votes
1
answer
32
views
Restoring Hyperledger Fabric Network After It Is Off
I am working on a project using hyperledger fabric.
Currently, I use the test-network in the hyperledger fabric document to develop it fabric document.
But what I'm worried about is if my computer ...
0
votes
1
answer
60
views
How to select endorsing peers when submitting transaction in GO SDK
I have a Hyperledger-Fabric network with two organisations: Org1 and Org2. Discovery is enabled.
When I run a Gateway client and submit a transaction, it always be endorsed by peer0.peer.org1.com.
In ...
-2
votes
1
answer
52
views
why does this error occured in hyperledger Fabric 2.2 ,could not validate identity's OUs: certifiersIdentifier does not match?
When I try to up the network,using docker-compose, peer exited with the below mentioned message.
panic: Failed putting our own identity into the identity mapper: failed classifying identity: Unable to ...
0
votes
1
answer
30
views
Creating an organization on Hyperledger Grid gives me this Error
As I mentioned on the title, I would like to create an organization on Hyperledger Grid, basically I'm running on Splinter not a sawtooth,
So after fllowing the commands on the tutorial I'm just wanna ...
0
votes
0
answers
35
views
Hyperledger fabric: Tracking products in Supply chain across Manufacturers/Wholesalers/Distributors/Retailers
Consider supply chain usecase where manufacturer, wholesalers, distributors and retailers are involved.
Manufacturer wants to track batch of products manufactured and shipped all the way till retailer....