Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: aj5577 on August 15, 2017, 04:35:08 PM



Title: How to programmatically generate a list of addresses and private keys
Post by: aj5577 on August 15, 2017, 04:35:08 PM
I need to programmatically generate a bunch of bitcoin addresses and the private keys to them. Later on I am going to fund them with bitcoin.

What are some APIs or libraries I can use to perform this task? I've looked on google but I can't seem to find something that can do this cleanly/easily.


Title: Re: How to programmatically generate a list of addresses and private keys
Post by: cr1776 on August 15, 2017, 05:40:27 PM
I need to programmatically generate a bunch of bitcoin addresses and the private keys to them. Later on I am going to fund them with bitcoin.

What are some APIs or libraries I can use to perform this task? I've looked on google but I can't seem to find something that can do this cleanly/easily.

Have you read about HD keys?

e.g.
https://en.bitcoin.it/wiki/Deterministic_wallet
https://en.bitcoin.it/wiki/Deterministic_wallet_tools


Title: Re: How to programmatically generate a list of addresses and private keys
Post by: craZyLovE0916 on August 15, 2017, 06:41:05 PM
I need to programmatically generate a bunch of bitcoin addresses and the private keys to them. Later on I am going to fund them with bitcoin.

What are some APIs or libraries I can use to perform this task? I've looked on google but I can't seem to find something that can do this cleanly/easily.

Use Bitaddress.org offline.

You can generate randomness with your mouse, and turn off your internet before going to the site so no one can steal your keys.

You can make tons of addresses very fast that way.


Title: Re: How to programmatically generate a list of addresses and private keys
Post by: efeaydin on August 15, 2017, 06:42:03 PM
You can use NBitcoin if you want to do it with C#.


Title: Re: How to programmatically generate a list of addresses and private keys
Post by: samson on August 15, 2017, 09:10:33 PM
Learn to use crypto libraries and follow the standard procedure, it's not rocket science but there are multiple steps to doing this.


Title: Re: How to programmatically generate a list of addresses and private keys
Post by: xcbtrader on August 15, 2017, 10:13:32 PM
I need to programmatically generate a bunch of bitcoin addresses and the private keys to them. Later on I am going to fund them with bitcoin.

What are some APIs or libraries I can use to perform this task? I've looked on google but I can't seem to find something that can do this cleanly/easily.

Hello.

See my github:

https://github.com/xcbtrader (https://github.com/xcbtrader)


Title: Re: How to programmatically generate a list of addresses and private keys
Post by: genesis.vision on August 16, 2017, 02:25:57 PM
Well, in Clojure the best library is bitcljoin: https://github.com/pelle/bitcljoin

It retrieves balances, sends transactions and etc. Just my 0.02$