How many wallets would you like to manage? The below approach will not scale very far; bitcoinj is not designed to host wallets en masse.
On 08/29/2017 09:55 AM, gherghe alexandru wrote: > Hello, > > I recently started studying Java bitcoinj library that I want to > integrate it into my current application. > > In my application I must handle multiple wallets for multiple users. > > From what I read into the documentation, it is recommended to use > WalletAppKit for handling wallet creation and the connection to the > blockchain. > > But I don't know if I can use the same WalletAppKit for storing multiple > wallets. > From what I see, I can add to the peerGroup wallet other wallets: > kit.peerGroup().addWallet(new Wallet(params)); > > But I'm not sure weather this is the good approach or not. > > Could you give me an advice regarding this matter ? > > Best regards, > Alexandru Gherghe > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to bitcoinj+unsubscr...@googlegroups.com > <mailto:bitcoinj+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.