Questions tagged [ibp-vscode-extension]

For any questions regarding features in the IBM Blockchain Platform Visual Studio Code extension. Alternatively, use the [ibm-blockchain] tag for IBM Blockchain Platform runtime questions, or the [hyperledger-fabric] tag for questions about developing smart contracts, client applications, etc.

The IBM Blockchain Platform extension helps developers to create, test and debug smart contracts, connect to Hyperledger Fabric environments, and build applications that transact on your blockchain network.

Links

Related tags

33 questions
0
votes
1 answer

8 RESOURCE_EXHAUSTED: grpc: received message larger than max (120126016 vs. 104857600)

I am using IBM Blockchain VSCode extension for testing hyperlerdger fabric node js chaincode. But I faced an issue when I tried to install a chaincode on a peer. Error Failed to install on peer Org1Peer1 with reason: 8 RESOURCE_EXHAUSTED: grpc:…
0
votes
0 answers

Unable to instantiate the smart contract

I am following the tutorial to develop a Hyperledger Fabric smart contract and application using IBM Blockchain Platform. I am in step A3.5 In the Fabric Environments view, click "Smart Contracts" -> "Instantiated" -> "+ Instantiate". When I do, I…
0
votes
1 answer

How to apply a pagination on IBM vs code chaincode for fabric?

I'm using an IBM-Blockchain platform VS code extension for one of my POC development. I want pagination on the Query function in fabric. Here is my demo example: let queryString = { "selector": { "isLink": isLink, "f_id":f_id …
0
votes
0 answers

Error displaying Fabric Wallets: EACCES: permission denied, open '${Private key path}'

While working on IBM Blockchain Platform vs code extension, after connecting to default local fabric network, some of the users of wallets don't load properly. Their Attributes are "none" and extension gives the error at the title. Two of them are…
0
votes
2 answers

Error in rebuild native npm-module of IBM vs code extesion for fabric

I'm working on the Visual Studio Code extension IBM Blockchain platform for hyperledger fabric. Already I had installed an IBM vs code extension. But when it goes in to rebuild a native node module. It's thrown an error which is Failed to activate…
0
votes
1 answer

How to create a custom network in hyperledger fabric with ansible?

I'm trying to create a demo network with 2 organization with 1 peer in each using vs code and ibm blockchain platform,I tried creating json files but things got complicated with the wallet.so with the new fabric update things should be easier with…
0
votes
0 answers

How to import more nodes to Local Fabric?

Now I can start the Local Fabric env, but in doc I see import more nodes items You can import more nodes to an existing environment by connecting to the environment, expand nodes and then click on + Import nodes. I cant find the "+" button. so…
yuanyh997
  • 11
  • 1
0
votes
0 answers

Error querying channels: identity 'admin' isn't enrolled, or loaded

Installed VSCode installed IBM BLOCKCHAIN PLATFORM EXTENSION While starting the local fabric getting error [10/31/2019 2:41:30 PM] [INFO] rem Join peer0.org1.example.com to the channel. [10/31/2019 2:41:30 PM] [INFO] docker exec -e …
0
votes
3 answers

Failed to start Local Fabric

VSCode Extension IBM Blockchain platfrom , While running the fabric getting this error in Windows: Error: No such container: fabricvscodelocalfabric_peer0.org1.example.com [10/23/2019 3:37:43 PM] [INFO] Error: No such container: …
0
votes
1 answer

IBM Hyperledger Fabric : can't resolve reference Object from id MyObject#

I'm running a sample smartcontract in typescript with the VSCodeExtention IBM Blockchain Platform. I just follow this step with the extention : Create new project (in typescript) Package this project Install the smart contract Instantiate the…
0
votes
0 answers

Can't start the local fabric in VSC environment when trying to deploy smart contract

When using the IBM Blockchain Extension for VS Code; I wrote a sample smart contract and packaged it. But when I try to start the local fabric environment, I get an error saying: Failed to start Local Fabric: Failed to execute command "cmd" with…
0
votes
0 answers

Commercial Paper Asset History report won't display from VSCode HLF plugin

Following the excellent tutorial here: https://developer.ibm.com/tutorials/queries-commercial-paper-smart-contract-ibm-blockchain-vscode-extension/ When I get to Step 7 the commercial paper asset history report won't display when I invoke index.html…
CT99
  • 33
  • 5
0
votes
1 answer

Connecting to Local version of Hyperledger Fabric through VSCode extension

Following the tutorial here and trying to run a local version of Commercial Paper using the basic-network running on my local system: https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm-blockchain-platform Running against VSC…
CT99
  • 33
  • 5
0
votes
1 answer

IBM Blockchain Platform VS Code GOPATH Error

I am getting this error when i am packaging my smart contract project in VS code IBM extendion The Go smart contract is not a subdirectory of the path specified by the environment variable GOPATH. Please correct the environment variable GOPATH. This…
0
votes
1 answer

How to manage multiple assets in a smart contract?

I am creating a Javascript smart contract using the ibp extension. ibp prompts me to enter the name of the asset that will be managed by the smart contract and creates functions for CRUD operation on that asset. I need to manage several assets in my…