1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/common/minifab.md
K.B.Dharun Krishna 2135714193
pages/*, style-guide: update contents, fix Markdown (#10492)
* pages/*, style-guide: update pages, fix Markdown (commit 1)

* Update pages

* style-guide.de: update page

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* pip3: remove search command

* rpm: update path placeholder

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/linux/pkgfile.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: pixel <pixel+github@chrissx.de>
2023-08-26 23:00:06 +05:30

36 lines
943 B
Markdown

# minifab
> Utility tool that automates 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 {{minifab_version}}`
- Bring down the Hyperledger Fabric network:
`minifab down`
- Install chaincode onto a specified channel:
`minifab install -n {{chaincode_name}}`
- Install a specific chaincode version onto a channel:
`minifab install -n {{chaincode_name}} -v {{chaincode_version}}`
- Initialize the chaincode after installation/upgrade:
`minifab approve,commit,initialize,discover`
- Invoke a chaincode method with the specified arguments:
`minifab invoke -n {{chaincode_name}} -p '"{{method_name}}", "{{argument1}}", "{{argument2}}", ...'`
- Make a query on the ledger:
`minifab blockquery {{block_number}}`
- Quickly run an application:
`minifab apprun -l {{app_programming_language}}`