Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI commands for chaincode deployment #202

Open
9 tasks
bestbeforetoday opened this issue Sep 17, 2024 · 0 comments
Open
9 tasks

CLI commands for chaincode deployment #202

bestbeforetoday opened this issue Sep 17, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@bestbeforetoday
Copy link
Member

As a blockchain administrator
I want to have CLI commands to deploy smart contracts (chaincode)
So that I can script or drive ad-hoc deployment of chaincode from the command-line

The existing Fabric peer lifecycle chaincode CLI commands are implemented within the Fabric core codebase, and include all of the Fabric peer runtime. These administrative capabilities should be separated from the Fabric core and instead implemented as light-weight CLI commands based on the fabric-admin-sdk.

A previous attempt to decouple the CLI commands from the Fabric core can be found at github.com/hyperledger/fabric-cli. This is based on the legacy Go SDK, which is no longer supported and also carries more baggage than necessary to implement only the required admin capability.

New CLI commands should expose the capability provided by the Go chaincode package:

  • Install
  • QueryInstalled
  • GetInstalled
  • Approve
  • QueryApproved
  • CheckCommitReadiness
  • Commit
  • QueryCommitted
  • QueryCommittedWithName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant