...
Install a chaincode: peer lifecycle install
Body Parameters | Type | Note | ||
---|---|---|---|---|
name | string | the name of chaincode | ||
chaincode_package | string | The base64-encoded contexts of the chaincode package | ||
chaincode_label | string | The label that will be used to identify the installed chaincode package | ||
version | string | chaincode_type | string (optional) | The type of chaincode language (e.g. "golang")version of the uploaded chaincode |
language | string | The programming language | ||
description | string (optional) | |||
version | string |
...
Body Parameters | Type | Note |
---|---|---|
chaincode_label | string(optional) | The label that will be used to identify the installed chaincode package |
package_id | string(optional) | The package id of the chaincode package that will be installed. |
channel_id | string(optional) | The channel on which this command should be executed. |
versionstring | string (optional) | the version of the chaincode definition to be approved |
signature_policystring | string (optional) | Use a policy inside the channel configuration as the chaincode endorsement policy. |
peers | string array array (optional) | The array of the id of the peer nodes. For commit only |
...
Response Body | Type | Note |
---|---|---|
name | string | The name of the chaincode. |
chaincode_label | string | The label that will be used to identify the installed chaincode package |
version | string | the version of the chaincode definition to be approved |
package_id | string | the package id of installed package |
package_id | string | the approval status |
organizations | string array | A list of orgs that installed the chaincode. |
channel | string | Selected channel for the chaincode |