snippetbashTip
minifab — Automate the setup and deployment of Hyperledger Fabric networks. More information: <https://github.
Viewed 0 times
thecommandandautomateminifabclideploymentsetup
Problem
How to use the
minifab command: Automate the setup and deployment of Hyperledger Fabric networks. More information: <https://github.com/hyperledger-labs/minifabric>.Solution
minifab — Automate the setup and deployment of Hyperledger Fabric networks. More information: <https://github.com/hyperledger-labs/minifabric>.Bring up the default Hyperledger Fabric network:
minifab up {{[-i|--fabric-release]}} {{minifab_version}}Bring down the Hyperledger Fabric network:
minifab downInstall chaincode onto a specified channel:
minifab install {{[-n|--chaincode-name]}} {{chaincode_name}}Install a specific chaincode version onto a channel:
minifab install {{[-n|--chaincode-name]}} {{chaincode_name}} {{[-v|--chaincode-version]}} {{chaincode_version}}Initialize the chaincode after installation/upgrade:
minifab approve,commit,initialize,discoverInvoke a chaincode method with the specified arguments:
minifab invoke {{[-n|--chaincode-name]}} {{chaincode_name}} {{[-p|--chaincode-parameters]}} '"{{method_name}}", {{"argument1", "argument2", ...}}'Make a query on the ledger:
minifab blockquery {{block_number}}Quickly run an application:
minifab apprun {{[-l|--chaincode-language]}} {{app_programming_language}}Code Snippets
Bring up the default Hyperledger Fabric network
minifab up {{[-i|--fabric-release]}} {{minifab_version}}Bring down the Hyperledger Fabric network
minifab downInstall chaincode onto a specified channel
minifab install {{[-n|--chaincode-name]}} {{chaincode_name}}Install a specific chaincode version onto a channel
minifab install {{[-n|--chaincode-name]}} {{chaincode_name}} {{[-v|--chaincode-version]}} {{chaincode_version}}Initialize the chaincode after installation/upgrade
minifab approve,commit,initialize,discoverContext
tldr-pages: common/minifab
Revisions (0)
No revisions yet.