Bitcoin Forum
May 05, 2024, 03:22:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Electrum CLI multiple wallets on: September 06, 2018, 02:48:44 AM
Hey guys, I'm looking for a way to run two wallets on the same server at the same time.
I know the electrum GUI supports two wallets at once, how do you manage two wallets with the same CLI?

I've tried to create a new wallet on the same daemon using the CLI, but it just returns with this error:

Code:
Error: Remove the existing wallet first!

I've seen some solutions online say to remove the old wallet first to solve the error above, but doesn't that means that i'll only have access to one wallet at a time?
I was thinking to run two daemon instances, since it seems that each daemon can only support one wallet. But I'm not sure how to go about doing that.


Any help would be greatly appreciated.
2  Bitcoin / Electrum / Electrum exec createnewaddress requires password on: August 17, 2018, 06:57:30 AM
I'm trying run an Electrum wallet through an ec2 instance to receive Bitcoins.

So I've created a ec2 instance on AWS running the amazon linux AMI and installed Electrum.

I noticed that some other commands have the -W option to let me fill in the password like getprivatekeys:
 
Code:
electrum --testnet getprivatekeys -W $password 
but, there are a few commands that do not have an option for me to input the password.

After creating an API to call exec() to help create new addresses, it worked for about a day (around 40-50 calls) and then now it requires me to input my password through the stdin every time I call the command:
Code:
electrum --testnet createnewaddress


Is there a way for me to call the commands in Electrum and input the password with one command? Does anyone know why the command suddenly requires a password?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!