Linux command
minifab 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Initialize Hyperledger Fabric network
minifab up
Bring down network
minifab down
Install chaincode
minifab install -n [chaincode_name]
Invoke chaincode
minifab invoke -n [chaincode_name] -p '"[function]","[arg1]","[arg2]"'
说明
minifab simplifies Hyperledger Fabric network deployment. Creates development networks with minimal configuration. Automates chaincode lifecycle management.
参数
- up
- Start Fabric network.
- down
- Stop and remove network.
- install
- Install chaincode.
- invoke
- Invoke chaincode function.
- query
- Query chaincode.
- -n _name_
- Chaincode name.
- -p _params_
- Function parameters.
- -c _channel_
- Channel name.
FAQ
What is the minifab command used for?
minifab simplifies Hyperledger Fabric network deployment. Creates development networks with minimal configuration. Automates chaincode lifecycle management.
How do I run a basic minifab example?
Run `minifab up` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does up do in minifab?
Start Fabric network.