We are developing a blockchain base product for our own digital currency.We need a currency and want to allow user to create account from UI and send/receive amount between wallet.
Currently in this system multichain is used as a blockchain network. To communicate with this network we used a nodejs wrapper and front end app in angularjs. As multichain network is supporting peer to peer network we setup locally a Multichain network on our two systems also setup nodejs on both systems separately on our local machines.
There are two different ways in our mind:
1. Use a regular database to manage users under one server and that server will responsible for communication with multiple or single node of blockchain network for wallet management and transactions.but it becomes centralized we want decentralized.
2. Other way is every user has its own blockchain network node on his local machine and desktop base app for wallet management. we do not use regular database for it.
here are some question for this architecture...
How users data can be store for the system in better way on blockchain ?
How mobile or web users can use our product ?
How we can improve security on this architecture ?