build-blockchain-insurance-app icon indicating copy to clipboard operation
build-blockchain-insurance-app copied to clipboard

How can I generate a new CDS file after writing adding a few more smart contracts?

Open yashverma9 opened this issue 4 years ago • 2 comments

I added a few more functions into the pre-existing chaincode (in go). Now I want to test them, so how should I package my chaincode into a CDS package. What STEPS should I follow?

I am working on a project and my submission is due in 1 day, can you help as soon as possible

yashverma9 avatar Jun 12 '20 14:06 yashverma9

Hi @yashverma9 I'm also looking for the same. Please let me know if you got to know how to package and instantiate the chaincode.

raviteja2109 avatar Jun 21 '20 18:06 raviteja2109

Hey, it's pretty easy. Just install the IBM Blockchain platform extension in VS Code. In the command pallete (open from view tab in vs code) use the package open project command. This will create a new cds file. More details here:

https://github.com/IBM-Blockchain/blockchain-vscode-extension#package-open-project

yashverma9 avatar Jun 21 '20 18:06 yashverma9