minifab

Utility tool that automates the setup and deployment of Hyperledger Fabric networks.

TLDR

Bring up the default Hyperledger Fabric network

$ minifab up -i [minifab_version]
copy


Bring down the Hyperledger Fabric network
$ minifab down
copy


Install chaincode onto a specified channel
$ minifab install -n [chaincode_name]
copy


Install a specific chaincode version onto a channel
$ minifab install -n [chaincode_name] -v [chaincode_version]
copy


Initialize the chaincode after installation/upgrade
$ minifab approve,commit,initialize,discover
copy


Invoke a chaincode method with the specified arguments
$ minifab invoke -n [chaincode_name] -p '"[method_name]", "[arg0]", "[arg1]", ...'
copy


Make a query on the ledger
$ minifab blockquery [block_number]
copy


Quickly run an application
$ minifab apprun -l [app_programming_langauge]
copy

Copied to clipboard