Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: The Koolio on June 18, 2013, 03:44:19 AM



Title: Bulk Feathercoin Addresses?
Post by: The Koolio on June 18, 2013, 03:44:19 AM
Hi

Bit stuck on this one. I was wondering if anyone can help me find a script or dos command that would bulk create say 1000 FTC addresses per wallet into a listed spreadsheet or txt doc

Would really appreciate help on this one!

Koolio


Title: Re: Bulk Feathercoin Addresses?
Post by: TheSpiral on June 18, 2013, 04:02:37 AM
Hi

Bit stuck on this one. I was wondering if anyone can help me find a script or dos command that would bulk create say 1000 FTC addresses per wallet into a listed spreadsheet or txt doc

Would really appreciate help on this one!

Koolio

I just tried with novacoin and it worked.

Code: (address.bat)
@echo off
SET /A COUNT=0
:Top
novacoind getnewaddress >> address.txt
SET /a COUNT=%COUNT%+1
IF %COUNT% == 1000 Goto :End
Goto :Top

:End

Obviously just change "novacoind" to your feathercoin daemon, start up your daemon, start the script.

EDIT: it's pretty slow. But it works.

EDIT 2: If you want to name/label each, it's pretty simple. I'll do a couple examples.

Labels one at a time by number:
Code: (address.bat)
@echo off
SET /A COUNT=0
:Top
novacoind getaccountaddress %COUNT% >> address.txt
SET /a COUNT=%COUNT%+1
IF %COUNT% == 1000 Goto :End
Goto :Top

:End
^ Address label would be "1", "2", etc.

Labels 1000 with the same name, labels another 1000 with next name:
Code: (address.bat)
@echo off
SET /A COUNT=0
SET /A ROUND=1
:Top
SET /a COUNT=%COUNT%+1
novacoind getaccountaddress "Wallet %ROUND%-%COUNT%" >> address.txt
IF %COUNT% == 1000 (
SET /a ROUND=%ROUND%+1
SET /A COUNT=0
)
Goto :Top

:End
^ Address would be "Wallet 1-1", "Wallet 1-2"... "Wallet 1-1000", "Wallet 2-1", etc.