quorum icon indicating copy to clipboard operation
quorum copied to clipboard

Use case to 5nodesRTGS example

Open DavidBelinchon opened this issue 8 years ago • 4 comments

Hello,

I have a question,

I've been check the 5 nodes examples, that have 3 banks and 1 regulator, between banks just can see her own private transactions an the regulator can see the everything,

that's perfect (really good job), but now I want add the client in the party, the client want's do transactions between other clients, but they want the transaction is just visible between the sender, reciever and the bank, more or less the same that before,

and the problem is the client don't want a node just an account to make transactions, this is possible with quorum in some way? or just not is a use case?

Many thanks!

DavidBelinchon avatar Jan 25 '18 10:01 DavidBelinchon

Since the Merkle trie is node level, our notion of privacy is also node level. The node in this case could be the bank (which has the combined private Merkle trie). It could have an app in front of it that accepts signed transactions from clients (without allowing those clients to access the node), and allows a user to access only their transaction history. All the clients have is their account (private) key.

Perhaps you could explain in a little more detail what kind of assurance/information you want to expose to the end users?

patrickmn avatar Jan 25 '18 16:01 patrickmn

yes, sure I can explain you with more detail the poc what I want to do

the purpose of the poc is make a banking process, where the client trust in the bank and the security that provide

in this poc we have 3 actors, but one of them don't want be a node but want's her transfer and personal information hidden to the rest of the clients

The of capacities each actor are:

the regulator:

  • can see everything (all transactions and the list of users into banks and her balance) of all banks

the banks:

  • can see just the transactions made by its users and its balance.
  • into this banK I have employees who all of them can see this information and also make private transactions between other banks in the quorum
  • the transactions maked by the employee is visible to all the employees into the bank

the client:

  • just can see his transactions (in/out) and the balance and some personal information like mail,name...
  • Also the client are able to make transaction with other client just knowing the account address

I think its posible to apply your idea making just the transactions history visible for the user who done the transactions or who recieve that transaction.

But I have a question about how show the user information using the addres and the private key account, does the bank need store the key to compare (like a login) or there are better way to do this.

Thanks for the response!

DavidBelinchon avatar Jan 26 '18 11:01 DavidBelinchon

HI @DavidBelinchon . As the bank can see all the information of its clients, I think it is simple to adjust 5nodesRTGS to include client accounts. Privacy would still remain in the node level, onde node per bank, however, as you stated, the bank clients would not have full access to the nodes, clients would only send transactions to their bank nodes and request their account information or value movement. In my opinion, you would have to create a client structure in the bank contract to store their balances, ethereum account and other personal information and the supporting functions. Be aware that, as Patrick stated, privacy between clients would not be provided by Quorum, but by a filter between the clients app and bank Quorum node. This is the same level of privacy we have on real banks: they store all clients information in an internal database, however one client can only access his own information using the bank app.

rsarres avatar Apr 10 '18 19:04 rsarres

Privacy smart contract extension allows adding new participants to a private smart contract and multitenancy avoids the client to run a dedicated node.

ricardolyn avatar Mar 11 '21 14:03 ricardolyn