fablo icon indicating copy to clipboard operation
fablo copied to clipboard

Fabric environment integration with IBM Blockchain Platform VS Code extension through node JSON file creation

Open lcvalves opened this issue 4 years ago • 1 comments

I'm using IBM Blockchain Platform's Visual Studio Code extension as a dev-friendly UI to develop & test chaincode. To deploy said chaincode, I can only do it to a local Fabric environment with a local network made from scratch or a Microfab environment (which is what I mostly use).

However, there is a 3rd option and that is to add a third-party Fabric network by providing its JSON node files (see image below).

Code_aZrmNqV1ix

By node JSON files, I'm guessing that IBM is refering to the MSP defintion of each node in the network as mentioned here.

Since we already get that node definition data on fablo-target's output directory, what I'm suggesting with this issue thread is an automatic export into a JSON file for each node, compliant with IBM's schema to easily integrate it on the extension so we could run Fablo underneath as the supporting network.

This repo has been a great tool to work with and I'd love to use it seamlessly with another great extension for chaincode development.

EDIT: typos

lcvalves avatar Jan 18 '22 14:01 lcvalves

That's a great idea @lcvalves !
To be honest we never thought about it, but definitely will add it to our plans.

Hejwo avatar Jan 18 '22 15:01 Hejwo