Questions tagged [electrum]

Electrum is a lightweight Bitcoin client written in Python

127 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
248 views

Simulating -walletnotify option in Electrum

When run in daemon mode, bitcoind accepts a parameter -walletnotify=<cmd> which runs <cmd> whenever a wallet transaction changes due to sending/receiving. Is there a similar feature in ...
Mr. Llama's user avatar
  • 141
3 votes
2 answers
351 views

In Electrum, how does one watch/poll a wallet for an incoming payments to a certain address via API?

I want to create a simple way to accepting bitcoins on my own, using Electrum. I don't except big volume. I suppose, I'd have at most a handful of incoming payments in the beginning. That is, I ...
zirnamaraji's user avatar
3 votes
0 answers
464 views

Electrum Seed Purpose for MultiSig Wallet

I'm curious as to what exactly is protected by the seed that Electrum generates for a multisig wallet. My knowledge of the protocol implementation is rather basic, so please correct me where I'm wrong ...
John Dorian's user avatar
3 votes
0 answers
5k views

Electrum transaction still says unconfirmed parent

A transaction from Electrum is still showing unconfirmed parent even though the previous transaction in the chain has completed. Electrum has shown this for 24 hours now. I realize that my fee is ...
Megarano's user avatar
3 votes
0 answers
182 views

Electrum via command-line: can generic blockchain info be requested?

For example can I ask the Electrum client via it's API what the height or version of the latest block is? Looking through the docs all I currently see is wallet commands.
pinhead's user avatar
  • 5,144
3 votes
0 answers
249 views

Electrum - Why do I have to Restore every time I use it?

I did not forget my password. I have been done dozens of transactions with Electrum, and every time I try to send bitcoins, I get "Invalid Password". So I restore from seed, set a new password, use it ...
David Klausa's user avatar
3 votes
0 answers
408 views

Is it possible to import transaction history from an old electrum wallet to a new electrum wallet?

I see there is an option to export history but no option to import history. It would be nice to keep all my history in one wallet. Thx.
CapR's user avatar
  • 31
2 votes
0 answers
53 views

How does Electrum's "send change to lightning" work?

In Electrum, when sending to a non-Lightning ₿ address, I can choose the "send change to lightning" option. How does this work?
Geremia's user avatar
  • 4,626
2 votes
0 answers
57 views

How to get transaction fee info using Python from an Electrum server?

I can get a raw transaction and parse it using electrum and bitcoinlib fairly easily: import bitcoinlib from electrum.daemon import Daemon from electrum.simple_config import SimpleConfig class ...
moblie's user avatar
  • 121
2 votes
0 answers
30 views

listaddressgroupings or dumpwallet? I need to dump private keys from Bitcoin-QT

I have a Bitcoin-QT wallet and the client is more than a year out of sycn. It would take years and massive amount of data to get it synced so, this is out of the question. My plan was to move my coins ...
UuestGser's user avatar
2 votes
2 answers
225 views

Electrum load_wallet through json-rpcs does not accept "wallet" parameter

When calling load_wallet through json-rpc, using "wallet" param with a path to the wallet throws an error: Commands.load_wallet() got an unexpected keyword argument 'wallet' In the same ...
Meglio's user avatar
  • 289
2 votes
1 answer
527 views

Mempool docker unable to connect to electrum server

I'm having a problem with "connecting" my mempool.space to electrumX server. My bitcoin core is working fine, electrumX server is fine as well and up to chaintip. I've installed docker and ...
son_of_satoshi's user avatar
2 votes
0 answers
204 views

How to use `blockchain.scripthash.subscribe` from a tcp socket in Electrum server

As a personal exercise I want to write a minimal copy of BTCPayServer. I decided to use Electrum server instead of a node to fetch information from the network. My final goal is to be able to track ...
Andrés's user avatar
  • 121
2 votes
0 answers
431 views

How to connect to an ElectrumX server using JavaScript WebSockets?

I'm trying to connect to an ElectrumX server from an HTML webpage. But I can't get a working connection. I've tried with many servers from Electrum's servers.json list but none worked. Here's the ...
M.K. Safi's user avatar
  • 143
2 votes
0 answers
470 views

Step by Step to Connect to ElectrumX via Nodejs

I am developing a simple app that will need to retrieve BTC wallet Address Balance and relative transactions Initially I thought to use some existing APIs (btc.com, blockchain.com etc.), but the ...
FiNaR's user avatar
  • 21
2 votes
0 answers
1k views

Intermittent error "min relay fee not met" even with decent fee and custom Electrumx+Bitcoind

