Hello
I am creating a dapp on a social network, and I have the following doubts
1. Normally in a normal app (centralized social network) the user data (name, surname, phone, email) is stored in a SQL database, in a dapp the data should be stored in the blockchain?

2. Should I make this type of data to be stored in a traditional SQL database and that the nodes that contain my smart contract insert the data in it?

what is the most recommended?

May 11, 2022, 12:17 AM
about 1 no, terrible choice, take a look at GDPR
May 11, 2022, 12:25 AM
ok, I understand what you mean because it is dangerous to store the data in the blockchain
May 11, 2022, 12:26 AM
every kind of confidential data shouldn't reside on blockchain cause it would make it impossible to exercise the right to be forgotten
May 11, 2022, 12:27 AM
perfect, it's clear to me
May 11, 2022, 12:27 AM
👍🏻
May 11, 2022, 12:28 AM
How do you recommend me to save this data?
May 11, 2022, 12:28 AM
traditional db/cloud
May 11, 2022, 12:29 AM
ok
Can this information be saved from smart contracts to a sql database?
that is, from the smart contract send data to save in a sql database?
May 11, 2022, 12:34 AM
Confidential information should never touch blockchain
May 11, 2022, 12:40 AM
Yes, I understand that, but I asked you something else
I can't send the information from the front-end to the smart contract and from the smart contract forward the information to a sql database?
May 11, 2022, 12:48 AM
No, if the information passes through a smart contract then you are leaving traces on the blockchain
On the sql database you'd be just storing a replica of what is in blockchain
May 11, 2022, 12:51 AM
OK thank you so much
May 11, 2022, 12:51 AM
Yw
May 11, 2022, 12:52 AM
ok then I save the personal information from a centralized server in a traditional sql database and the only thing that is saved in the blockchain, would be the transactions associated with each address of each user, right?
May 11, 2022, 1:13 AM

© 2024 Draquery.com All rights reserved.