Use Quick Deployment

(Hyperledger Fabric v2.2.4) Use the quick deployment option to complete a one-step chaincode deployment. This option is recommended for chaincode testing.

The quick deployment uses default settings, installs the chaincode on all peers in the channel, deploys the chaincode using the default endorsement policy, and enables the chaincode in the REST proxy.
Note the following information:
You must be an administrator to complete this task.
  1. Go to the console and select the Chaincodes tab.
  2. In the Chaincodes tab, click Deploy a New Chaincode.
    The Deploy Chaincode page is displayed.
  3. Click Quick Deployment.
    The Deploy Chaincode (Quick) page is displayed.
  4. In the Package Label field, enter a description of the chaincode package.
    Use the following guidelines when labeling the chaincode:
    • Use ASCII alphanumeric characters, dashes (-), and underscores (_).
    • The label must start and end only with ASCII alphanumeric characters. For example, you can't use labels such as _mychaincode or mychaincode_.
    • Dashes (-) and underscores (_) must be followed by ASCII alphanumeric characters. For example, you can't use names like my--chaincode or my-_chaincode.
    • The package label can be up to 50 characters long.
  5. In the Chaincode Name field, enter a unique name for the chaincode. In the Version field enter a string value to specify the chaincode’s version number.
    Use these guidelines when naming the chaincode:
    • Use ASCII alphanumeric characters, dashes (-), and underscores (_).
    • The name must start and end only with ASCII alphanumeric characters.
    • Dashes (-) and underscores (_) must be followed with ASCII alphanumeric characters.
    • The name and version can each be up to 64 characters long.
    • The chaincode version can also contain periods (.) and plus signs (+).
  6. If the chaincode requires initialization, select Init-required.
    If Init-required is selected, the client application must invoke the Init function explicitly, by specifying the isInit flag, before calling any other function.
  7. Review the other default settings and modify them as needed.
  8. If you are deploying chaincode source in a .zip file, leave Is Packaged Chaincode deselected. If you are deploying a chaincode package in a .tar.gz file, select Is Packaged Chaincode.
  9. Click Upload Chaincode File and browse for the chaincode file to upload and deploy.
  10. Click Submit.
    The chaincode is installed on the channel’s peers and deployed.
On the Channels tab, click the name of the channel that you deployed the chaincode to, and then click Deployed Chaincodes. The deployed chaincode's name, version, sequence number, and package ID are displayed in the summary table, as well as the approved and committed statuses.