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.

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: https://github.com/hyperledger

3942 questions
1
vote
1 answer

DateTime in Hyperledger

I want to enter the participant's Date of Birth as input when i go to Test tab and click + Create New Participant (JSON file). But if I use the DateTime datatype as given in github documentation for Hyperledger Composer Modeling Language, the…
1
vote
1 answer

Remove Hyperledger fabric added Peer

Consider there are three organizations on the channel and one of them are no longer in business with the other two. I found there's way to revoke the user certificates from accessing, but no way to remove (reject) peer from existing channel.
Terany
  • 171
  • 1
  • 5
1
vote
1 answer

Hyperledger Fabric V1.1/Composer V0.19 - gRPC message max limit reached (4MB)

Every time I try to execute a transaction or query where the payload is > ~2MB I get the following errors: Immediately upon executing the query, from the docker container running the business network application: [ERROR] lib/handler.js - Chat stream…
1
vote
2 answers

Error: Chaincode already installed - Composer-playground

I ran composer-playground and went to deploy a new business network. I wanted to upload and deploy my already created .bna file. But when I do the same and click deploy, it gives me following error: Error: Chaincode already installed:…
1
vote
2 answers

hyperledger fabric - docker container error

The docker container stops upon completion of the script. Running bash file ( docker-compose -f docker-compose.yml up -d ca.example.com orderer.example.com peer0.org1.example.com couchdb ) Get error: Error response from daemon: Container…
1
vote
2 answers

Facing issues while testing connectivity from docker container to validator. curl http://rest-api:8008/blocks

Background: setting up the environment for Hyperledger- Sawtooth. Running command curl http://rest-api:8008/blocks to test the connectivity of Validator from Client Container. getting error: could not resolve host rest-api
Sam_2207
  • 2,759
  • 2
  • 9
  • 15
1
vote
2 answers

Cannot find package cid in $GOROOT or $GOPATH

I am trying to customize tuna-app chaincode of the tuna-app example. I want to use cid package inside my chaincode to make ABAC decisions about who is allowed to run the chaincode. When I try to install chaincode, I get the following error: Error:…
das96
  • 33
  • 2
  • 4
1
vote
1 answer

What is ./teardownFabric.sh in fabric-tools? and why we need to use this command?

I do not understand why we use ./teardownFabric.sh before using ./stopFabric.sh and ./startFabric.sh. Please give me a clear idea if you know it clearly. Thanks in Advance.
1
vote
2 answers

Instantiate chaincode, sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT, Hyperledger Fabric, linux

I am getting timeout error from peers while instantiating chaincode on particular peers from fabric node sdk on linux os. error: [Peer.js]: sendProposal - timed out after:90000 error: [client-utils.js]: sendPeersProposal - Promise is rejected:…
1
vote
2 answers

When I close my Dev environment I lose all my deployments? How do I preserve my deployments

When first time I deployed any business network I can connect the network and composer-playground. But when I restart my PC after shutdown, I can't connect the network but the composer-playground showing the card related the network and can connect…
1
vote
0 answers

Hyperledger Fabric on Ubuntu Linux 16.04 VM not running

all, I have setup a Hyperledger server in an Ubuntu VM instance. On the Ubuntu VM, I tried running Hyperledger Fabric-peer using the docker-compose.yml file with the following configuration: membersrvc: image: hyperledger/fabric-membersrvc …
1
vote
1 answer

Undefined Error when deploying Fabric 1.1.0 on Kubernetes with Fabric Nodejs SDK 1.1.0

We have been developing blockchain-app using Fabric-Nodejs SDK (1.1.0) and trying to make it work with Fabric (1.1.0) on kubernetes. Have referred and following links -…
sw_engineer
  • 1,022
  • 2
  • 11
  • 15
1
vote
1 answer

How can I perform a JOIN statement in a Hyperledger composer query?

I'm establishing a many to many relationship between Participants. I've defined this relationship in the CTO as below: participant User identified by userId { o String userId o String name } abstract concept Relationship by relationshipId { …
Samuel Hawksby-Robinson
  • 2,652
  • 4
  • 24
  • 25
1
vote
1 answer

Hyperledger Composer Rest Server connection with Cloudant NoSQL DB

i'm trying to set up the Hyperledger Composer Rest Server (https://hyperledger.github.io/composer/reference/rest-server) in order to work with Cloudant DB on IBM Cloud and store inside it the cards used to interact with the blockchain. In…
Leonardo Carraro
  • 1,532
  • 1
  • 11
  • 24
1
vote
2 answers

Why only ADMIN user have permission to query installed/instantiated chaincodes in Hyperledger Fabric

I read the Node SDK tutorial ( https://fabric-sdk-node.github.io/tutorial-app-dev-env-setup.html ) and their were these lines: user identities provisioned this way are only of the MEMBER role, which means it won't be able to perform certain…