1

I am creating a dapp which has to be a login authentication system and some datas has to be store in database. So I really cant' store all the datas in Solidity's variable or class object, it has to be a backend connection setup with the dataase like sql or nosql. If I am using some kind of database like mysql or mongodb etc..then doesn't this neglect the point of decentralised apps? If so, what's the solution? Any example or article would help good. Thanks a lot

1

You might try out a project like BigchainDB or Filecoin

For decentralized authentication take a look at uPort and Blockstack, Blockstack also includes decentralized storage (Gaia)

1

I am creating a dapp which has to be a login authentication system and some datas has to be store in database.

If this is the case, you are not necessarily creating a Dapp (decentralized application) because you are required to have a centralized server.

A true decentralized application can operate without the login system or any authority over the smart contract.

In your scenario, you can use a users public address as their login information, as users have access to the private key associated with their public key.

  • The authentication system was just an example . My question was about storing data. – Aniketh Saha Nov 12 '18 at 15:05
  • For decentralized authentication take a look at uPort and Blockstack – Vinnie James Nov 12 '18 at 15:09

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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