Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Body Parameters

Type

Note

peersstring arrayThe array of names of the peer nodes where the chaincode package will be installed. 
chaincode_packagestringThe base64-encoded contexts of the chaincode package
chaincode_labelstring The label that will be used to identify the installed chaincode package
chaincode_typestring (optional)The type of chaincode language (e.g. "golang")



2.

...

Perform chaincode operations → Approve (may by several orgs), Commit

POST api/v1/chaincodes/<chaincode_name>/?operaions=<install/approve/commit>

...