hyperledger-fabric

Transaction not found on remote peer

僤鯓⒐⒋嵵緔 提交于 2020-01-14 03:45:06
问题 I'm trying to setup simple blockchain network with Hyperledger fabric v1.0 on 2 instances. My scenario Instance A: Orderer and Peer0 Instance B: Peer1 I basically followed the "Use the native binaries" section of "Getting Started" page. What I tried is I started 1 orderer and 1 peer on instanceA. I installed, instantiated, invoked and made a query the example chaincode. Then I started 1 peer on instanceB. I could let peer1 on instanceB join my channel from instanceA. I could install the

Hyperledger fabric: How to add new organization and a peer to existing Hyperledger Composer single organization fabric network?

让人想犯罪 __ 提交于 2020-01-13 21:09:35
问题 I am new to Hyperledger fabric. I was able to use one tutorial to: install prerequisites and hyperledger composer development tools create a fabric network install/deploy business network create an angular front end However, the fabric network that got created has only one organization and a peer. For my POC, I need three organizations with one peer each. How can I add additional organizations and peers in existing fabric network? 回答1: Steps A) Install prerequisites (Run in dir - dev5@ubuntu:

Hyperledger fabric: How to add new organization and a peer to existing Hyperledger Composer single organization fabric network?

泪湿孤枕 提交于 2020-01-13 21:04:54
问题 I am new to Hyperledger fabric. I was able to use one tutorial to: install prerequisites and hyperledger composer development tools create a fabric network install/deploy business network create an angular front end However, the fabric network that got created has only one organization and a peer. For my POC, I need three organizations with one peer each. How can I add additional organizations and peers in existing fabric network? 回答1: Steps A) Install prerequisites (Run in dir - dev5@ubuntu:

hyperledger fabric first_network example create channel got BAD_REQUEST

不羁的心 提交于 2020-01-13 06:02:25
问题 I have been following tutorial on hyper ledger website: https://hyperledger-fabric.readthedocs.io/en/release/build_network.html#behind-scenes. I was able to run ./byfn.sh -m generate ./byfn.sh -m up This setup run all the way through of showning the end. like: ===================== All GOOD, BYFN execution completed ===================== _____ _ _ ____ | ____| | \ | | | _ \ | _| | \| | | | | | | |___ | |\ | | |_| | |_____| |_| \_| |____/ ./byfn.sh -m down Then I begun to follow the tutorial

Cross-ledger communication between Hyperledger Fabric and Hyperledger Indy

筅森魡賤 提交于 2020-01-12 10:10:07
问题 Is it possible to have a cross-ledger identity management between hyperledger fabric and indy? Is it possible to communicate between Hyperledger Fabric and Hyperledger Indy? Can I read the data from Fabric and store it in Indy and vice-versa? My idea is to use Indy to authenticate identities and use Fabric to store data through chaincodes using the communicated credentials. Is Quilt the tool for it? 回答1: Hyperledger Indy is a decentralised identity system, while Hyperledger Fabric is a

Cross-ledger communication between Hyperledger Fabric and Hyperledger Indy

点点圈 提交于 2020-01-12 10:10:02
问题 Is it possible to have a cross-ledger identity management between hyperledger fabric and indy? Is it possible to communicate between Hyperledger Fabric and Hyperledger Indy? Can I read the data from Fabric and store it in Indy and vice-versa? My idea is to use Indy to authenticate identities and use Fabric to store data through chaincodes using the communicated credentials. Is Quilt the tool for it? 回答1: Hyperledger Indy is a decentralised identity system, while Hyperledger Fabric is a

Understanding Various Certificates in Hyperledger fabric

回眸只為那壹抹淺笑 提交于 2020-01-11 17:02:39
问题 Hello I am tryin to use hyperledger fabric for a block chain implementation. I did the first-network demo and found lot of certificates in it. I have tried arranging them hierarchically in below picture. I Have some questions related to them Why are all these different categories of certs required. Like different msp tls are they generated once and copied at different locations? How these different certificates will be used in different scenarios (like enrollment and communication.) If we

Why peer chaincode instantiate execuate many times successfully

非 Y 不嫁゛ 提交于 2020-01-10 02:17:05
问题 I could execute peer chaincode instantiate many times successfully, it should returns it exist, but no. why? logs after instantiate command logs the docker returns steps : from my github project chaincode-docker-devmode, I copy msp (peer and orderer use together) 、genesis.block、helloch.tx、docker-compose-with-couch.yaml and so on form other place,it should be ok. When I execute : docker-compose -f docker-compose-with-couch.yaml up peer、orderer、couchdb0、cli start and then cli execute script.sh

Hyperledger Fabric v0.6 using Docker Toolbox

↘锁芯ラ 提交于 2020-01-07 07:09:18
问题 I am using Docker Toolbox on Windows to run Hyperledger Fabric v0.6. Peer and CA has started successfully. When I run the following command : CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02. End up with the error : "Error trying to connect to local peer : grpc : timed out when dialing" I changed 0.0.0.0:7051 to the internal IP of the dockerfile_vp0_1, 172.17.0.3 :7051 but I end up with the same error. I am following the instructions from https://github.com

How to assign identity to fabric-client instance?

情到浓时终转凉″ 提交于 2020-01-06 07:56:13
问题 I am unable to install node chaincode using fabric-node-sdk. I am getting the following error: installChaincode error No identity has been assigned to this client I am using following script const Client = require("fabric-client"); const path = require("path"); const os = require("os"); const client = new Client(); const deploy = async () => { const connectionOpts = { name: "peer1", "request-timeout": 7000, pem: path.resolve( os.homedir, "/fabric-samples/chaincode-docker-devmode/msp/signcerts