I have an automated system that sends BTC payments via Electrum for a client. Now, it happens again and again that payments keep failing with "min relay fee not met" (RPC call failed: {"code":-32603,"...
CherryDT's user avatar
2 votes
1 answer
210 views

I can't send a transaction from electrums cli

I am trying to send a transaction in the cli using electrum with the command ~$ electrum --testnet payto mvYrQck9VfujSanmwvQxiLab3fLuywGdvh 0.01 -f 0.002 Password: (I entered the correct password ...
John Lee's user avatar
2 votes
0 answers
460 views

What is the smallest ubuntu virtualbox image to run cryptocurrency software on?

I'm looking to do all my crypto related stuff like storing coins and managing my coin wallets inside a virtualbox. I plan to use ubuntu as it seems most friendly with many crypto coins. What is the ...
Patoshi パトシ's user avatar
2 votes
0 answers
2k views

Electrum error "server did not answer" when trying to send?

I am now getting this error. Several sites discuss it, but they are all fairly old. I have restarted electrum, and restarted the computer. Selecting a different server either doesn't help, or it ...
juggler's user avatar
  • 121
2 votes
0 answers
928 views

How is the transaction fee for sending bitcoins using Electrum wallet calculated ?

I am trying to understand how is the fee for transaction calculated for desktop wallets like electrum.
Gaurav Sarma's user avatar
2 votes
0 answers
2k views

Extract private keys from litecoin-qt wallet.dat file

I used litecoin-qt back in 2014, and used the backup feature, which gave me a wallet.dat file... Now i want to extract the private key from the wallet.dat file so it can be used in electrum. I do not ...
Daniel Valland's user avatar
2 votes
0 answers
1k views

Bitcoins unconfirmed even after double spend

I'm very new to bitcoin and recently bought 0.066 bitcoins and transferred them to my electrum wallet. I then transferred them to another wallet but I set the fee too low (40Sat/b) and it was stuck in ...
user46511's user avatar
2 votes
1 answer
2k views

Electrum 2.7.9 setup never went through the password and seed setup, now I can't send coins

I installed the Electrum 2.7.9 wallet and it never went through the password and seed setup. I ended up with a default standard wallet. I then uninstalled the Electrum wallet and then reinstalled it. ...
duckman313's user avatar
2 votes
0 answers
170 views

Safety differences between full wallet encryption and only encrypting the private keys?

I'm a newcomer in the Bitcoin world and I wanted to ask the following questions regarding wallet security: What are the safety differences between fully encrypting the wallet.dat file and only ...
Anakhand's user avatar
  • 121
2 votes
0 answers
66 views

Does the electrum client decide the best chain on the basis of how much work was done, or how long the chain is?

Bitcoin Core compares blockchains based on how much work they contain, and not necessarily which one is longest. This is useful for preventing time warp attacks. This comment on HN says that the ...
Nick ODell's user avatar
  • 29.4k
2 votes
1 answer
275 views

Can I spend from multiple wallets in Electrum (or somehow import/merge them)?

Is it possible, in Electrum, to merge wallets, and or do a transfer using multiple wallet keys? I have some dust in a wallet and would like to get it out. I'm hoping I can easily incorporate it into ...
edA-qa mort-ora-y's user avatar
2 votes
1 answer
491 views

Why can't I use Electrum seed to recover my wallet on Trezor and Blockchain.info?

I wanted to use my BCH after the hard fork so I was going to import my wallet on Trezor or Blockchain.info since they support BCH (Electrum doesn't support BCH AFAIK) but it seems both Trezor and ...
IT-Fan's user avatar
  • 131
1 vote
0 answers
42 views

How to generate private key from 24-word mnemonic phrase? (Native Segwit)

When Googling, entire first page consists of people linking to online "calculators" (no thank you) or outdated bip39 code which no longer works. I have a 24 word seed phrase (from ledger ...
Cobie Fisher's user avatar
1 vote
1 answer
52 views

Can I read blockchain's information from Electrum's python console?

I wanted to use Electrum's python console, but the documentation just gives a few examples. Is there a more complete documentation about python commands inside Electrum ? Main tasks I currently want ...
ewen-goisot's user avatar
1 vote
0 answers
43 views

Electrum Wallet Backup and Restore process

I guess I have misunderstood something somewhere, because this process isn't working quite as I expected. I had electrum on one laptop which I am about to reset, but before doing so, I wanted to be ...
Mr.President's user avatar
1 vote
0 answers
75 views

Decrypting wallet

I'm seeking assistance with understanding the technical aspects of how Electrum wallets handle parsing errors and potential solutions for resolving them. My friend has encountered a recurring issue ...
Dirk's user avatar
  • 11
1 vote
0 answers
57 views

How to determine broadcast timestamp and confirmation timestamp for a given transaction id?

Given a transaction ID, how can I get: The timestamp that the transaction was first broadcast The timestamp that the transaction was first confirmed In this case, I sent the transaction -- so I have ...
Michael Altfield's user avatar
1 vote
0 answers
28 views

In which format (format, not cypher algo.) does Electrum encrypt its files?

Electrum wallet encrypts its files using the AES-256-CBC algorithm, but in which format does it encrypt files? (I mean, what headers, vectors, checksums etc. it adds and where?) By format I mean ...
Dan's user avatar
  • 191
1 vote
0 answers
117 views

In electrum, how do I set --testnet by default via setconfig?

As part of a Docker container, I am pre-configuring the Electrum daemon with using setconfig in offline mode. How do I set --testnet by default as a configuration?
Meglio's user avatar
  • 289
1 vote
1 answer
315 views

Import the seed phrases generated in Electrum

To which wallets can I import the seed phrases generated in Electrum?
arminmarino's user avatar
1 vote
0 answers
79 views

Is it possible to generate SegWit bc1 public/private key pair using Electrum command line?

I am looking for a way to generate SegWit bc1 public/private key pair that one can use as a paper wallet. Thanks for helping out!
sunknudsen's user avatar
1 vote
0 answers
106 views

Electrum 4.2.1 GUI - Console payto error

I am using Electrum 4.2.1 GUI. I have tried using command payto in console and got the error below. What I can do? Is there any new command for this version or I am missing configuration? >>> ...
kng's user avatar
  • 21
1 vote
0 answers
27 views

How to change device label in Electrum?

Say one has a multi-sig Electrum wallet created using Electrum and two Trezor devices… can one change Trezor labels to COLDCARD labels without connecting COLDCARD devices (referring to device labels, ...
sunknudsen's user avatar
1 vote
0 answers
310 views

How do you sign an unsigned transaction using Electrum in a multisig setup?

I am experimenting with multisig in testNet between Electrum and Caravan by Unchained Capital. I created a 2-of-2 multisig in Electrum with BIP 39 seeds. I then created a watch-only wallet in Caravan ...
FancyCookie's user avatar
1 vote
1 answer
237 views

Can't sign using Trezor T derived multisig wallet using Electrum | Invalid script_type

I created a P2WSH multisig wallet using Electrum 4.0.9 using a single Trezor T, to which I sent a large amount of BTC. Electrum allowed me to set up the wallet using the same device when I used two ...
Andrew Breedlove's user avatar
1 vote
0 answers
608 views

Sign psbt with software wallet. [electrum & others]

So I've been looking for days to sign a PSBT transaction but upon to all my research i failed or i just haven't searched in the right place. The PSBT content is generated from a payment gateway that I'...
4j4x00's user avatar
  • 11
1 vote
0 answers
78 views

How to confirm integrity of Electrum wallet created using BIP39 mnemonic?

Given paper backup of 24-word BIP39 mnemonic and passphrase, how can one confirm integrity of Electrum wallet given "Wallet" / "Seed" is greyed out?
sunknudsen's user avatar
1 vote
0 answers
50 views

Understand how wallet genereates keys

I'm trying to understand how keys are generated by wallets in details and what different approaches that are used. More specifically I'm interested in how Electrum does this and how the deterministic ...
Riri's user avatar
  • 111
1 vote
0 answers
148 views

Old Electrum wallet, encoded text document and non-functional seeds

I am trying to recover an old Electrum wallet that I used to use to buy "things" in college, circa 2016 or so. I remember having 10 to 30 dollars left in it back then that I never thought ...
user116682's user avatar
1 vote
0 answers
88 views

How to generate a very secure wallet with Electrum?

For a poor-mans glacier protocol, looking for: One private key – an alphanumeric string used to secure the funds The cold storage address – an alphanumeric string designating the virtual “location” of ...
Nicholas Saunders's user avatar
1 vote
0 answers
197 views

Having trouble finding wallet.dat

Where is the data folder for Bitcoin-Qt? Windows: %APPDATA%\Bitcoin (This defaults to C:\Documents and Settings\YourUserName\Application data\Bitcoin on Windows XP and to C:\Users\YourUserName\...
Right Way's user avatar
1 vote
0 answers
203 views

How to create, sign, and send a transaction using electrum wallet RPC

How to create, sign, and send a transaction using electrum wallet RPC ? I have experience create/sign/send a transaction using bitcoind wallet since I just have to using bitcoind RPC. But on electrum ...
Billy Adelphia's user avatar
1 vote
1 answer
801 views

Is it possible to use Electrum to create a multisig wallet with a trezor and an airgapped coldcard?

I set up a 2-of-3 multisig using Electrum, a Trezor, and a Coldcard. During testing, I ran into issues using the Coldcard to sign. My approach: (On Electrum) File -> New/Restore -> Multi-signature ...
paddy's user avatar
  • 195
1 vote
1 answer
324 views

How to access Electrum remotely via the rest api?

I am able to execute calls on the server from the server. When I say calls, I mean like this. I.e. I can get the latest addresses doing something like this: $ch = curl_init(); curl_setopt($ch, ...
rockstardev's user avatar
1 vote
0 answers
139 views

Does Electrum reveal a wallets public key to Electrum Servers?

When Electrum Bitcoin wallet queries a random Electrum Server does it send the public key to the server or does it send a batch of addresses to check? For instance, after setting up Electrum Personal ...
bar17's user avatar
  • 51