3

At the moment I am trying to set up a webservice encapsulating ethereum behind an easy webinterface and do stuff like:

  • create, manage accounts
  • deploy contract
  • ...

Mining is not neccessary.

I don't know if it is secure to use one node for all users / accounts. That would mean the node knows all accounts and all accounts are unlocked all the time.

But the other way around (setting up a node fore every user of the service) would be a big resource problem. Every node downloading the whole blockchain locally...

Is it possible at all to use a single node in a multi-ethereum-user scenario? I am talking about 1k users per node.

  • Can you edit your question to be a little more specific about (1) What you are attempting to do and (2) where you are stuck and (3) anything you have tried thus far. At this point, potential answerers don't really have a solid question or place to start. Thank you! – tayvano Mar 31 '16 at 0:21
3

Yes I believe it's possible. In your case, one approach would be to have users manage their account client side only. They could sign transactions on the client side and send to the node. That way you do not need to manage accounts directly on the node. Here's a similar question/answer that may be helpful:

Can a user send a transaction using my website frontend with an account which is not in my node?

Your Answer

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

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