Hyperledger - How can I use transaction certificates to enforce privacy?

+1 vote

I am creating an app that performs a bidding process for antique furniture company.

My requirements are that suppliers shouldn't be allowed to see other suppliers' bid.

Only the manufacturer and the bidding supplier should be able to see the transaction in a the block, so only the both of them know who won the bid.

I have looked this up, and I think the transaction certificates will address my privacy concern.

I am able to request for multiple transaction certificates using REST API. However, I don't know how to utilize them.

Is it meant to be used outside chaincode or as a parameter to a chaincode function.

I am currently using v0.6 of the Hyperledger fabric for my chaincode. For my front end, I'm using Node.JS HFC SDK v0.6.5.

Apr 17, 2018 in Blockchain by nsv999
• 5,030 points
80 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+1 vote
Best answer

The transaction certificates don't actually address privacy matters. rather, they authenticate that the transaction comes from a valid node.

These certificates invoke transaction in the chaincode.

I suggest you to start using the v1.0 of the Hyperledger Fabric coz v0.6  can't scale very well and can't support true private transactions and confidential contracts.

The v1.0 allows you to isolate Blockchain  inside your network. That's possible through the channels, that when defined,let you define who are the members of it, so, only those peers could send transactions through that channel. Therefore, only members of the channel could see your transactions.

So, for your use case, you should create four channels, each one for each supplier, and the manufacturing company should be a member of all channels.

answered Apr 17, 2018 by Perry
• 16,450 points

selected Aug 7, 2018 by Omkar

Related Questions In Blockchain

0 votes
1 answer

How do I use hyperledger fabric blockchain to build my own application?

To use fabric I would recommend you ...READ MORE

answered May 16, 2018 in Blockchain by Johnathon
• 9,050 points
43 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How i can use nodejs to watch transactions in bitcoin network?

you can use  const Socket = require('blockchain.info/Socket'); const mySocket ...READ MORE

answered Jul 9, 2018 in Blockchain by digger
• 27,620 points
26 views
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.