code: func (l *Lifecycle) InstallChaincode(name, version string, chaincodeInstallPackage []byte) ([]byte, error) {
  	// Let's validate that the chaincodeInstallPackage is at least well formed before writing it
  	_, err := l.PackageParser.Parse(chaincodeInstallPackage)
  	if err != nil {
  		return nil, errors.WithMessage(err, "could not parse as a chaincode install package")
  	}
  
  	hash, err := l.ChaincodeStore.Save(name, version, chaincodeInstallPackage)
  	if err != nil {
  		return nil, errors.WithMessage(err, "could not save cc install package")
  	}
  
  	return hash, nil
  }
docs: // InstallChaincode installs a given chaincode to the peer's chaincode store.
  // It returns the hash to reference the chaincode by or an error on failure.