Author

Topic: How to programmatically populate fields in Electrum wallet. C# or vb.net remote. (Read 359 times)

legendary
Activity: 3612
Merit: 1564
electrum has a command line interface that you can use for automation. type `electrum help` in a terminal window to see what options are available.
legendary
Activity: 1736
Merit: 1023
A couple of you may know, from my own C# or vb.net program open and running next to electrum, how does one populate fields under the Send tab so I can set up quickly the Pay To, Description, Amount and Fee that already exist as data in my application, optionally would be nice to be able to check the Replaceable check box and possibly activate the Send button but doing those parts by hand would be a good pause for human verification of the "sent across" data.

I have a system that requires at times multiple transactions to be sent within a small time frame, filling these fields by hand with copy and paste gets very slow.

You could just have your app write the payment information to a file and load the file via Electrum. Not sure you would be able to specify the fee, but generally using Dynamic Fees is a better option anyhow and ReplaceByFee can be enabled in Preferences on a global basis if required.

Also, if the transactions don't need to be sent separately, you can always send to multiple addresses via a single transaction. You can write a list of all the addresses and payment amounts in a file and load it for ease of use.
newbie
Activity: 37
Merit: 0
A couple of you may know, from my own C# or vb.net program open and running next to electrum, how does one populate fields under the Send tab so I can set up quickly the Pay To, Description, Amount and Fee that already exist as data in my application, optionally would be nice to be able to check the Replaceable check box and possibly activate the Send button but doing those parts by hand would be a good pause for human verification of the "sent across" data.

I have a system that requires at times multiple transactions to be sent within a small time frame, filling these fields by hand with copy and paste gets very slow.
Jump to: