Support for electrum daemon/cli
I am integrating electrum daemon into a project and I would like to be able to use coinjoins. Correct me if I am wrong but from my understanding the current web-gui and cmdline require running a bitcoin node to use. I would like to be able to use a light wallet cause of space requirements. Looking at the plugin code to implement this would require moving core functionality out of qt.py and into its own file under a joinstr plugin class, joinstr could then inherit this class in qt.py and cmdline.py. This would then allow joinstr to register hooks for qt and cmdline in their own files, as joinstr wouldn't want to do qt related hooking inside cmdline.py. \__init_\_.py could then import the plugin_command decorator from electrum.commands, using the joinstr plugin class as a type parameter, and expose functionality of joinstr through jsonrpc and command line. Labels, nwc, and swapserver plugins in electrum all do implementation this way for examples.
issue