Use Wallet.fromWatchingKeyB58() and supply your xpub. I'm currently not up to date on upub and ypub, but I'm pretty sure bitcoinj doesn't support those right now.
On 04/10/2018 03:28 PM, Tyga Christed wrote: > Create Wallet using "upub" and "ypub", and that wallet will be > "WatchingWallet(Without PrivateKey)", which only Receive Transactions > but can't send them until its sign from the Offline Wallet(With PrivateKey) > > On Saturday, April 7, 2018 at 1:57:17 PM UTC+5, Andreas Schildbach wrote: > > On 04/02/2018 01:02 AM, Tyga Christed wrote: > > How to create offline wallet for Android using bitcoinj, any > tutorial will be helpful, thanks. > > What exactly do you mean by "offline wallet"? What's your scenario? > > -- > 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 [email protected] > <mailto:[email protected]>. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
