Bitcoin Forum

Bitcoin => Electrum => Topic started by: Silverbeard on July 19, 2016, 10:51:41 PM



Title: "Pay to many": Is there a way to spend all funds?
Post by: Silverbeard on July 19, 2016, 10:51:41 PM
Hello there,

I just love Electrum but I miss something: a way to spend all non-frozen funds when using "pay to many".

Input in the "pay to" field might look like this:

Code:
<bitcoin-address1>,<amount1>
<bitcoin-address2>,!

This would mean it sends the given amount to address1 and all the rest minus the calculated fee to address2 - is this possible to do with the current client or possible to implement?

Thanks in advance,

Silverbeard



Title: Re: "Pay to many": Is there a way to spend all funds?
Post by: BitcoinSupremo on July 22, 2016, 08:21:24 AM
Hello there,

I just love Electrum but I miss something: a way to spend all non-frozen funds when using "pay to many".

Input in the "pay to" field might look like this:

Code:
<bitcoin-address1>,<amount1>
<bitcoin-address2>,!

This would mean it sends the given amount to address1 and all the rest minus the calculated fee to address2 - is this possible to do with the current client or possible to implement?

Thanks in advance,

Silverbeard



I don't think this is possible and I just confirmed this is not possible to do in latest version of electrum 2.6.4 but I am sure the developers read this forum and I have seen them actives in here. I am backing up your idea and I also want to see this implemented in the next update of electrum if possible but I think this idea is very difficult to implement. I don't know any other wallets(desktop one who have this feature).
By the way if you want to spend all funds to send to a given address just put the ! in the amount box and you can spend all of your funds via Electrum.


Title: Re: "Pay to many": Is there a way to spend all funds?
Post by: Cereberus on July 23, 2016, 07:19:16 PM
Hello there,

I just love Electrum but I miss something: a way to spend all non-frozen funds when using "pay to many".

Input in the "pay to" field might look like this:

Code:
<bitcoin-address1>,<amount1>
<bitcoin-address2>,!

This would mean it sends the given amount to address1 and all the rest minus the calculated fee to address2 - is this possible to do with the current client or possible to implement?

Thanks in advance,

Silverbeard



Yes there is and this option is already implemented although not as specific as you are asking but it exists. Go to Tools-Pay to many and there you should use the format which electrum tells you to input.
Let me make you an example below:
bitcoin address , amount
bitcoin address 2, amount
bitcoin address 3, amount

And so on, put the comma directly after the bitcoin address and the amount you want to send to that specific address directly after the comma without pressing the space button.

Only 1 input per line so you can send to many addresses a different amount through one transaction. I think this is how signature campaign managers pay their users but not sure if this is what you were asking or not.