Starting the contract development
The steps of setting up the VS Code IDE development environment and cloning the source code of the scenario have been explained in Chapter 4, Setting the Stage with a Business Scenario. We will now learn how to open, run, and debug the code of the trade
contract implemented in TypeScript, and then proceed to detailed contract implementation.
In the following exercises, we will use the IBM Blockchain Platform extension of VS Code. At the time of writing, the extension supporting Fabric v2.x is still in beta version. If at the time of practicing these exercises a release supporting v2.x is not yet available, you can use the latest beta version available at the following page:
https://github.com/IBM-Blockchain/blockchain-VSCode-extension/releases
Chapter 9, Network Operation and Distributed Application Building, provides details on setting up the IBM Blockchain Platform extension beta version.