Bitcoin Forum
November 08, 2024, 07:53:43 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HD Local Wallet Software Recommendations  (Read 566 times)
marcgodard (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 17, 2017, 12:56:20 PM
 #1

Hi Guys,

I am working on a site that needs to collect bitcoin.

I don't get private keys, just xPubs.

It is a PHP backend, but I know node and anything else.

I want to be able to create addresses using the xPubs and then monitor those address for transactions. I don't need the monitoring to be live alerts. I can do checks on them at midnight or say when a user logs in to check their progress.

I need to know the number of blocks confirmed and the amounts of each transactions.

I have looked at many options, but none of the documents for the software mentions creating addresses without private keys. I am a little new to all this.

If someone could point me in the right direction, it would be much appreciated.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
March 17, 2017, 01:01:26 PM
 #2

You can use an Electrum wallet for this. Install Electrum on the server and put a watch-only copy of the wallet onto that install. Then you can interact with it using the JSON-RPC interface. See http://docs.electrum.org/en/latest/merchant.html

marcgodard (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 17, 2017, 01:05:35 PM
 #3

You can use an Electrum wallet for this. Install Electrum on the server and put a watch-only copy of the wallet onto that install. Then you can interact with it using the JSON-RPC interface. See http://docs.electrum.org/en/latest/merchant.html

Thanks, will check it out. But looking at it so far, it looks like this wallet interacts with web and is open on a port even if used behind the scene with PHP. I will look deeper, I assume there is a way to secure that.
marcgodard (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 17, 2017, 01:18:07 PM
 #4

Adding to my request is. I only have xPubx given to me. I need to be able to use those to create addresses. I noticed many wallets (like copay) you need to create the watch addresses using the private keys.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
March 17, 2017, 01:20:53 PM
 #5

Thanks, will check it out. But looking at it so far, it looks like this wallet interacts with web and is open on a port even if used behind the scene with PHP. I will look deeper, I assume there is a way to secure that.
Well it still must be able to connect to the internet in order to get transaction details. Electrum connects to Electrum servers which do the address lookups and provide the client with the necessary transaction information so that you know how much Bitcoin you have and can then send the Bitcoin.

Adding to my request is. I only have xPubx given to me. I need to be able to use those to create addresses. I noticed many wallets (like copay) you need to create the watch addresses using the private keys.
Electrum allows you to import a watch-only wallet using the xpub.

marcgodard (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 17, 2017, 01:50:59 PM
 #6

Thanks, will check it out. But looking at it so far, it looks like this wallet interacts with web and is open on a port even if used behind the scene with PHP. I will look deeper, I assume there is a way to secure that.
Well it still must be able to connect to the internet in order to get transaction details. Electrum connects to Electrum servers which do the address lookups and provide the client with the necessary transaction information so that you know how much Bitcoin you have and can then send the Bitcoin.

It is fine with connecting to the internet, I can just block that port from incoming connections, it is fine.

Adding to my request is. I only have xPubx given to me. I need to be able to use those to create addresses. I noticed many wallets (like copay) you need to create the watch addresses using the private keys.
Electrum allows you to import a watch-only wallet using the xpub.

Do you have a link to something about that (I did search but didn't find it)? All the other wallet software I have been looking at seems to only be able to "import" a wallet created by it's software. I do not know what software is going to be used for the xPubs and will not be able to import it as I only have an xPub or several of them and not a wallet file.
RhodaGila
Hero Member
*****
Offline Offline

Activity: 615
Merit: 500



View Profile
March 17, 2017, 01:59:05 PM
 #7

You can use an Electrum wallet for this. Install Electrum on the server and put a watch-only copy of the wallet onto that install. Then you can interact with it using the JSON-RPC interface. See http://docs.electrum.org/en/latest/merchant.html
Yes, I have for years been using electrum and has been used there is no problem as well as easy to use and simple. Besides, there are several options installation system that we can use.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
March 17, 2017, 02:09:21 PM
 #8

It is fine with connecting to the internet, I can just block that port from incoming connections, it is fine.
There's only one outgoing connection. Electrum doesn't take incoming connections.

Do you have a link to something about that (I did search but didn't find it)? All the other wallet software I have been looking at seems to only be able to "import" a wallet created by it's software. I do not know what software is going to be used for the xPubs and will not be able to import it as I only have an xPub or several of them and not a wallet file.
You can test it yourself. Make a new wallet, go to File > New/Restore and choose the option to make a standard wallet. Then click Next and choose the option to "Use public or private keys". Then click Next and the next window will have a box where you can enter the xpub to make a watch-only wallet.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!