I am making a dapp and need a suggestion for below: I have build smart contracts and deployed on Ropsen. I have written web3 Methods to interact with smart contracts with the help of Infura. I have following doubts if someone can clear my doubts I will be really great full.

  1. From my web application to do any transaction, I need the private key to sign transaction. I cant get this from user every time. So where should I store the Private key of Admin/Users inside my app. Should it be saved inside the config of web3 or what's the safest way to save it.
  2. Should I install web3 on the same server where my website is configured. Or I should configured web3 and web app on different servers to make them more secure.

Regards AKM

Your Answer

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

Browse other questions tagged or ask your own question.