<p>I'm learning this as fast as possible for a project. However the documentation, I find is lacking and/or not super super clear.</p>

<p>That said, Using BitcoinJ, I would like to know how to do the following:</p>

<p><strong>1. Create a wallet</strong></p>

<ol start="2">
<li>Send bitcoins to an address</li>
<li>Receive Bitcoins from an address</li>
<li>Synchronize the transaction with the wallet I have on disk.</li>
</ol>

<p>For now, simply understanding how to CREATE the wallet. This involves the seed, etc... Ideally this can be via the WalletAppKit. But I'd like to learn either way of doing this as well. I know I can simply do: Wallet wallet = new Wallet(); BUT this feels inadequate. I should be providing it a seed or something more, which I'd be keeping private. </p>

<p>I added steps 2,3,4 above as these will be the other questions I need information on as I progress. For example, We'll say I already have a wallet. My app is offline, I then use an exchange and buy 1 bitcoin. When I start my app. How do I "synchronize" my wallet I have on disk, with the transaction that was performed. Thus Steps 3 and 4 might work hand in hand, since i'm receiving the bitcoins via "synchronizing", it means i'm receiving the bitcoins into my wallet which will then be saved to disk.</p>

<p>Once I know the answer on how to properly create the Wallet. I'll be curious what's the right way to send bitcoins to another address. Ie: WalletAppKit.wallet().SendTo, Should I be creating a transaction, or etc etc... But these can all be answered once I figure out the proper way for step 1.</p>

<p>Let me know if this is a bit more concise, and more detailed a question :-)</p>

<p>Thanks :D</p>

CC BY-SA 3.0
2016-04-01T13:04:19.567Z
*"Please explain how to create a wallet app with `bitcoinj`"* seems awfully broad for a single question post. Please isolate smaller topics and ask about them separately.
Murch
CC BY-SA 3.0
2016-04-02T20:30:10.917Z
Hey Murch :) I reworded it so it's primarily focused on question 1. However I will eventually be asking 2,3 and 4. But those are not mandatory to be answered unless someone ovbiously has time to answer it.

This would be specific to BitcoinJ/Java. I've seen a few ways to create a wallet, but i'm curious what people here feel is the correct proper way of creating the wallet.
Multiplexor
CC BY-SA 3.0
2016-04-02T21:15:28.793Z
I don't think it got much clearer, but if you want other users to vote on it, please use the "reopen" link to add your question to the reopen vote queue. – That said, I think the question could be improved by explaining what you would like to know, if `Wallet wallet = new Wallet()` doesn't do what you describe as "create a wallet".
Murch
<bitcoinj>
BitcoinJ - How to Create a wallet properly. (seeds, etc...)
Multiplexor
# BitcoinJ - How to Create a wallet properly. (seeds, etc...)

(Asked by: username_0 on 2016-03-30)

I'm learning this as fast as possible for a project. However the documentation, I find is lacking and/or not super super clear.

That said, Using BitcoinJ, I would like to know how to do the following:

**1. Create a wallet**

2. Send bitcoins to an address
3. Receive Bitcoins from an address
4. Synchronize the transaction with the wallet I have on disk.

For now, simply understanding how to CREATE the wallet. This involves the seed, etc... Ideally this can be via the WalletAppKit. But I'd like to learn either way of doing this as well. I know I can simply do: Wallet wallet = new Wallet(); BUT this feels inadequate. I should be providing it a seed or something more, which I'd be keeping private.

I added steps 2,3,4 above as these will be the other questions I need information on as I progress. For example, We'll say I already have a wallet. My app is offline, I then use an exchange and buy 1 bitcoin. When I start my app. How do I "synchronize" my wallet I have on disk, with the transaction that was performed. Thus Steps 3 and 4 might work hand in hand, since i'm receiving the bitcoins via "synchronizing", it means i'm receiving the bitcoins into my wallet which will then be saved to disk.

Once I know the answer on how to properly create the Wallet. I'll be curious what's the right way to send bitcoins to another address. Ie: WalletAppKit.wallet().SendTo, Should I be creating a transaction, or etc etc... But these can all be answered once I figure out the proper way for step 1.

Let me know if this is a bit more concise, and more detailed a question :-)

Thanks :D

**Tags:** bitcoinj

> **Comments:**
> **username_1**: *"Please explain how to create a wallet app with `bitcoinj`"* seems awfully broad for a single question post. Please isolate smaller topics and ask about them separately.  
> **username_0**: Hey username_1 :) I reworded it so it's primarily focused on question 1. However I will eventually be asking 2,3 and 4. But those are not mandatory to be answered unless someone ovbiously has time to answer it.  This would be specific to BitcoinJ/Java. I've seen a few ways to create a wallet, but i'm curious what people here feel is the correct proper way of creating the wallet.  
> **username_1**: I don't think it got much clearer, but if you want other users to vote on it, please use the "reopen" link to add your question to the reopen vote queue. – That said, I think the question could be improved by explaining what you would like to know, if `Wallet wallet = new Wallet()` doesn't do what you describe as "create a wallet".  

---

## 0 answers

