As of the 29th August 2019, the Hyperledger Composer project is in deprecated status. None of the maintainers are actively developing new features. None of the maintainers are actively providing support via GitHub issues. However, if you wish to submit code changes via pull requests, these will be merged.
It is highly recommended that you use Hyperledger Fabric v1.4+ instead, which features significant improvements to the developer experience, including a new programming model.
More information available here: What's new in Hyperledger Fabric v1.4
Validate Composer model files that define the structure of your business network in terms of Assets, Participants and Transactions.
The extension parses Composer model (.cto) files and reports any validation errors. It is currently in beta; please raise any problems you find as an issue.
Generate the installable VSIX file:
git clone https://github.com/hyperledger/composer-vscode-plugin.git
cd composer-vscode-plugin/server
npm install
npm run compile:server
cd ../client
npm install
npm run package:vsix
- Launch VSCode
- View > Extensions
- Press the ... and select "Install from VSIX"
- Browse to the VSIX file
- Install and restart VSCode
- Open a .cto file
Developers no longer need a manual build, once you have pulled a request from your private Github repository. The build will be automatically performed by Travis. A successful build will create an installable VSIX file on the build machine. The public release version number is defined in the Client package.json file.
Below are steps for publishing a release.
- Go to https://github.com/hyperledger/composer-vscode-plugin
- Click Releases tab
- Click Draft a new release on the right
- Type a Tag version in the Tag version field. e.g. v0.5.7.1
- Type a Release title in the Release title field e.g v0.5.7.1
- Provide a short description of this release under the Write tab
- Uncheck the box for This is a pre-release at the end of this page
- Click Publish release button to publish the VSIX file to the VSCode Marketplace
- Go to the VSCode Marketplace: https://marketplace.visualstudio.com/
- Type Composer in the search field and hit return key or search button
- This will bring you to https://marketplace.visualstudio.com/search?term=Composer&target=VSCode&category=All%20categories&sortBy=Relevance
- Open Visual Studio Code in your desktop
- Open the Extensions by View-->Extensions or Ctrl(cmd)+Shift+x
- Search for Composer
- The new published Hyperledger Composer 0.7.1 is showing on the list
- Click Install button to install it
- Update button will be shown if you have already installed the same plugin before.
Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.