hyperledger / hyperledger/fabric-admin-sdk

CLI commands for chaincode deployment

Open
#202 1 comment 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
Go
Stars
36
Forks
28
Avg merge
26m
Merged PRs (30d)
2

Description

**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`](https://hyperledger-fabric.readthedocs.io/en/latest/commands/peerlifecycle.html) 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](https://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](https://pkg.go.dev/github.com/hyperledger/fabric-admin-sdk/pkg/chaincode):

- [ ] Install
- [ ] QueryInstalled
- [ ] GetInstalled
- [ ] Approve
- [ ] QueryApproved
- [ ] CheckCommitReadiness
- [ ] Commit
- [ ] QueryCommitted
- [ ] QueryCommittedWithName

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.