The wallettemplate sub-project uses WalletAppKit and implements full backup and restore via mnemonic code. I recommend having a look at that.
On 12/03/2019 18.46, Ben Moore wrote: > I am attempting create a wallet recovery function in my application > which utilises the WalletAppKit's restoreWalletFromSeed() function, the > function doesn't throw any errors and the application downloads the > blockchain correctly but afterwards the balance is still 0 even if I > have sent test coins to the wallet before restoring it. Can someone > provide an example of how to do this or am I misunderstanding the use of > restoreWalletFromSeed? As I understand it, it is for if you potentially > lose the device, your coins are stored on you could recover the wallet > on another device provided you have the mnemonic key and the date and > time it was created. |||| > > -- > 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.