Questions tagged [hyperledger-chaincode]
448 questions
0
votes
1 answer
Hyperledger Fabric error: signature set did not satisfy policy
I've created a network configuration with 2 orgs, each one with 1 peer and CA.
I've successfully installed and instantiated my chaincode on both peers
But after invoking a transaction this error occurs on both…

Giorgos Niotis
- 45
- 6
0
votes
1 answer
Error: Error getting broadcast client: rpc error: code = Unavailable desc = transport: write tcp
I am trying to create a channel with custom cryptomaterial (not working in fabricSample) using the command
peer channel create -c myc -o orderer2.IdentityPreservationSystem.com:7050
and getting this error
Error: Error getting broadcast client:…

Anas Mirza
- 19
- 1
- 7
0
votes
1 answer
Error installing chaincode in several organizations in Hyperledger Fabric network. Could not find config file
I have been adding several organisations to my hyperledger fabric network. I am using fabric 1.4.1 with the following CLI configurations:
container_name: cli-org1
image: hyperledger/fabric-tools:1.4.1
tty: true
environment:
-…

dariusjvc
- 1
- 4
0
votes
1 answer
How to install custom chaincode?
I want to install custom chaincode on my hyperledger fabric channel. I put my chaincode.go file besides of my .yaml files .when I run this command :
peer chaincode install -n mycc -v 1.0 -p github.com/chaincode/chaincode_example02/go/
I got this…

faeze saghafi
- 650
- 10
- 25
0
votes
1 answer
send messages one organization admin to another organization admin in hyperleger fabric
I am building one POC using Hyperledger fabric,
Is it possible to send messages from one organization admin like money details to another organization admin and he sends the (agree/denied) message?

Darshan
- 23
- 1
- 7
0
votes
1 answer
Hyperledger -- Contract instantiation issue
I am trying to instantiate the java contact in Commercial Paper Tutorial and get the following error in the monitor.
There is no issue while installing the chain code.
Command run:
docker exec cliMagnetoCorp peer chaincode instantiate -n…
0
votes
0 answers
Hyperledger Fabric invokeChaincode
I want to invoke another chaincode inside a chaincode using ctx.stub.invokeChaincode("called chaincode name", ["the name of the function (transaction) of the called chaincode", args]), and my both chaincodes has been instantiated on the same…

ethertest
- 317
- 4
- 13
0
votes
1 answer
Hyperledger Fabric SimulateProposal Error with high input send rate
Hello I created a Hyperledger Fabric network that works fine when I submit a few transaction proposals at a time, but since I have to do some benchmark tests I'm having errors when I send several proposals to peers with high send rate. The network…

Pacs
- 1
- 2
0
votes
1 answer
How to write shell script for chaincode invoke function for arguments from file?
I want to invoke chaincode to write data for 10 records automatically with using bash script and arguments for chaincode can be able to take from txt file.But, chaincode does not write to ledger from file, it writes only value "line1" and…

Aiga
- 11
- 1
0
votes
2 answers
How to use getAttributeValue() in ClientIdentity for fabric shim?
I am using nodejs sdk for hyperledger fabric, inside my chaincode i need to get name of the identity (sam) who is execting the…

sachin murali
- 469
- 2
- 7
- 22
0
votes
2 answers
Chaincode registration failed
I have tried to instantiate nodejs chaincode on multiple host environment and resulted in chaincode registration error. Golang smart contract worked perfectly in multiple host env.
Error : could not assemble transaction. err propseal response was…
0
votes
1 answer
peer chain code install problem directory not found
I have started a fabric network with three orgs one pear for each org and one orderer. Created one channel and added the peers to the channel.But when i try to install the chaincode it says directory not found. I also mounted the volume inside my…

sh1515
- 47
- 9
0
votes
0 answers
The fabcar fabric-sample shows the error cannot find module 'fabric-network' while running node enrollAdmin.js code
I am running the fabcar fabric-sample, in fabcar folder i run ./startFabric.sh that worked fine and network launched from start to end. but after that when i running node enrollAdmin.js in javascript folder it shows the following error!!! My OS is…

Noor Khan
- 151
- 1
- 9
0
votes
1 answer
how many chaincodes are required for 3 organizations hyperledger network
I want to build a hyperledger fabric network for 3 organizations, and I want to develop chaincode for the network. So how many chaincodes I have develop to 3 organization network. Is it like between org1 and org2 one chaincode, and org2 and org3 one…

Karthik C Yadav
- 177
- 1
- 3
- 16
0
votes
1 answer
Error while installing Chaincode in Hyperledger Fabric Network
I have created a basic network with a peer, couch DB , orderer, and a CA. Able to bring the network up but when trying to install the chain code written in typescript it throws the following error.
Error:
docker- compose.yaml:
version:…

Raviteja
- 97
- 3
- 16