Post
Topic
Board Electrum
Merits 6 from 2 users
Re: Electrum: How to generate many recipient addresses?
by
bob123
on 21/12/2018, 11:20:59 UTC
⭐ Merited by bitmover (5) ,mocacinno (1)
You can use your watch-only (online) wallet to create addresses whenever you need them.

The master public key (xpub) is all what is needed to generate addresses. You don't need to access your offline wallet just to create new receiving addresses.


And to finally answer your question, you can generate X addresses by entering this command into the electrum console:

Code:
for i in range (X): print (wallet.create_new_address(False))


Obviously you have to replace X by the amount of addresses you want to generate.


For a single address:
Code:
print (wallet.create_new_address(False))