Migrating Chaincode Between Blockchain App Builder Versions

If you have existing chaincode projects created with earlier versions of Blockchain App Builder, you can migrate them to use the new features of the updated Blockchain App Builder. If you don't need to use any of the updated Blockchain App Builder features, you don't need to migrate your chaincode projects.

To migrate your chaincode project:

  1. Create a backup of your existing chaincode project folder. For example, if your chaincode project was in TestCC, copy the contents to TestCC_bak.
  2. Install the updated Blockchain App Builder.
  3. Create a new chaincode project with the same name as your existing chaincode project (TestCC). If using Go, ensure you're using the same root folder.
  4. Copy the src folder from the TestCC_bak backup, and use it to replace the src folder in the newly created project.