<p>Well...<br>
You could automate it using the JSON RPC and slowly work through the keys, however this will be kinda slow. If you actually need to work with 1 million keys, you may need to consider an alternative option.</p>

<p>What is it you need to do with the keys?</p>

CC BY-SA 3.0
2014-04-02T16:13:39.477Z
2014-04-02T16:13:39.477Z
Zoey Mertes
<p>I was wondering if there are ways to automate / mass private key import into the bitcoin client. Anyone knows of a command or has a script or an idea to share?</p>

<p>thanks. </p>

CC BY-SA 3.0
2014-06-02T07:40:37.047Z
Use the importwallet command. Try dumpwallet to see thr file format.
Pieter Wuille
<private-key>
How to import say 1million bitcoin privkeys in bitcoind / bitcoin-qt?
huahua
# How to import say 1million bitcoin privkeys in bitcoind / bitcoin-qt?

(Asked by: username_0 on 2014-03-27)

I was wondering if there are ways to automate / mass private key import into the bitcoin client. Anyone knows of a command or has a script or an idea to share?

thanks.

**Tags:** private-key

> **Comments:**
> **username_1**: Use the importwallet command. Try dumpwallet to see thr file format.  

---

## 1 answers

### Answer by username_2 on 2014-04-02. Score: 3

Well...  
You could automate it using the JSON RPC and slowly work through the keys, however this will be kinda slow. If you actually need to work with 1 million keys, you may need to consider an alternative option.

What is it you need to do with the keys?


---

