hyperledger

Azure Hyperledger Fabric Single Member Blockchain setup

落花浮王杯 提交于 2019-12-05 12:38:20
I'm starting to use Azure to host a multi node Hyperledger network. I've previously been running on a local environment, but would like to use Azure. I've deployed the 'Hyperledger Fabric Single Member Blockchain' template, which creates five VM's (one each for a CA, orderer and three peers). My local environment uses a CLI, but this doesn't seem to be in the Azure template. How do i interact with the blockchain network without the CLI? Are there any tuturials for how to use the deployed environment after its been setup? I've SSH'd to all of the three VM's that are hosting the peers, there

Error when reading core config file: Unsupported Config Type

霸气de小男生 提交于 2019-12-05 07:58:23
I am trying to pass in the channel configuration transaction artifact to the order-er using the command: peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem But I get an error: 2018-03-17 20:55:21.380 GMT [main] main -> ERRO 001 Fatal error when initializing core config : error when reading core config file: Unsupported Config Type "" What does this error mean? and how can

User registration & login in Hyperledger fabric

荒凉一梦 提交于 2019-12-05 06:35:26
问题 I am working on a project where I need the functionality of user registration and user login. I need some suggestion. What would be the better way of achieving this task? A.) Old school email & password OR B.) By using public & private keys? What I understand from option B is that we need to enroll a user from CA from Fabric-SDK . Once enrolment of user is done, we can generate a unique password-phrase like the same is happening in Meta-Mask . We can store that user info along with its

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

青春壹個敷衍的年華 提交于 2019-12-05 05:21:05
问题 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

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

这一生的挚爱 提交于 2019-12-05 04:24:57
问题 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? 回答1: The

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

我是研究僧i 提交于 2019-12-05 03:59:36
问题 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

measuring Hyperledger Composer performance using Hyperledger Caliper

和自甴很熟 提交于 2019-12-05 03:44:03
Is it possible to measure Hyperledger composer network performance which runs on Hyperledger fabric using Hyperledger Caliper framework? If yes can you guide me how can I change the configuration to connect Caliper to running Hyperledger composer network? If you use composer rest server to enable rest api endpoints, you can always use apache meter to test out the latency of your system. Hyperledger Caliper is a blockchain benchmark framework to measure performance of multiple blockchain solutions. I think the below links help you a lot. Hyperledger Caliper Setup Hyperledger Caliper 来源: https:/

Configure Multiple Channel in Hyperledger Fabric

泄露秘密 提交于 2019-12-05 01:34:01
问题 I am trying to make two channels with hyper ledger fabric. In one channel there will be two organizations and in another channel, there will be another two organizations. In every organization, there will be two peers. So total 8 peers in 4 organizations with two channels. Until now I have done these: In crypto-config.yaml file I have declared one orderer and four organizations. In every organization, I have declared template count: 2 and users count: 1 (can anyone please explain the meaning

Does Composer needs an already built Fabric network?

本秂侑毒 提交于 2019-12-04 22:28:25
I recently started up with composer tutorials and now I am confused if it is boot starting block chain application development or block chain network development. Do we need to create a block chain network using fabric and than integrate it with composer to create rest end points and angular application for our fabric network? can we achieve decentralizing and immutable transactions by just using composer? The answer is it is "bootstrapping" application development (Composer helps get you started, by installing a 'development" Fabric setup - although you could use just Composer playground too

Hyperledger transaction verification

寵の児 提交于 2019-12-04 22:28:11
In case of Bitcoin transaction the verification/validation involves looking at the input UTXO balance etc... But in Hyperledger the transaction (if I may) "just" carries the data (function name and data-string) for the target smart contract. Does it mean that there is no necessity of validation (apart from the syntax) of the transaction? If yes what has to checked and against what? Can anyone pls give me an example use-case? If there is no validation, then is my understanding correct that the blockchain is "just" a ledger without any verification on the transactions. If something goes wrong