Bitcoin Forum
May 25, 2024, 07:23:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can Armory Wallet addresses be used from bitcoind command line?  (Read 839 times)
Bungeebones (OP)
Full Member
***
Offline Offline

Activity: 178
Merit: 100



View Profile
April 10, 2014, 12:26:05 AM
 #1

I'm working on getting a payment process to receive payments to a web site into cold storage. I would like to be able to monitor deposits made to the address (or perhaps a number of them) after the user does a form submittal. After confirmations I will credit their account but the Bitcoin will be safely offline. I'm studying the jsonRPC PHP api and I think I can get all that working but I understand that for this to work the address needs to be in an account in that bitcoind server.

I would want any receiving addresses to be cold storage so that means the read only version of the wallet would need to be in that server. So can I or how do I create  a read-only wallet and get it into the server so I can monitor for deposits to those cold storage addresses? I've looked through the command list and haven't seen anything like an "import address" command.

Thanks in advance
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
April 10, 2014, 12:30:08 AM
 #2

I'm working on getting a payment process to receive payments to a web site into cold storage. I would like to be able to monitor deposits made to the address (or perhaps a number of them) after the user does a form submittal. After confirmations I will credit their account but the Bitcoin will be safely offline. I'm studying the jsonRPC PHP api and I think I can get all that working but I understand that for this to work the address needs to be in an account in that bitcoind server.

I would want any receiving addresses to be cold storage so that means the read only version of the wallet would need to be in that server. So can I or how do I create  a read-only wallet and get it into the server so I can monitor for deposits to those cold storage addresses? I've looked through the command list and haven't seen anything like an "import address" command.

Thanks in advance

If you want to montior address you can use my service https://apicoin.io this is one of the features and I can help you add it if you want.
Bungeebones (OP)
Full Member
***
Offline Offline

Activity: 178
Merit: 100



View Profile
April 10, 2014, 12:53:25 AM
 #3

That is not a bad offer and looks like a valuable service. For the amount of effort to learn this I'd say it is well worth it. But I am planning something where I'll need to also monitor bitmessage and probably namecoin too. So I'll get some extra mileage out of the learning curve investment.

For bitmessage I'll want to monitor the addresses, parse the data for certain tags, and then save the contents to a data base.

I'm not sure exactly how or if I'll do similar with name coin but it would be along the lines of using it to grant entry/license type privileges.
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
April 10, 2014, 01:26:00 AM
 #4

That is not a bad offer and looks like a valuable service. For the amount of effort to learn this I'd say it is well worth it. But I am planning something where I'll need to also monitor bitmessage and probably namecoin too. So I'll get some extra mileage out of the learning curve investment.

For bitmessage I'll want to monitor the addresses, parse the data for certain tags, and then save the contents to a data base.

I'm not sure exactly how or if I'll do similar with name coin but it would be along the lines of using it to grant entry/license type privileges.

Well armoryd is very alpha and I would not recommend it being put in a production. So I would recommend for bitcoin, is to just use bitcoind with txindex=1 and just checking each block and transaction for the addresses you are looking for this will require some strong CPU and ram, but only way I can think of doing it.

This should work for namecoin as well.
Bungeebones (OP)
Full Member
***
Offline Offline

Activity: 178
Merit: 100



View Profile
April 10, 2014, 01:32:45 PM
 #5

Hi,

I've got plenty of cpu and memory but can't the search be limited to the most recent blocks too? Doing that probably wouldn't be that hard on resources. What I am thinking is to have  users that are sending in a payment also submit a form through php/mysql. That form would cause the start of the search of the blockchain until it is found and confirmed. The search would only run for a certain time after a form is submitted.. The form would only be accessible after logging in.

gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
April 10, 2014, 04:21:29 PM
 #6

Hi,

I've got plenty of cpu and memory but can't the search be limited to the most recent blocks too? Doing that probably wouldn't be that hard on resources. What I am thinking is to have  users that are sending in a payment also submit a form through php/mysql. That form would cause the start of the search of the blockchain until it is found and confirmed. The search would only run for a certain time after a form is submitted.. The form would only be accessible after logging in.

No just use blocknotify and use a command to a program to search the blocks. But that isn't the issue, the blocks are so big now that they just take a while to search.
Bungeebones (OP)
Full Member
***
Offline Offline

Activity: 178
Merit: 100



View Profile
April 11, 2014, 09:27:18 PM
 #7

I just found a long thread about the core developers work in this area. My hat's off to those guys! Awesome workers!

It starts here - https://github.com/bitcoin/bitcoin/pull/2121

then here - https://github.com/bitcoin/bitcoin/pull/2861

and then again https://github.com/bitcoin/bitcoin/pull/3383

and finally - https://github.com/bitcoin/bitcoin/pull/4045

To summarize, it sounds like they are very close to enable using ROC to detect changes to watch-only wallets.

I'd like to try 4045 but don't know how to install that over what I have now. I just installed bitcoind a few days ago but if I'm understanding what the developers are doing then their work is not part of the main code yet. But the watch-only capabilities is exactly what I need.
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!