This question is an exact duplicate of:

I want to store a number in smart contract that blockchain nodes should guess that number and send it to smart contract and then smart contract should compare it with data stored in it, and if they are the same give a reward to that node.. so smart contract should be hidden and nodes should not see that number... is there any way to do that? can quorum do it?

marked as duplicate by Lauri Peltonen, Raghav Sood, Shawn Tabrizi, Achala Dissanayake, shane Oct 3 '18 at 17:52

This question was marked as an exact duplicate of an existing question.


It is possible using quorum. Refer the following blog for more details -


Let me know if any further clarification is required.

Hope it helps.

  • thank you so much Soham. I have a question; in this case because of the regulator existence we can not claim that it's a decentralized network, and also we can not eliminate trust to third party. am i right or not? – niloofar Oct 8 '18 at 17:30
  • Welcome, glad to help you. You are right, have a look at ethereum.stackexchange.com/questions/57987/… – Soham Lawar Oct 9 '18 at 1:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.