-3

Enigma protocol is a second-layer, off-chain network that aims to solve privacy issues in blockchain.

However

In Enigma blog, there is an article (Link to Article), explaining the secret contract, including an example as follows:

"To give an example of a potential secret contract, imagine a lending dApp that can autonomously give out loans to users. To function, it operates a smart contract that tests each individual’s eligibility by scanning their wallets and prior transactions, then computing if the individual should receive a loan (and if so — how big it should be). For example, it may examine if you asked for loans in the past, and whether you paid them back on time.

With a normal smart contract, a user would need to disclose all of their transactions publicly. This means that everyone would have complete visibility to your finances. Since most users aren’t likely to opt into such a service, the only option left to the dApp provider is to keep the actual computation of eligibility centralized, in order to limit the exposure of the sensitive data to the provider itself. In this hybrid approach the dApp is no longer autonomous or truly decentralized, as it cannot operate without the aid of the provider. The dApp thus retains all of the weaknesses of centralized applications, with few of the advantages.

Instead, in a setting where secret contracts exist, a user can share their transaction history safely with the secret contract itself. The nodes can execute the contract and receive the eligibility result without being able to observe the user’s transactions. There is no longer a need to create a hybrid dApp. This dApp could be autonomous end-to-end, while guaranteeing both correctness — if a user is eligible for a loan, she will get a loan; and privacy — no one but the user can see their transaction history."

My question is about the following phrases:

(1) "With a normal smart contract, a user would need to disclose all of their transactions publicly"

(2) "Instead, in a setting where secret contracts exist, a user can share their transaction history safely with the secret contract itself. The nodes can execute the contract and receive the eligibility result without being able to observe the user’s transactions."

This example is an expanded version of Enigma paper, page 13, section 8.8. Crypto Bank, where this use case is explained as follows:

Crypto Bank:

"Run a full-service crypto bank without exposing private internal details. Users can take loans, deposit cryptocurrencies or buy investment products with the autonomous control of the blockchain, without publicly revealing their financial situation."

From my point of view, a user eventually needs to present himself by using his address (either by normal contract, or by secret contract), by which it is possible for everybody to see all his transactions history using an explorer website.

(1) How can Enigma secret contract prevent someone to see transactions history of a user?

And

(2) How can a user conceal his address and at the same time receive the loan, using secret contract?

Note_1: For (1): According to Enigma paper (page 8), workers are able to see only encrypted data and eventually public output is stored in blockchain. For (2): Of course, users can generate many addresses to make de-anonymization techniques more difficult. However, the point is that what is the role of secret contract in this particular scenario of this example? As author claims that it's secret contract which prevent someone to see the history of transactions of user who gets loan.

Note_2: Please note that according to an agreement, questions about blockchain is brought up in Bitcoin stack exchange.

  • Thank you if you mention your reason if you think this question is not helpful, when you want to down-vote. – Questioner Apr 17 at 14:19
  • This comes off as advertising / spam. – Anonymous Apr 17 at 16:03
  • @Anonymous , But I am criticizing Enigma, where I don’t believe the claim of article. I have brought up this question to challenge the claim of the article written by a member of Enigma team and being sure if I am not wrong. So feel free to criticize Enigma claim. From my point of view, the claim of Enigma example to conceal the address of user who gets loan is NOT feasible, as I mentioned in my question. Thank you for your attention. – Questioner Apr 17 at 16:13
  • @Questioner For every piece of legitimate technology out there, there are hundreds of scams with wild claims and technical mumbo-jumbo. I don't think debunking all of it is a good use of anyone's time. – Pieter Wuille Apr 17 at 17:46
  • @Pieter Wuille ,I thought maybe I am wrong and maybe the claim of article published in Enigma blog would be correct, and maybe I did not consider something in article. I therefore decided to bring it up here to be sure about Enigma functionality. – Questioner Apr 17 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.