Multichain - Web application

+1 vote
Hi,

 First of all, is there a possible to create a web application on top of MultiChain. If yes,

can do without storing any data on local DB(say user id and user address mapping in local DB), can handle user transactions on web application?

If it's a web application, we can't ask each user to connect  to chain through command prompt. Is there any alternate.

 Thanks.

Regards,

Shiva.P
asked Jan 8, 2018 by shivap17

1 Answer

0 votes
Yes, you can build anything you want on MultiChain, by using its JSON-RPC API interface. Take a look for example at the MultiChain Web Demo: https://github.com/MultiChain/multichain-web-demo

You can also use the chain to store any kind of data, including a credentials list, so there's no need for a separate database if you're happy using the blockchain for it.
answered Jan 8, 2018 by MultiChain
Hi,

If am using chain to store the credentials, how can I edit any items? say someone want to change the password and how it'll be secure, since anyone from the chain can see the details.

 Am I missing anything?

Regards,
Shiva.P
If you want to store passwords on the chain, you should store them after hashing, with a random salt for each password to prevent pre-calculated dictionary attacks. But even so this is really not a good idea, since someone can do exhaustive testing of passwords until they find something that matches the hash, and you don't have the usual protection of them having to do this against some server, which both slows them down and enables them to be blocked.
...