Author

Topic: Electrum disable use change address without UI. (Read 186 times)

legendary
Activity: 3724
Merit: 1586
September 08, 2018, 07:05:20 PM
#3
It's in the wallet file.  use_change = false. You can add it using jq:

Code:
jq ". + {use_change:false}" wallet_file
legendary
Activity: 1624
Merit: 2481
What do you want to achieve?
A transaction often contains a change address. I think disabling this setting does send the remaining coins 'back to the same address' ( means: sending address = change address).

If that's what you want to achieve with the command line, you'll have to built the transaction yourself with the paytomany command.

In your terminal:

Code:
electrum paytomany -F  -c  -f  


Note that you'll have to calculate the output + fee by hand prior executing this command if you are doing it this way.
Your fee simply is Input - Output(s).


That would be my first approach using the command line.
There is no option to disable change addresses. At least not that i am aware of.. 
newbie
Activity: 10
Merit: 0
Hello!
This is very easy to disable change address with UI. But I do not have UI where is a file with this setting located?
https://i1.wp.com/cryptorials.io/wp-content/uploads/2016/01/electrum-preferences.png?resize=300%2C239
Jump to: