|
February 15, 2013, 04:34:14 PM |
|
The upcoming version of Electrum (1.7) will include an interactive python console. Wallet and Blockchain objects can be accessed through it. The goal is to make command-line functions accessible through the gui, but also to make Electrum fully scriptable.
Of course, this is a long-term goal; for the moment, the wallet code and methods needs to be cleaned, and users needs will need to be assessed. Thus, if you write scripts now, they will probably not be compatible with future versions, and will need to be adapted from time to time.
The risk of losing your money in a console misuse is minimal; I believe it is actually lower than the risk of accidentally deleting your wallet when you manage your files. Since Electrum is a deterministic wallet, that risk is mitigated by the possibility to recover your wallet from seed.
However, we will also need to deal with the possibility that some users write and distribute malicious scripts. That risk is probably more important. To deal with it, I guess we could create a kind of official repo for "reviewed" scripts, and populate it progressively with user contributions.
|