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
4
votes
0 answers

Failed to generate platform-specific docker build Hyperledger Fabric nodejs

I'm trying to instantiate Hyperledger Fabric Fabcar Nodejs chaincode but getting the below error. /var/hyperledger/fabric-samples/chaincode/fabcar/typescript# peer chaincode instantiate \ -C mychannel -n fabcar -v 1.0 -l node -c '{"Args":[]}'…
Moazzem Hossen
  • 2,276
  • 1
  • 19
  • 30
4
votes
1 answer

Failed to invoke chaincode name:"lscc" , error: container exited with 1: chaincode registration failed (Fabric 1.4.1)

I am trying to create a single org, single ca, single peer network, bootstrapped by the nodejs-sdk. I have used this sample for reference. When I try to instantiate() the chaincode I get this error in the peer accessed by docker logs…
4
votes
3 answers

fabcar example: fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7f84bc4ea259]

Env: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic $ go version go version go1.12 linux/amd64 $ docker -v Docker version 18.09.4, build d14af54266 $…
norym
  • 602
  • 2
  • 8
  • 18
4
votes
1 answer

Why genesis block is must for a peer to join the channel in Hyperledger fabric?

For peers to join the channel, the information of genesis block is must. Why peers required genesis block? I knew that channel configuration stored in genesis block but latest channel configuration also available in recent blocks then why only…
4
votes
1 answer

Error initializing the network channel from node sdk in hyperledger fabric

Background: I have modified the first-network files (to a network with 2 Orgs and 1 peer in each of them) and installed my own chaincode on it. Additionally I have made a connection.yaml file to interact with the network. Problem: But when I try…
4
votes
1 answer

Hyperledger Composer - Participants and peers

I recently started trying to grasp the concepts of Hyperledger Composer. Based on what I understand, Hyperledger Composer is just a layer on top of Hyperledger Fabric with the purpose of simplifying how things are done. The confusion came when I…
matrix
  • 161
  • 2
  • 12
4
votes
1 answer

How can I ensure that all organizations have signed the chaincode to install?

In Hyperledger Fabric 1.3, how can I ensure that all organizations have signed the chaincode to install ? I could sign the code, but it seems that no component verifies the signature. Details are as below: Preconditions Fabric 1.3 I have two orgs,…
4
votes
2 answers

Hyperledger Fabric Nodejs SDK Eventhub has been shutdown

I have deployed the sample fabcar network on IBM Blockchain platform and am using the code from this repository to interact with it. The interaction works great when I call every function individually. The problem comes when I develop a node server…
tahaf10
  • 180
  • 2
  • 10
4
votes
1 answer

User registration & login in Hyperledger fabric

I am working on a project where I need the functionality of user registration and user login. I need some suggestion. What would be the better way of achieving this task? A.) Old school email & password OR B.) By using public & private keys? What…
Akshay Sood
  • 6,366
  • 10
  • 36
  • 59
4
votes
2 answers

How to start intermediate ca using docker-compose?

The steps which I have followed: 1) started the fabric with 1-ca(which is root ca), 1-orderer, 1-peer and 1-couchdb 2) I attached the shell to ca which is root and fire the 2 commands to register the intermediate ca. fabric-ca-client…
4
votes
2 answers

Composer network install: ERROR no valid responses from any peers

I'm working on the hyperledger blockchain on Ubuntu 18-04 LTS via this tuto hyperledger.github.io/composer/latest/tutorials/developer-tutorial . I have installed all the pre-requisites and in this step of running "composer network install", I faced…
4
votes
1 answer

Restrict user access to only some channels in hyperledger fabric

In hyperledger fabric, suppose there is a channel, 'channel_12' between org1 and org2 and another channel, 'channel_13' between org1 and org3. Suppose there are 2 users, 'Org1User1' & 'Org1User2' in org1. Can we restrict the access of Org1User1 to…
Abhinay B
  • 199
  • 10
4
votes
1 answer

Hyperledger Fabric: Do we need to pass TLS cert/key files while joining channel?

I have a multi-org network fabric network up and running from different hosts. The docker containers for the peers have TLS enabled. The build configuration of the peer: - CORE_PEER_TLS_ENABLED=true -…
Mrudav Shukla
  • 708
  • 1
  • 7
  • 25
4
votes
2 answers

Hyperledger fabric: error validating DeltaSet while creating channel

I need to create 3 channels under 3 orgs. channelAll : Org1,Org2 channelOrg1 : Org1 channelOrg2 : Org2 However, I have successfully created the first and second channel but for the 3rd, the error happens as below. Error: got unexpected status:…
Kwon Lee
  • 41
  • 1
4
votes
1 answer

Chaincode (smart contract) interactions within and across channels in Hyperledger Fabric

Consider the Organization-Peer setup in a Hyperledger Fabric network as shown in the image. Org 1 has two peers, Org 2 has one peer - all of which exist inside the same channel - X. Org 3 has one peer which exist outside in a different channel. The…