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. (https://www.hyperledger.org/)
Code and documentation is available at: github.com/hyperledger

I'm trying to access function GetBlockByNumber from my code, but I get the error "Failed to get policy manager for channel [qscc]".
With the same privileges/credentials, if I issue the command peer ...

During Network creation in hyperledger fabric after creation of crypto materials and channel configuration we have to create docker-compose.yaml file, here we need to update the old paths with the new ...

I am writing chaincode using Node.js and I want to invoke that from CLI.
I tried running using the old approach but it is not working. Any lead will be appreciated.
What is the new format to invoke ...

I have a hyperledger fabric network setup in multiple servers and I successfully installed chaincode in different peers(peer0.org1.com and peer0.org2.com) of different organizations.
When I call the ...

The link here: [https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim/ext/cid][1] shows the golang chaincode functions that can be used to implement ACL at the application level. Using ...

I am stuck with this error while trying to create a channel using api (I am using a similar sample to balance transfer example from fabric samples)
However,I can create a channel,install,instantiate ...

Im having a pesistent issue at trying to start Fabric. At executing ./createPeerAdminCard.sh it says "No version of composer-cli has been detected, you need to install composer-cli at v0.20 or higher"
...

we have installed Docker tool box in windows 10 machine and pulled hyperledger composer image ,ran the image and created a business network on playground UI but unable to download the Network Admin ...

I have set up Multi-Org(4 org) Fabric. Each org is having one peer (peer0). While doing query on 2nd org I'm getting below error:
Calling One getOrdersByEBSDashboardStatus Function..
error: [client-...

The old version of hyperledger support below method. But newest not
const generateReport = getFactory().newTransaction('org.cusat.hospital', 'GenerateReport');
While testing in new version shows an ...

I am developing a decentralized algorithm which is able to do a deterministic calculation based on input data and a given random seed.
But how to achieve a provably fair and cryptographically secure ...

I am trying to have my Smartphone run a hyperledger-burrow-client. Therefore, I would need to compile the burrow project (written in Go) into a .jar and .aar file. I am using gomobile but the problem ...

We have a use case and I'm not completely sure how I can implement this. For purposes of this question, I will be going by the Using Private Data in Fabric tutorial here - https://hyperledger-fabric....

I created a network on hyperledger composer on one physical machine and create cards for admin and user
I have some questions:
1) how can I access the same network using 2 different machines(laptops) ...

My fabric network's consortium(in configtx.yaml) has two organizations: ORG1 and ORG2. ORG1 has 4 main peers and ORG2 has only 1 peer. ORG2 peer's only purpose is to have the copy of the ledger(for ...

How Hyperledger Fabric ensures data security in a longer period of time? I mean, how can I re-encrypt existing data with a longer key? Is it possible to migrate entire database in few years from now ...

I setup a hyperledger composer in my aws ubuntu instance. I was able to connect to the blockchain through the playground UI as "hlfv1" connection, using the command:
composer-playground
I created a ...

So I know how to use composer archive create -t dir -n . and found its code over here. While doing unit tests I am able to generate the businessNetworkDefinition and run them using composer-embedded ...

In all of the tutorials , I see that we can add an organization or peer manually to an existing fabric network. But how do i dynamically assign an incoming node as a peer or an orderer depending on ...

I am trying to modify the balance-transfer example of hyperledger fabric to use with different org and domain instead of Org1.example.com. but when trying to enroll new user I am getting below error.
...