Bitcoin Forum
May 11, 2024, 12:14:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum Python Console  (Read 1958 times)
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
February 15, 2013, 04:34:14 PM
 #1

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.

Electrum: the convenience of a web wallet, without the risks
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715386471
Hero Member
*
Offline Offline

Posts: 1715386471

View Profile Personal Message (Offline)

Ignore
1715386471
Reply with quote  #2

1715386471
Report to moderator
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
February 16, 2013, 02:57:14 AM
 #2

Looking forward to it!  I wrote a script for generating bitcoin bills that can probably be way cleaned up once this is stable.

crazy_rabbit
Legendary
*
Offline Offline

Activity: 1204
Merit: 1001


RUM AND CARROTS: A PIRATE LIFE FOR ME


View Profile
March 10, 2013, 10:22:42 PM
 #3

This should allow us in theory to develop web applications on top of Electrum, no? I'm looking forward to this.

more or less retired.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!