python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Chaincode definition not agreed to by this org (Org1MSP)
When I try to run the following command to commit the chaincode,
peer lifecycle chaincode commit -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls $CORE_PEER_TLS_ENABLED --cafil...
FathimaSyed
Votes: 0
Answers: 1
Not able to get the value of a custom attribute in hyperledger-fabric using cid.getAttributeValue function
Other than the 3 attributes hf.EnrollmentId, hf.type and hf.Affiliation, I've created a custom attribute named email and added it as attrs:[{name: 'email', value: rahul18@gmail.com, ecert: true}] and ...
Rahul Giridharan
Votes: 0
Answers: 2
How can I call one chaincode function inside another chaincode? [nodejs specific]
I'm using NodeJs to write the Hyperledger Fabric chaincode v2.x and using const { Contract } = require('fabric-contract-api')
I have 2 sets of chaincode, one to maintain the user and its wallet amount...

Shalabh Negi
Votes: 0
Answers: 2
How can I rectify from Error: flag needs an argument: 'c' in -c?
I used the following command to initialise the chaincode after committing it to the hyperledger fabric test network.
peer chaincode invoke -o localhost:7050 --ordererTLSHostnameOverride orderer.exampl...
FathimaSyed
Votes: 0
Answers: 1