Hyperledger-fabric Questions
Ad
Choose only endorsing peers when performing query transaction - Node SDK
Is there a way to invoke setendorsingpeers() when calling contract.evaluatetransaction()? is there any other way to
how to configure hyperledger node sdk with kubernetes cluster?
I am able to configure hyperledger fabric and kubernetes with cli. but now i want to configure hyperledger fabric node sdk with kubernetes. i have
Buffer to JSON requires parsing twice. Hyperledger Fabric v1.4 Node.js Chaincode
This is the chaincode (node.js), which returns the json po as buffer to the fabric middleware (node sdk) async querypo(ctx,
Get MSPID from a command line request in chaincode
I'm currently trying to evaluate the requester mspid to authorize a specific list of members being able to request a function on chaincode, but
Is it possible to use a third party CA in Hyperledger Fabrics for production phase
I am working in a company where we are using the hyperledger fabric to build our application. we have been using the fabric ca till now. now for
Fabric Node SDK - Instantiation policy violation: signature set did not satisfy policy
I have a hyperledger fabric testnet with 2 orgs, 3 peers in org1 and 2 peers in org2. the peer0 of each organization is the anchor peer.
Hyperledger Fabric NodeJS Shim - getHistoryForKey
I'm working with the nodejs fabric-shim library and i'm wondering if the
Why do I take more than 2 seconds to just do a transaction?
I have my hyperledger fabric working with the docker containers up. i have my hyperledger client, writte in node.js, using the fabric node
How to install node js for Hyperledger-fabric development environment?
I'm following the hyperledger-fabric guide to create first network example, as prerequisites it asks for nodejs 8.x versions. my pc already have
Can Hyperledger "Smart Contract" have multiple collections at the state?
I'm trying to understand the way a hyperledger state should be used. i want to develop a simple blockchain network for voting. and as far as i
Ad
Hyperledger Fabric- HistoryQueryIterator using nodejs
I am trying to create hyperledger chaincode using nodejs and fabric-shim is new to me. i am trying to fetch history of an asset using
How to save returned protobuf object in nodejs?
In my code, a function is returning a protobuf object and i want to save it in a file xyz.pb. when i am trying to save it using
Cannot invoke a function that change or retrieve function of a chaincode?
Problem: i have created a hyperledger fabric network with six organizations 2 peers for each. after running the network i
Debug my already instanitated nodejs chaincode
I have developed node.js chaincode in dev mode by following these three steps peer chaincode install -n {} -v {} -p {} -l
Upgrade Chaincode on hyperledger fabric using node sdk
I am trying to install & upgrade a chaincode using the node-sdk from hyperledger fabric. however i seem to be missing something. i am
Hyperledger Fabric 1.4: Getting an error while trying to connect ChannelEventHub.connect(true). Error: Error connect the ChannelEventhub to peer
This is a follow-up question to the one which i asked
Hyperledger Fabric 1.4 : How to test and verify registerChaincodeEvent function from the Fabric Node SDK?
I am currently emitting an event from my chaincode when adding an asset. async addrequestnode(ctx, sampleassetid, sampledata) {
Hyperledger Fabric 1.4: How to register to chaincode emitted events?
In my chaincode i am emitting an event with the following command ctx.stub.setevent('sampleevent', 'somedata');
Unexpected end of JSON input - Hyperledger Fabric while using putState()
Async changecarowner(ctx, carnumber, newowner) { const carasbytes = await ctx.stub.getstate(carnumber); if (!carasbytes
Hyperledger fabric authentication
I am developing a blockchain network using hyperledger fabric (1.4) and i wanted to know if there's any user authentication mechanism for fabric.
Looking for a End-to-End tutorial to develop a NodeJs Blockchain Appliation using Hyperledger Fabric and Composer REST SERVER
Since more than one month, i am working on creating a multi organization hyperledger fabric application. i started with composer, used
Ad
Error trying to ping. Error: 2 UNKNOWN: access denied:
I have successfully installed and started the business network using composer.i have installed and started using these commands:
sendTransaction Fails when it's invoked after the network is idle for 15-20 minutes
I have a hyperledger fabric network deployed in gcp. i use fabric node sdk to communicate to the network. when there's no activity
Token Invalidation after every transactions - Hyperledger Fabric
I am generating tokens for transactions (like transferring data). however, i want to invalidate the token after one transaction. the user should
A new asset through a transaction hyperledger composer & an other question
I am designing the business network and i am implementing the logic.js for the network on hyperledger composer bluemix, i want to create an asset
How to add roles to user's certificate and use them in chaincode?
I develop an application on hyperledger fabric with "ibm blockchain platform" extension and nodejs. i use "fabric-ca-client v1.3.0" module to
Issue in starting/upgrading composer network: Unexpected token const
I have a multi-org fabric setup which runs along with composer server. things work quite fine normally. however, infrequently i face this issue
How to use HyperLedger Composer Node Sdk?
I am working on hyper ledger composer based project. i am writing chain code using javascript. but i do not want to use automated generated rest
How to put two node.js chaincodes in the same folder
I would like to know how to have two chaincode scripts written in node.js in the same folder. i'm using the fabcar network, i basically made a
node chaincode instantiate behind proxy
I'm following the official document:
Historian for a particular participant
Is there any way in which i can get historian for a particular participant in hyperledger-composer using node api? i am developing an
Get chaincode caller ID from the function InvokeChaincode() in Hyperledger Fabric Node SDK
Let's suppose the following network architecture: a -> chaincode1 -> fabcar
Ad
Can fabric-node-sdk 1.2 be used with a Fabric 1.1 network?
I get the below error when i try to create channel on a fabric 1.1. is there a workaround to use the 1.2 sdk for a fabric 1.1 network?
how to edit JSON type easily in golang(like Node.js)
I try to convert to node.js code into golang code. this is my sample json. { "result": { "birthinfo": {
Syntax for passing two values into a query for hyperledger fabric?
I have this hyperledger composer query where two values are passed in _$option and _$trader. query
What to put inside wallet for hyperledger fabric application, if crypto material is generted using cryptogen?
Scenario: hyperledger fabric: v2.2.x what is done? *note: docker based development is
Create Channel failed in Hyperledger Fabric
When i run the e2e-2orgs demo in fabric-sdk-java-master, everything seemed ok. docker-compose.yaml:
Principal deserialization failure (the supplied identity is not valid: x509: certificate has expired or is not yet valid)
I am recreating a hyperledger fabric network. i have deleted all the docker volumes,docker images related to the chaincode, docker
Can Hyperledger Fabric Be Used To Create A Tradable Cryptocurrency?
I believe it is possible to create a cryptocurrency with hyperledger (though a bit unconventional, perhaps). as in
Can I query Hyperledger Fabric ledger or update ledger without chaincode in peer?
I have simple question about hyperledger fabric. so here is my question: i know that for committing peers (ordinary peers) it's not 100%
Ad
Blog Categories
Ad