Typical Workflow to Deploy Chaincodes

Here are the common tasks for deploying chaincodes.

You must be an administrator to perform these tasks.

Task Description More Information
Use the wizard to fully or partially deploy a chaincode For testing, use Quick Deployment to perform the deployment in one step, using default settings.

For production, use Advanced Deployment to specify the deployment settings such as which peers to install the chaincode on and the endorsement policy you want to use. With Advanced Deployment you can instantiate the chaincode and enable it in the REST proxy now or later.

Use Quick Deployment

Use Advanced Deployment

Instantiate a chaincode Instantiate the chaincode after you’ve installed it. Instantiate a Chaincode
Enable the chaincode in REST proxy Enable the chaincode in the REST proxy if you want to use the REST proxy to interact with the chaincode rather than the client SDK. Enable a Chaincode in a REST Proxy
Upgrade the chaincode Upload and instantiate a newer version of a chaincode, or pick an older version of the chaincode to use. Upgrade a Chaincode