Questions tagged [hyperledger-fabric-sdk-js]

Use this tag for questions based on how to interact with ledger using NodeJS SDK, please don't use this for questions based on Fabric Infrastructure & chaincode related questions.

Hyperledger Fabric is the operating system of an enterprise-strength permissioned blockchain network. For a high-level overview of the fabric, visit http://hyperledger-fabric.readthedocs.io/en/latest/.

Applications can be developed to interact with the blockchain network on behalf of the users. APIs are available to:

  • create channels
  • ask peer nodes to join the channel
  • install chaincodes in peers
  • instantiate chaincodes in a channel
  • invoke transactions by calling the chaincode
  • query the ledger for transactions or blocks

The Hyperledger Fabric SDK for Node.js is designed in an Object-Oriented programming style. Its modular construction enables application developers to plug in alternative implementations of key functions such as crypto suites, the state persistence store, and logging utility. https://fabric-sdk-node.github.io/release-1.4/index.html

142 questions
0
votes
1 answer

can we setup one CA for multiple organization through fabric?

I have setup Multiple Organization on different machines. Machine 1 -> peer0.org1.example.com -> ca.org1.example.com -> orderer.example.com Machine 2 -> peer0.org2.example.com -> peer0.org3.example.com I have created a channel which is shared…
0
votes
1 answer

Connecting from Node backend to Fabric results in Hostname/IP doesn't match certificate

When I try to connect to a fabric i get the error: Hostname/IP doesn't match certificate's altnames: "$IPNAMEHERE is not in the cert's list:" And I cant seem to figure it out. I tried changing the name of the ca on init like so: fabric-ca-init -b…
0
votes
1 answer

Fabric node sdk use service discovery function

I tried to use fabric node sdk to call for service discovery function of Fabric v1.2, but I got these errors: 2018-12-12 11:51:26.413 UTC [endorser] callChaincode -> INFO 05d [mychannel][16a59ced] Entry chaincode: name:"mycc" 2018-12-12…
0
votes
1 answer

Connecting to Hyperledger composer network using Fabric node SDK

I have created a Business Network Archive (.bna) using composer and deployed it on local fabric network, now 1.I want to connect to it using Fabric node SDK and perform the operations on it using SDK. 2.do I need to run composer-rest-server to…
0
votes
1 answer

Hyperledger Fabric - how to change user attributes using nodejs sdk

I need an ability for admin to change user attributes. My first attempt was try to reenroll user. It does not work, see below. If I revoke yser certificate, and trying to make new one , system says me that user already exists. I saw reenroll…
-1
votes
1 answer

how to use nodesdk install chaincode on fabric v2.2

I hope to create channels and install chaincodes in fabric v2.2. But node sdk no longer provides these functions in version 2.2. How can I achieve these functions using nodejs? I found some examples of calling the system chaincode lscc, qscc to get…
npcxh
  • 19
  • 2
-1
votes
1 answer

How to create hyperledger fabric singleton gateway object using node js sdk?

We have a existing client application is made of fabric node js sdk to interact with blockchain network. It creates the gateway object and disconnect for every transaction. Can we reuse the gateway object somehow so that burden of creating and…
1 2 3
9
10