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:
- Create a backup of your existing chaincode project folder. For example, if your chaincode project was in
TestCC
, copy the contents toTestCC_bak
. - Install the updated Blockchain App Builder.
- 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. - Copy the
src
folder from theTestCC_bak
backup, and use it to replace thesrc
folder in the newly created project.