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
- Send bitcoins to an address
- Receive Bitcoins from an address
- 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 :-)