Author

Topic: Electrum CLI multiple wallets (Read 241 times)

brand new
Activity: 0
Merit: 0
September 07, 2018, 09:53:59 AM
#3
Since the one who propose/create the BIP 174 is moderator in this forum, you'll get your answer soon. Also, i wonder if this BIP compatible with Schnorr Signature/Signature aggregation?
newbie
Activity: 4
Merit: 2
September 05, 2018, 10:35:51 PM
#2
So I've figured it out.

You can create a new wallet by adding a wallet address to the command like so:

Code:
electrum --testnet create -w ~/.electrum/testnet/wallets/myNewWallet

Then load the wallet onto the daemon (one electrum instance can run multiple wallets)

Code:
electrum --testnet load_wallet -w ~/.electrum/testnet/wallets/myNewWallet

Now you can run all the commands with either wallet like so:

Code:
electrum --testnet getbalance -w ~/.electrum/testnet/wallets/myNewWallet
electrum --testnet getbalance -w ~/.electrum/testnet/wallets/myOldWallet
newbie
Activity: 4
Merit: 2
September 05, 2018, 09:48:44 PM
#1
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.
Jump to: