hyperledger

What are the functional differences between Fabric Javascript SDK and Hyperledger Composer?

梦想与她 提交于 2019-12-04 05:56:42
问题 Other than the fact that Composer makes deployment and testing of prototype business networks easier and the fact that we don't have to know golang to develop chaincode, what is the difference in the functionalities that these interfaces provide that may lead one to choose one over the other? 回答1: This article can probably provide you with the answers you need: https://blog.selman.org/2017/07/08/getting-started-with-blockchain-development/ Hyperledger Composer is both an application

Can we create non-fungible tokens with Hyperledger?

≯℡__Kan透↙ 提交于 2019-12-04 02:01:47
问题 According to ERC-721 ERC-721 is a free, open standard that describes how to build non-fungible or unique tokens on the Ethereum blockchain. While most tokens are fungible (every token is the same as every other token), ERC-721 tokens are all unique. Is there a provision on a permissioned blockchain like hyperledger for non-fungile tokens ? 回答1: Why would you do this, since Hyperledger is a permissioned blockchain and Ethereum a public one? Anyways, if you mean to create an asset with a unique

Issue while using fabric client java sdk (since there is no Rest API support) in local development environment for Hyperledher Fabric V1.0

核能气质少年 提交于 2019-12-03 23:09:36
问题 I have done the following as per the suggestion that I have got from my previous post to communicate with locally running Hyperledger Fabric V1.0 network from java application. But I am getting the exceptions given below and unable to sort it out why it is happening. public class Test { final HFClient client = HFClient.createNewInstance(); Channel channel; TransactionProposalRequest proposalRequest; void setupCryptoMaterialsForClient() throws CryptoException, InvalidArgumentException{ // Set

How to deploy a hyperledger-sawtooth network with multiple validators?

こ雲淡風輕ζ 提交于 2019-12-03 22:19:58
I'm trying to configure a sawtooth network with at least 2 Validators and some Transaction Processors. I'm using Ubuntu 18.04 so only possible solution is using docker. I searched entire day for a working example and still no luck. There is an example on the official website here but not working. The docker images versions is 1.1 which is weird, because there is no such version on docker hub. Furthermore it requires an image (hyperledger/sawtooth-poet-engine) which does not exist anywhere. I know that the main validator should generate the keys and genesis block and the other validator[s]

How are new participants authenticated into a channel in hyperledger fabric

╄→尐↘猪︶ㄣ 提交于 2019-12-03 21:42:13
I came across Hyperledger fabric client which has methods/functions to authenticate new members into blockchain network. But I am not sure how I can authenticate new users into a channel in blockchain network. Can i use channel configuration(configtx) in hyperledger fabric to invite/register new participants into a channel? Link to channel configuration : http://hyperledger-fabric.readthedocs.io/en/latest/configtx.html#channel-creation you can use fabric-ca. Fabric-ca provides several apis for user management. You may register, revoke, enroll, reenroll users by fabric-ca. And the documents for

Unable to connect peer to channel in hyperledger fabric

Deadly 提交于 2019-12-03 21:06:33
I am following below link to setup my first network on Hyperledger Fabric http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html Whatever steps are mentioned in this setup i am pretty much able to do all. The issue is than when I try to join other peers to the channel, using below instruction You can make other peers join the channel as necessary by making appropriate changes in the four environment variables. I export following variables export CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1

What is a usecase for the fabric-kafka and fabric-order containers in same network

心不动则不痛 提交于 2019-12-03 20:49:18
I can see there are 3 types of orderer. When I deploy a fabric-network up to 2 types are used. https://hub.docker.com/r/hyperledger/fabric-orderer/ https://hub.docker.com/r/hyperledger/fabric-kafka/ https://hub.docker.com/r/hyperledger/fabric-ca-orderer/ The order documentation describes usage https://github.com/hyperledger/fabric/blob/master/orderer/README.md but I do not expect to see fabric-orderer and fabric-kafka containers in a fabric network. What am I misunderstanding here? The architecture for Hyperledger Fabric allows for multiple types of ordering services. At the heart of the

How can the transaction certificates in Hyperledger be used to enforce privacy?

邮差的信 提交于 2019-12-03 20:34:37
I am creating a blockchain app in Hyperledger that performs a bidding process for a manufacturing company. The bidding process involves 4 suppliers (Supplier A to Supplier D). The one with the lowest bid wins. I am able to create the chaincode for this. However, since it is a blockchain, the suppliers can see each other's bid (e.g., by simply looking at the contents of the blocks). In addition, the non-winning suppliers will know who actually won the bidding process. I want to enforce the following privacy rules in the blockchain: a. the bid of a particular supplier should be viewable only by

How to avoid the Fabric CA beeing a single point of failure?

柔情痞子 提交于 2019-12-03 20:15:39
问题 if I understood correctly, every peer in a fabric blockchain network (somehow interconnected through gossip) will only accept incoming connections from other peers if they use a HTTPS connection with a public key signed by the Fabric CA. Is that correct? So in my understanding, the Root-CA becomes the single point of failure because one could modify it and from then on modified Root-CA certificates will propagate to the nodes and eventually no node can connect to each other anymore. Is this

ERROR: manifest for hyperledger/fabric-orderer:latest not found

谁说我不能喝 提交于 2019-12-03 17:01:25
问题 I am trying to start up network using following command ./network_setup.sh up channel After running this command I am receiving this errro ERROR: manifest for hyperledger/fabric-orderer:latest not found How I can remove this error?please help me 回答1: This error information reveals that currently there is NO existing 'latest' tag in most 'fabric-*' images on the public docker Hub. We have to specify which image version we want to pull, either in docker command or docker-compose file You can