Bitcoin Forum
May 25, 2024, 02:07:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Any way to generate more address?  (Read 738 times)
escrow.ms (OP)
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
March 12, 2014, 11:49:15 PM
 #1

I Just started using lastest electrum version, I have 2 questions.

1. does it creates new address automatically?
2. Is there any way to generate 4-5 extra address?
btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
March 13, 2014, 04:19:36 AM
 #2

1. Yes https://electrum.org/faq.html#gap-limit
2. user the search form

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
March 15, 2014, 01:42:03 PM
 #3

1. Yes https://electrum.org/faq.html#gap-limit
2. user the search form

The FAQ says "Electrum uses a gap limit to stop looking for addresses, it is set to 5 by default, so the client get all addresses until 5 unused addresses are found."

It doesn't say HOW-TO actually increase the number of addresses.

Anyone?
dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
March 17, 2014, 07:00:41 PM
 #4

1. Yes https://electrum.org/faq.html#gap-limit
2. user the search form

The FAQ says "Electrum uses a gap limit to stop looking for addresses, it is set to 5 by default, so the client get all addresses until 5 unused addresses are found."

It doesn't say HOW-TO actually increase the number of addresses.

Anyone?

1. open console tab

2. type in "wallet.storage.put('gap_limit',x)" without quotes around it, and replace x with the number of addresses you want it to create for unused addresses. (ie. if you have 5 unused addresses now, and you want to make 3 more, set it to 8. From then on, every time you use an address, it will create a new one so that you always have 8 unused addresses showing.)

CAUTION: The way that Electrum works is to search for the balance in all addresses within the gap limit, so if you set the gap limit to 500, and use the 500th address to store bitcoin, you will have to set your gap limit to at least 500 every time you restore your seed, otherwise Electrum won't "see" your 500th address correctly. Because this is impractical, please use addresses in your Electrum wallet in the order that they were generated, and try not to increase your gap limit too high, as it will be cause for confusion in the future if you ever have to restore the wallet from seed.

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
jbrnt
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
March 17, 2014, 07:41:43 PM
 #5

1. open console tab

2. type in "wallet.storage.put('gap_limit',x)" without quotes around it, and replace x with the number of addresses you want it to create for unused addresses.

3. Close electrum and start it again. New addresses will not appear until after you restart
fireduck
Sr. Member
****
Offline Offline

Activity: 392
Merit: 251



View Profile
March 20, 2014, 10:31:05 PM
 #6

I Just started using lastest electrum version, I have 2 questions.

1. does it creates new address automatically?
2. Is there any way to generate 4-5 extra address?

You can generate more addresses outside of the electrum client if you want using the master public key.

Check out my web based address generator:
http://1209k.com/addrgen/

If you want a library that does it, (which is the one I use for that page):
https://github.com/prusnak/addrgen

I've found it very useful to be able to get new fresh addresses without opening up the client, especially for automation.

Bitrated user: fireduck.
saif92
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 20, 2014, 10:36:49 PM
 #7

I am also using now electrum and thinking about new addresses its very helpful thanks for all this

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!