It looks like you're already holding a DeterministicKey object. That object is already an ECKey!
On 05/31/2017 04:38 AM, Ramez Az wrote: > Hi, > > How can i create the ECKey object for the private key using any of the > below detail which is dumped from the Wallet. > > addr:miMTAPQuxpai7v78BcUXPbSSARAeNSyocL > hash160:1f1c50bc284fe7f987431448c973fdcc5b906998 (M/0H/1) > DeterministicKey{pub > HEX=022f0441b4f9a44e6ef083329b45320e5681fd1c661eda2761f4eabfc1240b1f76, > priv > HEX=29e73f9e560715c427964cb1fbbe0dc264e1e0bb460c9a3bd52c2d2624d423da, > priv WIF=cNzA1jjPHfxRNoXxP8JYfmfSFSVJGSoWayoqAeqfvuuxAEKN9jnu, > isEncrypted=false, isPubKeyOnly=false} > > > Thanks, > Ramesh A > > -- > 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.