<p>You can try this utility called <a href="https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py" rel="nofollow">pywallet</a>. You don't need to run pywallet from the command line though - just put it in the same directory, do <code>import pywallet</code>, and you can use any of the functions in there. You should try running it from the command line first though, because it'll show you any missing dependencies.</p>

<p>Functions you might find interesting: </p>

<ul>
<li><a href="https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py#L1087" rel="nofollow"><code>create_new_wallet</code></a></li>
<li><a href="https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py#L673" rel="nofollow"><code>KEY.generate</code></a></li>
<li><a href="https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py#L1013" rel="nofollow"><code>update_wallet</code></a></li>
</ul>

CC BY-SA 3.0
2013-02-05T17:27:47.750Z
2013-02-05T17:27:47.750Z
Nick ODell
<p>For MultiBit you could use the command line utility called WalletTool that Mike Hearn wrote. You can use it to create bitcoinj wallets (which is what MultiBit uses). 
There is a description of it here:
<a href="https://bitcointalk.org/index.php?topic=43616.msg1451177#msg1451177">https://bitcointalk.org/index.php?topic=43616.msg1451177#msg1451177</a></p>

<p>You could wrap calls to it in your favourite scripting tool fairly easily I imagine. </p>

CC BY-SA 3.0
2013-05-26T17:19:30.383Z
And what about armory?? Also I can't even find WalletTool... link?
B T
CC BY-SA 3.0
2013-02-04T22:49:24.567Z
2013-02-04T22:49:24.567Z
jim618
<p>I'm considering working on a bitcoin project that will need to generate wallet files.  I'm not looking to create receipt addresses that a customer can send funds to for an existing wallet.  Instead, I need to generate numerous wallet files, each with preferably only 1 payment address, that can be distributed across multiple locations.</p>

<p>Can this easily be done from a daemon command or with an existing API?  If there is an API for this, any language is fine, though I would prefer Python.</p>

CC BY-SA 3.0
2013-02-04T22:38:15.253Z
Related: [pywallet](https://github.com/jackjack-jj/pywallet)
Nick ODell
CC BY-SA 3.0
2013-02-05T12:08:15.110Z
Thanks Nick ODell.  Post an answer and I'll give you a +1.
RLH
<wallet><wallet.dat><multibit><armory>
How can I generate wallet files for multibit or armory?
RLH
# How can I generate wallet files for multibit or armory?

(Asked by: username_0 on 2013-02-04)

I'm considering working on a bitcoin project that will need to generate wallet files. I'm not looking to create receipt addresses that a customer can send funds to for an existing wallet. Instead, I need to generate numerous wallet files, each with preferably only 1 payment address, that can be distributed across multiple locations.

Can this easily be done from a daemon command or with an existing API? If there is an API for this, any language is fine, though I would prefer Python.

**Tags:** wallet, wallet.dat, multibit, armory

> **Comments:**
> **username_1**: Related: [pywallet](https://github.com/jackjack-jj/pywallet)  
> **username_0**: Thanks username_1.  Post an answer and I'll give you a +1.  

---

## 2 answers

### Answer by username_2 on 2013-02-04. Score: 5 | Accepted answer

For MultiBit you could use the command line utility called WalletTool that Mike Hearn wrote. You can use it to create bitcoinj wallets (which is what MultiBit uses).
There is a description of it here:
<https://bitcointalk.org/index.php?topic=43616.msg1451177#msg1451177>

You could wrap calls to it in your favourite scripting tool fairly easily I imagine.

> **Comments:**
> **username_3**: And what about armory?? Also I can't even find WalletTool... link?  

---

### Answer by username_1 on 2013-02-05. Score: 3

You can try this utility called [pywallet](https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py). You don't need to run pywallet from the command line though - just put it in the same directory, do `import pywallet`, and you can use any of the functions in there. You should try running it from the command line first though, because it'll show you any missing dependencies.

Functions you might find interesting:

* [`create_new_wallet`](https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py#L1087)
* [`KEY.generate`](https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py#L673)
* [`update_wallet`](https://github.com/jackjack-jj/pywallet/blob/master/pywallet.py#L1013)


---

