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,500 points

1 answer to this question.

+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
• 17,100 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 17, 2018 in Blockchain by Johnathon
• 9,090 points
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
• 26,740 points
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
+1 vote
0 answers

Error 500 during instantiation of chaincode for commercial-paper example.

I am following this tutorial on setting ...READ MORE

Jan 9, 2020 in Blockchain by Aditya
• 250 points

reshown Jan 9, 2020 by Kalgi 1,632 views
+1 vote
1 answer
0 votes
1 answer
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP