2

I'm writing smartcontracts in hyperledger fabric and for deployment purpose I need to package it into cds(chaincodedeploymentspec) format. are there any options other than vscode IBP extension for this?

Lakshmi
  • 21
  • 1

1 Answers1

2

CDS is the standard format used by Fabric. The IBP extension does generate packages with the .cds file extension, but there's actually nothing special about format. For example, if you used the CLI package command and named the output file with the .cds file extension, then you'd be able to simply use that package.

For example, if you run peer chaincode package -p github.com/mycc -n mycc -v 1.0 mycc.cds

you can then use the mycc.cds file anywhere you can use the package created by the IBP extension (for example in the IBP console)

Gari Singh
  • 11,418
  • 2
  • 18
  • 41