Author

Topic: Is it possible to send commands to the Electrum Console through a Python script? (Read 747 times)

legendary
Activity: 3682
Merit: 1580
You can paste multiple keys into the import key text field. One line per key.
member
Activity: 109
Merit: 10
USA TRUMP USA TRUMP USA TRUMP
Alternatively, you can write your own python module that calls electrum functions, import it in the console and call it.

How can I import my module with the Electrum console? I tried changing the path to the script's directory and importing it, but it says the module doesn't exist.
sr. member
Activity: 340
Merit: 250
GO http://bitcointa.lk !!! My new nick: jurov
I have successfully used RPyC ( http://rpyc.readthedocs.org ) for this - in electrum console, import rpyc and start the server. Then when you connect with rpyc client from other python script, you can call any function in running electrum process.

Alternatively, you can write your own python module that calls electrum functions, import it in the console and call it.
member
Activity: 109
Merit: 10
USA TRUMP USA TRUMP USA TRUMP
I have a long list of private keys and I need to add them to my Electrum wallet. Instead of adding them one by one, I tought to use Python because it could do the work much much faster. Is there a way to do that?
Jump to: