Delete a Chaincode

You can delete obsolete or unused chaincode packages to free up disk space.

You might delete a chaincode package to free up space for installing other chaincodes. When you delete a chaincode package, it is not recoverable.
  1. Go to the console and select the Chaincodes tab.
    The Chaincodes page is displayed. The chaincode table lists the chaincode packages that are available on the network, with information about how many peers a package is installed on and how many channels a package is deployed on.
  2. In the table, click the More Actions menu item for the chaincode to delete, and then click Delete.
  3. Click Yes to confirm the chaincode deletion.