Hyperledger Fabric Peer Commands

Quick notes on version 1.2 Hyperledger Fabric Peer Commands

root@6bff29ac1e69:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer
peer [command]

Available Commands:
chaincode Operate a chaincode: install|instantiate|invoke|package|query|signpackage|upgrade|list.
channel Operate a channel: create|fetch|join|list|update|signconfigtx|getinfo.
help Help about any command
logging Log levels: getlevel|setlevel|revertlevels.
node Operate a peer node: start|status.
version Print fabric peer version.

-h, –help help for peer
–logging-level string Default logging level and overrides, see core.yaml for full syntax

Use “peer [command] –help” for more information about a command.

root@6bff29ac1e69:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode list –installed
Get installed chaincodes on peer:
Name: mychaincode, Version: 0, Path: github.com/chaincode/xxxx/, Id: c826c77c3d48a205e1564787f2dc09d523ac0f46cc39432862523085b7d39243

root@6bff29ac1e69:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer version
Version: 1.2.0
Commit SHA: cae2ad4
Go version: go1.10
OS/Arch: linux/amd64
Experimental features: false
Base Image Version: 0.4.10
Base Docker Namespace: hyperledger
Base Docker Label: org.hyperledger.fabric
Docker Namespace: hyperledger


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s