spesmilo / spesmilo/electrum

Cannot estimate fees without recipient address

Open
#8,965 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Electrum doesn't allow fee estimation without having a recipient address.

At the same time, exchanges like https://Trocador.app and https://StealthiEX.io don't give you the recipient address until you input the exact amount you're sending.

But if I want to empty a UTXO, I don't know the exact amount until I have the fee estimation.

This is a chicken and egg problem.

This makes very difficult to empty UTXOs, leaving a lot of dust behind.

The solution is just to allow fee estimation without the address, assuming there is only one recipient address.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing Electrum's fee-estimation flow and how it handles a missing recipient address; confirm the behavior for emptying a UTXO and define completion as producing a fee estimate under the proposed single-recipient assumption without leaving avoidable dust.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
fintech-quant
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.