0

I am a new in bitcoin technologies. I want to setup a full node on cloud server. Also I need to use RPC of this server for front end app.That is creating bitcoin wallet and its further operations(such as send and receive). My question is

  1. Is suitable to use own full node cloud server for front end wallet app(Like PHP web app) ...?

Thanks in advance.

1 Answer 1

0

Yes, but a few important points.

  • Don't forget to enable txindex, it will allow you to query your node for all transactions.
  • Don't use the RPC API on the front end. RPC is needed to make transactions, but it might allow others to withdraw your coins. Keep the RPC in the back end.
  • The HTTP REST API is suitable for front end use.
  • Don't keep your funds on a client on a cloud server unless you trust them.
  • The front end shouldn't contact the node to make transactions or handle the private keys, instead, you should use BitcoinJS or Bitcore-lib to create transactions on the front end.
8
  • Hey...Thanks for answering. I expect more helps from you. May I ask an another question please. How to create multiple wallet for multiple users on frond end (I already know to creating multiple account address)....? Feb 21, 2019 at 4:28
  • Actually multiple address = = Multiple wallet....??? Feb 21, 2019 at 4:46
  • Hey... Please respond.. Feb 22, 2019 at 6:29
  • On the front end? You can hash the username and password to derive the seed, so don't store them (either in the front end or in the back end). Then you can generate addresses/private keys by applying BIP32 transformations, which should be the wallet and should be unique to each user. @salmanfaris
    – MCCCS
    Feb 22, 2019 at 12:33
  • Thanks for responding @MCCCS .I understand something. But not everything. Actually what is BIP32 transaction. And how generate unique address for each users. I thing that generate address for each users by using RPC call getnewaddress .Is it correct..? Feb 23, 2019 at 2:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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