hyperledger-fabric

steps to install cryptogen tool for hyperledger fabric node setup?

自古美人都是妖i 提交于 2019-12-23 09:27:45
问题 I am a java developer and i have started learning hyperledger fabric . I am trying to do the setup for fabric node setup . I am not sure how to install cryptogen tool . Please help me . 回答1: For Linux users: The installation process of binaries tools for Hyperledger Fabric is captured in the download platform-specific binaries section. You need to run: curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/release/scripts/bootstrap-1.0.0.sh | bash It will download required files. Make

Get the error:Error: proposal failed (err: bad proposal response 500) when I try to join a peer to an existed channel?

拈花ヽ惹草 提交于 2019-12-23 06:51:36
问题 I tried to get the newest block from an exist channel by: peer channel fetch newest mychannel.block -c mychannel --orderer orderer.zee.com:7050 --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/zee.com/orderers/orderer.zee.com/msp/tlscacerts/tlsca.zee.com-cert.pem then I got mychannel.block in current directory. Using this block I applied peer channel join -b mychannel.block --orderer orderer.zee.com:7050\ I expected to join that channel(before that

Can connect between hyperledger composer and Android app?

那年仲夏 提交于 2019-12-23 05:07:08
问题 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) ? 2) and if it possible to connect this network on hyperledger composer to Android app ? I want to know if these possible or not and how can do that? And I want to know if using hyperledger fabric will be best or go on hyperledger composer? 回答1: It depends on what you mean with "access the

Issue in creating multiple peers in hyperledger explorer

假如想象 提交于 2019-12-23 04:53:42
问题 I am trying to setup hyperledger explorer for my fabric network. I have 3 Orgs with one peer in each. Network Config:- Organizations: - &StancOrg Name: StancOrgMSP ID: StancOrgMSP MSPDir: crypto-config/peerOrganizations/peerStanc.com/msp AnchorPeers: - Host: HOSTA.peerStanc.com Port: 7051 - &StancOrgA Name: StancOrgAMSP ID: StancOrgAMSP MSPDir: crypto-config/peerOrganizations/peerStancA.com/msp AnchorPeers: - Host: HOSTA.peerStancA.com Port: 7051 - &StancOrgB Name: StancOrgBMSP ID:

User level restriction in hyperledger fabric 1.0

与世无争的帅哥 提交于 2019-12-23 04:47:50
问题 I have a requirement that, any number of customers can log into one company site and they will upload some documents for identity proofs, And the company can verify the documents by opening and accepts if documents are fine otherwise reject of documents are fake. When the user login again into the site, he has to see whether the uploaded docs are approved/rejected by company. How do we achieve this requirement in hyperledger fabric 1.0 and How the user details are restricted from other users

Hyperledger-Composer: Getting “access denied” when pinging network admin card

。_饼干妹妹 提交于 2019-12-23 04:29:11
问题 Im using Hyperledger Composer over Hyperledger Fabric to deploy a .bna file. The problem comes when creating networkAdmin cards for the different organizations, they are not able to access the network. Background The project structure is as follows: Organizations: exporter01 with one peer and one CA maritimeAgency01 with one peer and one CA terminal01 with one peer and one CA terrestrialTransport01 with one peer and one CA The steps towards the problem are as follows: Create the PeerAdmin

Hyperledger-Composer: Getting “access denied” when pinging network admin card

穿精又带淫゛_ 提交于 2019-12-23 04:29:06
问题 Im using Hyperledger Composer over Hyperledger Fabric to deploy a .bna file. The problem comes when creating networkAdmin cards for the different organizations, they are not able to access the network. Background The project structure is as follows: Organizations: exporter01 with one peer and one CA maritimeAgency01 with one peer and one CA terminal01 with one peer and one CA terrestrialTransport01 with one peer and one CA The steps towards the problem are as follows: Create the PeerAdmin

how to invoke chaincode function from itself to record sub transactions

最后都变了- 提交于 2019-12-23 03:22:15
问题 We want to invoke one of the functions from go language chaincode itself. The reason for doing so is that we want to create separate transaction blocks for some logics based on flow. For example, if we have a function named ' transferFund ' and within that, we are reading balances of two persons (let it be a function named ' readBalance '). We want 3 blocks to be created: 1 for ' transferFund ' and 2 for ' readBalance ' 回答1: To invoke another chaincode within your chaincode you can use stub

Can some one share fabric multi channel example using hyperledger-composer

℡╲_俬逩灬. 提交于 2019-12-23 03:02:00
问题 There is no clear documentation of hyperledger fabric multichannel, can someone from community share example of configuration. 回答1: This Stack Overflow thread on creating multi-channel for a Hyperledger Fabric configuration should help you (mostly in yellow and grey code blocks) -> Configure Multiple Channel in Hyperledger Fabric. Once you have configured your custom runtime Fabric environment for your multi-Org, multi-channel setup, you can then create the requisite Hyperledger Composer

Error in Channel Creation in Hyperledger Fabric using Node.js

懵懂的女人 提交于 2019-12-23 02:59:05
问题 I am looking to setup a simple Hyperledger Fabric network without using docker and trying to create channel by following this tutorial using Node.js. Steps i performed: Setup crypto-config.yaml and generated crypto-material (crypto-config) Setup fabric-ca-server-config.yaml by updating keyfile & certfile . started CA server Setup configtx.yaml by defining one orderer and one organization. Created genesis block and configuration transaction Now by when i run above tutorial node.js code, i get