Re: Web examples and bitcoinj version

2017-08-13 Thread vbarna
Ok, cool! I have never contributed to an open source project and I would really want to contribute with this one, which I believe is awesome. After summer holidays I'll help as much as I can updating the documentation. Kind regards. On Friday, August 11, 2017 at 8:12:48 PM UTC+2, Andreas

Re: Recover ECKey from Hex

2017-08-10 Thread vbarna
I think that I have answered my own question. I guess that it can be done like this: ECKey ecKeyFromHex = aWalletKitApp.wallet().findKeyFromPubKey(Utils.HEX.decode(hexPubKey)); However, I'm still wondering if the reason why there is not a method to do this directly (which to me, getting an

Re: Recover ECKey from Hex

2017-08-10 Thread vbarna
Actually, to compliment my last answer, I would like to add the way to recover they ECKey if it is a public only key: ECKey.fromPublicOnly(Utils.HEX.decode(hexPubKey) On Thursday, August 10, 2017 at 12:52:00 PM UTC+2, vba...@gmail.com wrote: > > I think that I have answered my own question. I

Re: Web examples and bitcoinj version

2017-08-09 Thread vbarna
As I said in my previous message, most of the examples in the website do not work. I am learning and working on the examples. Since I am already modifying the examples, I could share the modifications. So, is there a way that I could provide these modifications to update the examples in the

Web examples and bitcoinj version

2017-08-01 Thread vbarna
Dear all, I have recently started to play around with bitcoinj and I encountered the problem that the code examples in the website (https://bitcoinj.github.io) do not work straight away with bitcoinj 0.14.4. There are lots of classes and functions that are deprecated and some functions have

Recover ECKey from Hex

2017-08-09 Thread vbarna
Dear all, Is there a way that I can recover an ECKey from the hex? Kind of an inverse of ECKey.getPublicKeyAsHex. There is something similar with DeterministicKey.deserializeB58(base58,params). However, just base58 is accepted. Or may be there is an explanation why I should not be doing