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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

How to create channel using fabric-client sdk in hyperledger fabric

I've been working on building an api for hyperledger fabric network that is to be used in one of our projects. The major issue is that there is absolutely ridiculous documentation available for the ...
Haaris Khatri's user avatar
1 vote
0 answers
17 views

How to calculate Hyperledger Besu QBFT Ethereum block hash?

in my network using Hyperledger Besu QBFT so connect my DAPP and brought the 123rd block and get Blockhead information this is 123rd block header {"number":"0x7b","hash":&...
youngseok's user avatar
0 votes
0 answers
8 views

Unable to fetch application channel config after updating consenter certificates incorrectly

As part of the certificate renewal procedure, I simultaneously updated the system channel consenter certificates (tls certs) in channel configuration for all three orderers. I understand that the ...
ASHISH N.C.'s user avatar
0 votes
0 answers
17 views

How to get identity information from Hyperledger Fabric ca?

I have deployed a CA and generated identities. I would like to be able to get information about identities that are registered with the CA. Specifically, given a certificate, I would like to verify ...
jnasworld223's user avatar
-1 votes
0 answers
9 views

How to use getStatePartialCompositeKey method to get data from blockchain?

``async addNewPatients(ctx, patientName, SSN, age, gender, mobileNo, address){ const iterator = await ctx.stub.getStateByPartialCompositeKey('healthnet.patient', [SSN]); const patientBuffer = []; let ...
Ram's user avatar
  • 9
-1 votes
0 answers
13 views

Can't commit chaincode in Hyperledger Fabric 2.2.2 using test-network: error: peer will not accept external chaincode (except in devmode)

In order to fully understand the external chaincode I am following the tutorials for external chaincode deployment in Hyperledger Fabric 2.2.2 (I use 2.2.2 because it is the supported versin in ...
icordoba's user avatar
  • 1,830
1 vote
2 answers
89 views

TLS Handshake failed with error EOF when deploying Hyperledger Fabric on multi-host

I am trying to develop a package that allow users to dynamically deploy Hyperledger Fabric peer and orderer on multi-host. The source code is uploaded here to clarify the question further. You can ...
dodo920306's user avatar
1 vote
0 answers
19 views

Process is stuck while invoking a function from Hyperledger fabric test network

I already installed chaincode on test network now I am trying to invoke this function addNewPatients(its logic is given below) but only curser is blinking does not give any response or error Tried to ...
Ram's user avatar
  • 9
-3 votes
0 answers
13 views

how run Hyperledger Besu from clone code, using docker?

I want to run Hyperledger Besu core that I've downloaded from github. it seems that I should use docker Image but I don't know what should I do exactly for this problem. I clone Hyperledger Besu code ...
Maryam Mortazavi's user avatar
0 votes
0 answers
14 views

docker containers for orderer and peer nodes for org1 and org2 are exiting before I can create a channel

When I using this command to bring up the network, sudo ./network.sh up This is the output. `CONTAINER ID IMAGE COMMAND CREATED STATUS ...
Twinkle's user avatar
0 votes
0 answers
17 views

Failed to generate platform-specific docker build: "no required module provides package github.com/block/go: go.mod ile not found"

I got this error while running hyperledger fabric project "Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error ...
Syed Jamshaid Ali's user avatar
-1 votes
2 answers
53 views

Hyperledger Fabric gRPC Length Limit, Timeout for Application

I am running a chaincode application that basically returns a lot of historical versions (getHistoryForKey for a range of keys). I am running that chaincode over the 3 million key:value pair inserted ...
r4sk01's user avatar
  • 15
0 votes
1 answer
55 views

Am i issuing the credential correctly with hyperledger aries?

i'm trying to issue the credential from my cloud agent to the mobile agent running Aries-Bifold. inside my cloud agent i'm using: const anonCredsCredentialExchangeRecord = await cloudAgent?....
Simone Tosatto's user avatar
0 votes
0 answers
13 views

Hyperledger-fabric login and register a client to get the ORG_APIKEYs

I want to get the ORG_APIKEYs to communicate with Hyperledger-fabric rest-API.I'm using this endpoint http://localhost:3000/api/assets/ for getting all assets in Hyperledger-fabric but I should give ...
Tharindu Lakshan's user avatar
0 votes
0 answers
17 views

How to implement hyperledger fabric erc20 wallet like metamask?

As I known fabric wallet register, enroll and save wallet id server side. So fabric wallet seem be centralize. I want user control your wallet id as Metamask with private key, and account id. Hope ...
haft's user avatar
  • 1
0 votes
0 answers
63 views

I can't execute kubectl inside a docker container to access Minikube API (MacoS Docker as hypervisor)

I am using minikube (Using MacOS docker as Hypervisor) to test Hyperledger Bevel using the standard documentation. minikube runs OK and I can connect to it running kubectl from the Mac, but in the ...
icordoba's user avatar
  • 1,830
0 votes
0 answers
21 views

Permissions problem creating a file in a mounted volume in MacOS docker desktop

I am trying to follow Hyperledger Bevel intro guide and trying to execute bevel from a Docker as explained in https://blockchain-automation-framework.readthedocs.io/en/latest/developer/docker-build....
icordoba's user avatar
  • 1,830
0 votes
1 answer
21 views

Roles assignement in Hyperledger Indy

How are the roles assigned to the nodes in hyperledger indy , is it configured through a file or by some other proceedure ? And are the roles assigned to nodes or agents ? I read the documentation of ...
Mehul Ratra's user avatar
0 votes
0 answers
33 views

HyperLedger Fabric approve chaincode error:"rpc error: code = Canceled desc = context canceled"

I am creating a Hyperledger fabric network and have created a channel named "mychannel" on VM1 and later I created 3 more VM and joined the channel on vm2 and vm3. Vm4 is my orderer. It is ...
Himanshu Tiwari's user avatar
0 votes
0 answers
22 views

Blockchain - Fabric - Cannot run peer

I run the tutorial for installing Hyperledger Fabric - by following steps in the url [https://hyperledger-fabric.readthedocs.io/en/release-2.5/test_network.html] However, when I want to try run ...
inayzi's user avatar
  • 459
0 votes
0 answers
6 views

Issue credential for schema created by others

I'm trying to setup multitenancy for hyperledger py cloud agent. I enabled multi tenancy created subwallet, but when trying to issue credential for user subwallet i get WalletItemNotFound. This ...
Miroslav Petrovic's user avatar
0 votes
0 answers
22 views

Hyperledger node JS API -- chaincode getting weired response behaviour

I have a Data61Bpmn2Chaincode application (https://github.com/leoaction/Data61BPMNtoChaincode). With this its possible to execute bpmn processes running on a camunda engine (local on port 8081, 8082, ...
sebi's user avatar
  • 21
0 votes
1 answer
58 views

Using hyperledger fabric discovery service with fabric-gateway

What is the best way to go about specifying several peers that client application could contact for them to start a transaction on a channel when using fabric-gateway? Examples I've found in docs rely ...
Myypo's user avatar
  • 3
0 votes
0 answers
45 views

How to generate a signature and send a valid request in indy-vdr using Python?

I want to send a ledger request in Hyperledger Indy using indy-vdr Python. To do that, I think I need to generate a signature. My attempts to send a nym_request in Python without valid signatures ...
hackinghorn's user avatar
1 vote
0 answers
18 views

Hyperledger Fabric: Gossip Protocol, Where Are Messages Received?

I have posted this question on Reddit already, but in hope to receive a few more answers here I go :) As per title, I am looking for where in the source code of Hyperledger Fabric Gossip Messages are ...
JustARandomProgrammer's user avatar
0 votes
1 answer
156 views

Is it possible to connect to Hyperledger Fabric network directly from Frontend React application?

Is it possible to connect to Hyperledger Fabric network directly from Frontend React application? Ethereum uses web3.js library for that, it uses JSON-RPC communication protocol. Hyperledger Fabric ...
biggDavid's user avatar
0 votes
0 answers
29 views

Chaincode in development mode - Hyperledger Fabric

I'm following the tutorial "Running chaincode in development mode", there is a note that says " In order to use the DevMode flag on a peer, TLS communications must be disabled on all ...
Lien's user avatar
  • 14
1 vote
0 answers
33 views

Disable plain text data storing in Hyperledger Fabric

Hyperledger Fabric Blockchain data stored in /var/hyperledger/production/ledgersData in plain text. This data include Private Database data, created with transient arguments. I wonder if there is any ...
EmpServ's user avatar
  • 11
0 votes
0 answers
45 views

Hyperledger Test Network Bring Up Stuck

hyperledger-log I am using the command below to setup a test network on a Windows with a Docker Image setup and getting stuck at this part of the setup. I have multiple hyperledger docker images but ...
shallowBender's user avatar
0 votes
0 answers
31 views

I am trying to store logs from a file on Hyperledger blockchain and facing these errors

LogChain.java package LogChain; import org.hyperledger.fabric.contract.Context; @Contract( name = "logchain", info = @org.hyperledger.fabric.contract.annotation.Info( title =...
Aviral's user avatar
  • 1
0 votes
0 answers
35 views

Hyperledger Fabric: DiscoveryService: framework error: failed constructing descriptor for chaincode: <chaincode name>

I know this may have been asked before but I will post this once again to bring it back to the surface. I have created a hyperledger fabric network with one organization with two peers. Each peer is ...
Rafail K.'s user avatar
  • 365
1 vote
0 answers
41 views

during channel creation Error: got unexpected status: BAD_REQUEST -- Consortium config value missing

I am building hyperledger fabric network with 4 ordering service. I have 4 virtual machines and 4 orderer containers. I separated the orderers and I wrote the configtx.yaml file. The configtx.yaml ...
cemrea's user avatar
  • 11
-1 votes
1 answer
34 views

How to store Log File data on Hyperledger Blockchain?

I want to store Log file data on the private blockchain Hyperledger fabric. Please tell me is it possible? If yes, the what steps I need to follow? and what are the steps? To store Log data Line by ...
Aviral's user avatar
  • 1
0 votes
0 answers
22 views

While creating the channel, getting TLS handshake error in orderer (hyperledger fabric)

I have hyperledger fabric 2.2.0 setup in my local machine. My peer version, configtxlator version and cryptogen version is 2.2.0. I generate the certs using generate.sh and when I run the start.sh ...
Manju Venkatachalam's user avatar
0 votes
1 answer
63 views

Not able to enable couch DB on Hyperledger Fabric 2.4.x test-network

I am running Hyperledger Fabric 2.4 test-network on windows using wsl2. I am trying to enable couchdb so that I can have richer asset querying capabilities in my chaincode(for instance, querying list ...
Abhignan Rakshith's user avatar
0 votes
0 answers
47 views

Problem with tls connection between peer and orderer in Hyperledger Fabric

I have a problem using TLS in my network. I deployed network with one organisation org1. It consists: - TLC CA: ca-tls-org1 - CA: rca-org1 - peer: peer1-org1 - orderer: orderer1-org1 ...
-2 votes
1 answer
38 views

How can I perform chaincode from user interface in my bank app developed with hyperledger fabric and golang backend, and react js frontend?

I am trying to develop a simple bank app using Hyperledger Fabric (backend in Golang) and create my front end in React.js so if there is any sample for this project please do guide me as I'm new in ...
Rahul Thongam's user avatar
0 votes
0 answers
13 views

Troubleshooting 'key is not defined' error when creating an object for a class with constructor in Fabcar.js

I am adding a class with constructor in Fabcar.js and trying to create object for the class and call the constructor with new key word. But i am getting error like below. " Failed to evaluate ...
E Sweetline Priya's user avatar
0 votes
0 answers
36 views

Does anyone have an idea on how to create NameSpaces in Hyperledger FireFly?

Does anyone have an idea on how to create NameSpaces in Hyperledger FireFly? Firefly documentation says, we can have multiple namespaces; however I am not able to find steps to create it... There is a ...
Mustafa Hashmi's user avatar
0 votes
1 answer
59 views

Orderers not responding after upgrading version from v2.4.4 to v2.5 in Hyperledger Fabric network

I encountered an issue after updating the version of my network's orderers from v2.4.4 to v2.5. I have a total of 5 orderers in the network, and their endpoints were updated before the version change. ...
Akshay Sood's user avatar
  • 6,396
0 votes
1 answer
47 views

Access chaincode/smartcontract methods on hyperledger fabrix 2.4 as REST endpoints

Access chaincode/smartcontract methods on hyperledger fabrix 2.4 as REST endpoints Hello all, is it possible to expose the chaincode/smart contract methods, which was deployed on a channel in ...
Abhignan Rakshith's user avatar
0 votes
0 answers
58 views

npm WARN EBADENGINE on Hyperledger Fabric tutorial

I get this when after running the command npm install from the asset-transfer-basic/chaincode-javascript directory. I am doing the "Deploying a smart contract to a channel" tutorial. npm ...
Frances's user avatar
2 votes
3 answers
267 views

hyperledger fabric - "go": executable file not found in $PATH

I 'm new to Hyperleger Fabric and trying to done examples from Using the Fabric test network documentation. I'm stuck on the phase of starting a chaincode on the channel. I am getting error located ...
umitkilic's user avatar
  • 327
-1 votes
2 answers
68 views

trying to send schema to ledger(trying to make identifcation system using hyperledger indy)

"Schema Builder" -> Send "Device Profile" Schema to Ledger {"reqId":1683198357199119479,"identifier":"2qzghpxTM5H81hUbYFmPR4","reason":&...
amit jatola's user avatar
-1 votes
1 answer
43 views

Error occur from creating asset twice on Hyper Ledger fabric example

I got this error from trying to use CreateAsset() function twice.Error image Does anyone know the cause of this? or what can I do to fix it? I was playing with the fabric-samples and wanted to try to ...
Nititorn Chawanpunya's user avatar
0 votes
0 answers
38 views

How do I join a channel if it has already been created in hyper ledger fabric?

I am using hyper ledger fabric V2.5 with go language. I created "my channel" on test-network and I have two organizations each has one peer. How can I join my channel after bring up the ...
KT023's user avatar
  • 29
0 votes
0 answers
148 views

Hyperledger Fabric ECDSA verification failure" while trying to verify candidate authority certificate

I am in the process of upgrading Hyperledger network from 1.4.9 to 2.2.10. As some people said that try to first create new 2.2.X peer from scratch and make these peer join the channel. I have two ...
Mkaif Agb's user avatar
0 votes
0 answers
30 views

Hyperledger Fabric - Node JS Shim - getHistoryForKey()

For Hyperledger Fabric 2.2 (leveldb as statedb) there is a specific API that returns a transaction history for a given key: ctx.stub.getHistoryForKey(orderKey) I am testing 2 scenarios: querying a ...
r4sk01's user avatar
  • 15
0 votes
0 answers
160 views

Client TLS handshake failed with x509 error: cert is valid for localhost, not remoteAddress

I am trying to join my Hyperledger Fabric peer node to my channel that I created. I am using this AWS beginner guide, specifically Step 6 which is here. The error I'm receiving is below: Client TLS ...
bobatron42's user avatar
0 votes
0 answers
21 views

Hyperledger Besu NullPointerException on permissioning dapp removing a node

We are using onchain permissioning on a private network with Hyperledger Besu, but when we remove a node, we get a NullPointerException: ERROR Unhandled exception java.lang.RuntimeException: Error ...
camilo.dotto's user avatar

1
2 3 4 5
79