Bitcoin Forum
May 10, 2024, 01:41:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: watching-only version of existing wallet via text or stdio interface  (Read 1399 times)
John Tate (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 01, 2015, 11:59:12 AM
Last edit: March 01, 2015, 12:40:53 PM by John Tate
 #1

I have the electrum client installed on a headless system. I want to creating a watching only version of an existing wallet, as mentioned on the tutorials page. It seems this feature is only supported from the GUI. I am wondering how I can go about doing this from the text or stdio interface. This is so that I can use the client on a server to generate addresses by having a script communicate with it through stdio. I am a bit lost on how to achieve this but I really need it done.

Doing what the tutorial says doesn't work either when using the GUI. It simply exits are choosing to create a watching only version of an existing wallet.
1715305274
Hero Member
*
Offline Offline

Posts: 1715305274

View Profile Personal Message (Offline)

Ignore
1715305274
Reply with quote  #2

1715305274
Report to moderator
1715305274
Hero Member
*
Offline Offline

Posts: 1715305274

View Profile Personal Message (Offline)

Ignore
1715305274
Reply with quote  #2

1715305274
Report to moderator
1715305274
Hero Member
*
Offline Offline

Posts: 1715305274

View Profile Personal Message (Offline)

Ignore
1715305274
Reply with quote  #2

1715305274
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715305274
Hero Member
*
Offline Offline

Posts: 1715305274

View Profile Personal Message (Offline)

Ignore
1715305274
Reply with quote  #2

1715305274
Report to moderator
1715305274
Hero Member
*
Offline Offline

Posts: 1715305274

View Profile Personal Message (Offline)

Ignore
1715305274
Reply with quote  #2

1715305274
Report to moderator
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
March 01, 2015, 05:34:52 PM
 #2

You can use libraries to generate addresses from a given master public key:

Electrum 1.9.8: https://github.com/prusnak/addrgen
Electrum 2.0: https://github.com/Bit-Wasp/bitcoin-lib-php  & https://github.com/vbuterin/pybitcointools

An example:

https://bitcointalk.org/index.php?topic=900327.0

Otherwise if you want to use electrum directly it has a command line interface:

Code:
electrum getmpk #display master public key
electrum help getmpk #help on how get master public key
electrum help #all help

I don't quite understand what you mean about it exiting when you try to do a restore. It shouldn't exit. It probably hasn't been installed correctly.

John Tate (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 02, 2015, 12:09:10 PM
 #3

I installed it to the exact specifications on the website. I'm am thinking the issue might be related to Fedora's hobbled OpenSSL. So I am going to try it on Debian and see how it goes. Though everything else works.

Edit: Yes, this is an issue with Fedora 21's limited OpenSSL support. One would have to build their own OpenSSL, and compile python for it to use electrum on that distribution. It is working fine on Debian. There are issues with cryptocurrency in general on these operating systems.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
March 03, 2015, 04:22:38 AM
 #4

Not familiar with fedora 21 so I can't help you with that. What I can say is that, in case you haven't already done so, if you launch electrum from the console it will spit out error messages when it crashes and those error messages can help with the diagnoses.
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!