diff --git a/pages.it/common/minifab.md b/pages.it/common/minifab.md new file mode 100644 index 0000000000..0355843a2b --- /dev/null +++ b/pages.it/common/minifab.md @@ -0,0 +1,36 @@ +# minifab + +> Strumento per semplificare il settaggio e il deployment di una blockchain Hyperledger Fabric. +> Ulteriori informazioni: . + +- Crea la blockchain Hyperledger Fabric: + +`minifab up -i {{versione_minifab}}` + +- Rimuovi la blockchain Hyperledger Fabric: + +`minifab down` + +- Installa smart contract su un canale: + +`minifab install -n {{nome_smart_contract}}` + +- Installa smart contract su un canale specificando la versione: + +`minifab install -n {{nome_smart_contract}} -v {{versione_smart_contract}}` + +- Inizializza smart contract dopo installazione/aggiornamento dello stesso: + +`minifab approve,commit,initialize,discover` + +- Interroga smart contract con argomenti: + +`minifab invoke -n {{nome_smart_contract}} -p '"{{nome_metodo}}", "{{arg0}}", "{{arg1}}", ...'` + +- Interroga la blockchain: + +`minifab blockquery {{numero_blocco}}` + +- Esegui direttamente l'applicazione: + +`minifab apprun -l {{linguaggio_di_programmazione}}` diff --git a/pages/common/minifab.md b/pages/common/minifab.md new file mode 100644 index 0000000000..25b114d5eb --- /dev/null +++ b/pages/common/minifab.md @@ -0,0 +1,36 @@ +# minifab + +> Utility tool that automates the setup and deployment of Hyperledger Fabric networks. +> More information: . + +- Bring up the default Hyperledger Fabric network: + +`minifab up -i {{minifab_version}}` + +- Bring down the Hyperldger 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}}", "{{arg0}}", "{{arg1}}", ...'` + +- Make a query on the ledger: + +`minifab blockquery {{block_number}}` + +- Quickly run an application: + +`minifab apprun -l {{app_programming_langauge}}`