Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: ferman on March 12, 2015, 10:25:18 AM



Title: Any chance to generate multiple Addresses?
Post by: ferman on March 12, 2015, 10:25:18 AM
Hi guys,
im using C#.NET or ASP.NET doesnt matter. But i need to generate a few addresses in same time. For example i ll generate 10 addresses in one script. And then i ll use them later. One by one in another scripts.
Is there any doc you know? or any algorithm?
thanks for now


Title: Re: Any chance to generate multiple Addresses?
Post by: chanz on March 12, 2015, 10:36:41 AM
For .NET platform check out NBitcoin by Nicolas Dorier. You can easily do that in it he also have a book written on it.
https://bitcointalk.org/index.php?topic=575142.0


Title: Re: Any chance to generate multiple Addresses?
Post by: ferman on March 12, 2015, 10:48:48 AM
For .NET platform check out NBitcoin by Nicolas Dorier. You can easily do that in it he also have a book written on it.
https://bitcointalk.org/index.php?topic=575142.0
thanks man. this is what i am looking for. i think this enough for my project. for now :)


Title: Re: Any chance to generate multiple Addresses?
Post by: chanz on March 12, 2015, 10:53:11 AM
For .NET platform check out NBitcoin by Nicolas Dorier. You can easily do that in it he also have a book written on it.
https://bitcointalk.org/index.php?topic=575142.0
thanks man. this is what i am looking for. i think this enough for my project. for now :)

Not a problem man, also that's the book he wrote : Blockchain Programming in C# (Part 1) (http://blockchainprogramming.azurewebsites.net/). If you still hit any wall PM me i'm almost at the end will help you for sure.  :)


Title: Re: Any chance to generate multiple Addresses?
Post by: nambich on March 26, 2015, 06:23:34 PM
im using C#.NET or ASP.NET doesnt matter. But i need to generate a few addresses in same time.
For example i ll generate 10 addresses in one script. And then i ll use them later. One by one in another scripts.
Is there any doc you know? or any algorithm?


Title: Re: Any chance to generate multiple Addresses?
Post by: emrebey on March 26, 2015, 08:24:43 PM
bitcoind RPC is just enough for that. I think most of the popular languages has a wrapper (library) for communicating with it.


Title: Re: Any chance to generate multiple Addresses?
Post by: jonnybravo0311 on March 27, 2015, 05:56:02 PM
im using C#.NET or ASP.NET doesnt matter. But i need to generate a few addresses in same time.
For example i ll generate 10 addresses in one script. And then i ll use them later. One by one in another scripts.
Is there any doc you know? or any algorithm?
WTF?  Did you just copy and paste the OP?  I mean, word for word... lol.  Try reading the replies... they provide the answers.


Title: Re: Any chance to generate multiple Addresses?
Post by: wslh on April 02, 2015, 10:15:21 PM
If you are using bitcoind the getnewaddress (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list) command returns you a new one.

If you want to speed up this process you can pregenerate addresses using keypool (https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File) in the bitcoin.conf or passing the keypool option to bitcoind with the number of addresses to be pregenerated.