|
Error committing chaincode to network with 4 orgs
#fabric-chaincode
It appears that you are trying to commit an not approved definition. Check the crafted --name parameter on both commands. The checkcommitreadness is using another name definition: --name material_prov
It appears that you are trying to commit an not approved definition. Check the crafted --name parameter on both commands. The checkcommitreadness is using another name definition: --name material_prov
|
By
David Faulstich Diniz Reis
· #11048
·
|
|
Error committing chaincode to network with 4 orgs
#fabric-chaincode
Hi all, We're trying to deploy our chaincode to the test-network with 4 orgs in it. Following the "Deploy a smart contract to channel" tutorial, we got each org to approve the chaincode definition as
Hi all, We're trying to deploy our chaincode to the test-network with 4 orgs in it. Following the "Deploy a smart contract to channel" tutorial, we got each org to approve the chaincode definition as
|
By
LC
· #11047
·
|
|
How to query JSON data in chain codes stored in couchDB
#fabric-chaincode
Hi All, In my chaincodes, which stored in couchDB, I have a data structure like this: const order = { orderNumber, orderItems: JSON.stringify(OrderItemObj), orderStatus } Where OrderItemObj is , e.g.
Hi All, In my chaincodes, which stored in couchDB, I have a data structure like this: const order = { orderNumber, orderItems: JSON.stringify(OrderItemObj), orderStatus } Where OrderItemObj is , e.g.
|
By
pham.qtpham@...
· #10983
·
|
|
#fabric-chaincode
#fabric-chaincode
If you want to display the results of ledger queries in the browser, you'll need to create a backend component that interacts with Fabric. I suggest studying the REST API sample (https://github.com/hy
If you want to display the results of ledger queries in the browser, you'll need to create a backend component that interacts with Fabric. I suggest studying the REST API sample (https://github.com/hy
|
By
Andrew Coleman
· #10825
·
|
|
#fabric-chaincode
#fabric-chaincode
Hi, How can I query data in blockchain and populate the data in a poplist? E.g. I already have a function allowed me to bind select element with JSON array below: function populateSelect() { // THE JS
Hi, How can I query data in blockchain and populate the data in a poplist? E.g. I already have a function allowed me to bind select element with JSON array below: function populateSelect() { // THE JS
|
By
pham.qtpham@...
· #10819
·
|
|
#fabric-chaincode
#fabric-chaincode
orderer.trade.com DNS maybe misconfigured. Why you are overriding tls hostname using the same hostname? Em ter., 4 de jan. de 2022 06:58, <pham.qtpham@...> escreveu:
orderer.trade.com DNS maybe misconfigured. Why you are overriding tls hostname using the same hostname? Em ter., 4 de jan. de 2022 06:58, <pham.qtpham@...> escreveu:
|
By
David Faulstich Diniz Reis
· #10765
·
|
|
#fabric-chaincode
#fabric-chaincode
Hi, I have error when doing approving chaincode definition for orgs. The error in the log file is: approve Approving chaincode definition for orgs... + peer lifecycle chaincode approveformyorg --connT
Hi, I have error when doing approving chaincode definition for orgs. The error in the log file is: approve Approving chaincode definition for orgs... + peer lifecycle chaincode approveformyorg --connT
|
By
pham.qtpham@...
· #10764
·
|
|
Chaincode queries with couchDB
#fabric-chaincode
The normal CouchDB query syntax is used in Fabric, please see the CouchDB query reference at https://docs.couchdb.org/en/3.1.1/api/database/find.html. Dave Enyeart pham.qtpham---12/19/2021 05:18:34 AM
The normal CouchDB query syntax is used in Fabric, please see the CouchDB query reference at https://docs.couchdb.org/en/3.1.1/api/database/find.html. Dave Enyeart pham.qtpham---12/19/2021 05:18:34 AM
|
By
David Enyeart
· #10730
·
|
|
Chaincode queries with couchDB
#fabric-chaincode
Hi, I followed the doc (https://hyperledger-fabric.readthedocs.io/en/latest/couchdb_as_state_database.html ) to create index as below: { "index": { "fields": ["ownerName", "paymentAmountDue"] }, "ddoc
Hi, I followed the doc (https://hyperledger-fabric.readthedocs.io/en/latest/couchdb_as_state_database.html ) to create index as below: { "index": { "fields": ["ownerName", "paymentAmountDue"] }, "ddoc
|
By
pham.qtpham@...
· #10718
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Thank you guys so much, it's really helpful!
Thank you guys so much, it's really helpful!
|
By
BigBang019
· #10714
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Hi! The chaincode has a unique identifier in the network when it is running. If a chaincode calls itself (another function) using invokeChaincode method, an error will occur. You have to call the func
Hi! The chaincode has a unique identifier in the network when it is running. If a chaincode calls itself (another function) using invokeChaincode method, an error will occur. You have to call the func
|
By
David Faulstich Diniz Reis
· #10709
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Thanks for your attention: https://github.com/hyperledger/fabric-chaincode-java/issues/218
Thanks for your attention: https://github.com/hyperledger/fabric-chaincode-java/issues/218
|
By
BigBang019
· #10708
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Hello; Can I suggest that you raise an issue on the github hyperledger/fabric-chaincode-java repo? Though to check that you can call `helloworld()` directly from `invokeChaincode` without having to ca
Hello; Can I suggest that you raise an issue on the github hyperledger/fabric-chaincode-java repo? Though to check that you can call `helloworld()` directly from `invokeChaincode` without having to ca
|
By
Matthew White
· #10707
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Environment: fabric release-2.2 My chaincode named vulnerable is as follows: When I invoke helloworld directly, it gives me responce "helloworld", everything works fine. But when I invoke invokeChainc
Environment: fabric release-2.2 My chaincode named vulnerable is as follows: When I invoke helloworld directly, it gives me responce "helloworld", everything works fine. But when I invoke invokeChainc
|
By
BigBang019
· #10706
·
|
|
How to get the public key of a client inside the chaincode ?
#signcerts
#fabric-chaincode
Thank you.
By
K Sanjay Kumar
· #10686
·
|
|
How to get the public key of a client inside the chaincode ?
#signcerts
#fabric-chaincode
ClientIdentity.getIDBytes() will give you the PEM-encoded X.509 certificate of the client, which contains the public key.
ClientIdentity.getIDBytes() will give you the PEM-encoded X.509 certificate of the client, which contains the public key.
|
By
Mark Lewis
· #10685
·
|
|
How to get the public key of a client inside the chaincode ?
#signcerts
#fabric-chaincode
I want to create a verifiable public key log of clients. These public keys are then queried to perform off chain verification of documents issued by the corresponding private key. I looked through "cl
I want to create a verifiable public key log of clients. These public keys are then queried to perform off chain verification of documents issued by the corresponding private key. I looked through "cl
|
By
K Sanjay Kumar
· #10683
·
|
|
smart contract A invoking function from smart contract B
#fabric-chaincode
There is an invokeChaincode() function available on the chaincode stub that can be used to make chaincode-to-chaincode calls: https://hyperledger.github.io/fabric-chaincode-node/release-2.2/api/fabric
There is an invokeChaincode() function available on the chaincode stub that can be used to make chaincode-to-chaincode calls: https://hyperledger.github.io/fabric-chaincode-node/release-2.2/api/fabric
|
By
Mark Lewis
· #10600
·
|
|
smart contract A invoking function from smart contract B
#fabric-chaincode
Refer to Chaincode namespace — hyperledger-fabricdocs main documentation for cross chaincode access Regards, Satheesh
Refer to Chaincode namespace — hyperledger-fabricdocs main documentation for cross chaincode access Regards, Satheesh
|
By
satheesh
· #10586
·
|
|
smart contract A invoking function from smart contract B
#fabric-chaincode
Hi, I currently have a chaincode with 3 seperate smart contracts [A,B,C] inside it. I use different smart contracts for different fucntionality and different transaction contexts. Now I want to invoke
Hi, I currently have a chaincode with 3 seperate smart contracts [A,B,C] inside it. I use different smart contracts for different fucntionality and different transaction contexts. Now I want to invoke
|
By
montassar.naghmouchi@...
· #10582
·
|