Open scheung38 opened 4 years ago
Which version of hlf are you using?
I have a script for hlf v2.2 that is built on the "new" basic network and extends out the chaincode to allow multiple instances. I will post it tomorrow
I have a different one for v1.4.6 as well as a word tutorial for both.
I do intend to push them to the hlf repo but hadn't got to tidy the document
I think the installation is working now:
hlf-cicero-contract git:(master) ✗ ./trigger.sh
2020-09-02 23:41:44.065 BST [chaincodeCmd] chaincodeInvokeOrQuery -> INFO 001 Chaincode invoke successful. result: status:200 payload:“{\“$class\“:\“org.accordproject.helloworldstate.MyResponse\“,\“output\“:\“Hello Dan Selman Hello(1.0)\“,\“transactionId\“:\“4d128d9d10ff4e29e6037266cadce3c24043e0aba88259aaab41aaa9b11d2ce9\“,\“timestamp\“:{\“seconds\“:{\“low\“:1599086503,\“high\“:0,\“unsigned\“:false},\“nanos\“:984377000}}”
But not sure how to customize it with the generated output from https://studio.accordproject.org:
contract.txt replaces -> ???
rental-deposit.cta -> ???
request.json -> ???
Or how to import it back into studio to validate?
initialize.sh
install.sh
So the above of install and initialise were ok.
But trigger.sh is still looking for FABRIC_CFG_PATH, which was previously defined in my ~/.zshrc
So when executing .trigger.sh:
EDIT:
Forgot to also change trigger.sh:
export HLF_INSTALL_DIR=$HOME/Desktop/fabric-samples