Electrum console commands?

1

I need 2 commands for electrum

To create X amount of addresses to export those addresses to word or just be able to copy them

Romano Streel

Posted 2018-06-10T09:38:09.250

Reputation: 11

Answers

1

x=10

for thing in range(0,x): wallet.create_new_address()

listaddresses(True,False,False,False,True)

A guide about console commands is here. Thanks to @RichApodaca for pointing that out.

Another resource is the code itself. For example you can see the function declaration for listaddresses here which tells you what all those boolean args are for. In the above case it only outputs unused addresses in the external (receive) chain.

Abdussamad

Posted 2018-06-10T09:38:09.250

Reputation: 1 850

Can you add some explanation/links to official documentation? The code alone, while possibly correct, is not a helpful answerRaghav Sood 2018-06-11T13:44:27.010

@RaghavSood This page talks about how to use the console, and documents built-in functions: https://bitzuma.com/posts/an-introduction-to-the-electrum-python-console/ You can enter the code into the console.

Rich Apodaca 2018-06-11T23:35:42.220